Tag API
Introduction
The Tag API allows you to categorize your transactions. Tag information will be displayed on the Admin Panel, and you can filter transactions based on them. With the Tag API, you have the ability to get, add, update and delete tag information, all of which can also be done via the Admin panel.
Good to know
- You can create new tags by sending them via the API or adding them through the Admin panel.
- You can add a maximum of 50 tags to one transaction in a single request.
- One transaction can have a maximum of 100 tags.
- A single tag cannot exceed 256 characters in length.
- If you tag multiple transactions at once with the ‘Multiple’ tagging option, please add a maximum of 500 transactions to each request.
- Calling the update endpoints results in the removal and replacement of tags associated with the specified transactions.
Add request
Request Attributes | Type | Required | |
---|---|---|---|
tags | array | yes | |
HTTP Endpoint
Update request
Request Attributes | Type | Required | |
---|---|---|---|
tags | array | yes | |
HTTP Endpoint
Delete request
Request Attributes | Type | Required | |
---|---|---|---|
tags | array | yes | |
HTTP Endpoint
Add / update / delete response
The endpoint returns JSON structured response.
JSON Attributes | Type | |
---|---|---|
data | object | |
error | object | |
success | boolean | |
Response
Add request (multiple)
Request Attributes | Type | Required | |
---|---|---|---|
transaction_ids | array | yes | |
tags | array | yes | |
HTTP Endpoint
Update request (multiple)
Request Attributes | Type | Required | |
---|---|---|---|
transaction_ids | array | yes | |
tags | array | yes | |
HTTP Endpoint
Delete request (multiple)
Request Attributes | Type | Required | |
---|---|---|---|
transaction_ids | array | yes | |
tags | array | yes | |
HTTP Endpoint
Add / update / delete response (multiple)
The endpoint returns JSON structured response.
JSON Attributes | Type | |
---|---|---|
data | object | |
error | object | |
success | boolean | |
Response
Get all tags on a transaction - request
You must replace [transaction_id]
with your transaction_id
that you have provided during the Fraud API call or was generated automatically.
HTTP Endpoint
Get all tags on a transaction - response
The endpoint returns JSON structured response.
JSON Attributes | Type | |
---|---|---|
data | object | |
error | object | |
success | boolean | |
Response
Remove all tags from a transaction - request
You must replace [transaction_id]
with your transaction_id
that you have provided during the Fraud API call or was generated automatically.
HTTP Endpoint
Remove all tags from a transaction - response
The endpoint returns JSON structured response.
JSON Attributes | Type | |
---|---|---|
data | object | |
error | object | |
success | boolean | |