Skip to content

MngUpdateCashierTransaction

Updates limited lifecycle and meta fields of an existing Cashier transaction.

This method is intended for BackOffice correction and manual review flows. It does not directly credit or debit a trading account.

Access

SESSION_MANAGER, SESSION_ADMIN, SESSION_DEALER, SESSION_CRM_MANAGER, SESSION_CRM_ADMIN.

Request Parameters

Name Type Required Description
id int Yes Cashier transaction id
status int No Transaction status, 0..9
failure_reason string No Failure reason, max 256 chars
comment string No Manager comment, max 512 chars
metadata_json string No Metadata JSON string

Request Example

{
  "command": "MngUpdateCashierTransaction",
  "extID": "1",
  "data": {
    "id": 15,
    "status": 9,
    "comment": "Waiting for provider settlement report"
  }
}

Response

Returns the updated transaction object.

{
  "transaction": {
    "id": 15,
    "customer_id": 5,
    "login": 2000009,
    "type": 0,
    "provider": "stripe",
    "method": "card",
    "provider_payment_id": "pi_123",
    "amount": 250.0,
    "currency": "USD",
    "account_currency": "USD",
    "converted_amount": 250.0,
    "conversion_rate": 1.0,
    "status": 9,
    "failure_reason": "",
    "idempotency_key": "0f9bb0e7-642d-4b70-b458-62e3993c7d2d",
    "comment": "Waiting for provider settlement report",
    "metadata_json": "{}",
    "created_time": 1779270000,
    "updated_time": 1779270200
  }
}

Notes

  • The update is applied to Cashier cache immediately.
  • SQLite synchronization is queued through the Cashier DB strand.
  • Use dedicated future Cashier methods for retry, cancel, refund, or crediting flows.