Skip to content

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.

Access Control

Requires decline_finance for manager/CRM sessions. The pending finance request account and linked customer, when present, must match the manager brand and desks 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 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
}