Update Transactions Category
POST
/public/v3/customers/{customer_id}/transaction_categorisation/{account_type}
Update transactions with new category id. Use this endpoint to change default transaction category classification.
Please obtain the right category_id from Categories endpoint
Parameter | Data type | Required? | Description |
---|---|---|---|
customer_id | string | yes | Customer ID |
account_type | string | yes | Account type: Personal or Business |
none
Parameter | Data type | Required? | Description |
---|---|---|---|
category_changes | Array | yes | An array of transaction lists for different categories |
category_id | string | yes | Category ID that you want to change transactions for |
transaction_ids | Array | yes | Array of transaction ids to change |
Parameter | Data type | Required? | Description |
---|---|---|---|
success | string | yes | Additional information about save status |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
curl --location --request PATCH 'https://api.friendlyscore.com/public/v3/customers/{customer_id}/transaction_categorisation/{account_type}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {access_token}' \
--data-raw '{
"category_changes": [
{
"category_id": "Cash Withdrawal",
"transaction_ids": [
"1367274",
"1367275"
"1367276"
]
}
]
}'
1
2
3
{
"success": "Saved"
}
Was this article helpful?
Friendly Score UK Ltd.
84 Brook Street
London W1K 5EH
Call us on +44 20 3709 6726
Company registered in England
Company number 09168668, ICO ZA111687
VAT registration number 206 9758 80
Authorised and Regulated by the Financial Conduct Authority. (FRN: 821100, 781963)