Delete credit
DeleteCredit
Description: Requests deletion of a credit finance transaction.
Request Parameters
| Name |
Type |
Required |
Description |
| order |
int |
Yes |
Finance transaction order ID |
Request Example
Response Parameters
In the raw TCP response envelope, the fields below are returned inside data.
| Name |
Type |
Description |
| accepted |
bool |
true when the command was accepted for processing |
| order |
int |
Finance transaction order ID |
| state |
int |
TS_FINANCE_DELETE_REQUEST (12) |
Response Example
{
"extID": "delete-credit-1",
"status": 200,
"data": {
"accepted": true,
"order": 1242281,
"state": 12
}
}
Errors
| Code |
Description |
| 400 |
Invalid request payload |
| 401 |
Delete operation was rejected |