Categorize Transactions
This endpoint allows you to categorize your transactions using our machine learning model and merchant validation system.
POST Categorize Transactions
1
{{baseUrl}}/api/v1/ml/categorize_transaction
Copied!
Params
Curl
Response
Parameters
Type
Description
description required
string
The description of the transaction
trans_type required
string
Either debit or credit
1
curl -L -X POST '{{baseUrl}}/ml/categorize_transactions' \
2
-H 'Authorization: SECRET_KEY' \
3
-H 'AppId: APP_ID'
4
-H 'Content-Type: application/json' \
5
--data-raw '{
6
"description":"POS/WEB PURCHASE TRANSACTION -047608- -253842-MUNCHIES BY MOE OY OYNG ",
7
"trans_type":"debit"
8
}'
Copied!
1
{
2
"entity": {
3
"category": "Bill Payments",
4
"sub_category": "Others",
5
"service_id": 0,
6
"is_subscription": 0,
7
"duration": "",
8
"service_name": "",
9
"label": "Others",
10
"mode_of_payment": "web/pos"
11
}
12
}
Copied!
Last modified 11mo ago
Copy link