Delete balance
DeleteBalance¶
Description: Requests deletion of a balance finance transaction.
Access Control¶
Requires del_accounts_balance for manager/dealer sessions. The target finance transaction account must also match the manager groups and brand scope loaded from the cached manager record. Token payload is used only for manager id and session type.
Request Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
| order | int | Yes | Finance transaction order ID |
Request Example¶
{
"order": 1242279
}
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¶
{
"accepted": true,
"order": 1242279,
"state": 12
}
Errors¶
| Code | Description |
|---|---|
| 400 | Invalid request payload |
| 401 | Delete operation was rejected |