MngDeclineFinanceRequest¶
Moves a pending finance request from TS_FINANCE_OPEN_PENDING to TS_FINANCE_OPEN_DECLINE.
Declined requests are stored for CRM/PSP history and do not change balance or credit.
The transition is valid only from TS_FINANCE_OPEN_PENDING.
Request Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
order |
int | Yes | Finance request order |
comment |
string | No | Decline reason or visible comment |
api_data |
string | No | Optional external payload |
Request¶
{
"command": "MngDeclineFinanceRequest",
"extID": "1",
"data": {
"order": 1242300,
"comment": "Payment failed"
}
}
Response Data¶
{
"accepted": true,
"order": 1242300,
"state": 18,
"login": 100001,
"cmd": 6,
"amount": 250
}