Gando

Gando

Developer Portal

gando.app
All error codes

payment_not_cancellable

Partner API error

HTTP status: 409

Cause

Payment status does not allow cancellation (must be pending or draft) — it may have already succeeded, failed, or been cancelled.

Partner action

Only cancel payments that are still pending or draft. If the payment already succeeded, refund it instead of cancelling it.

Gando action (internal)

Guard POST /payments/{id}/cancel on payment.status, re-syncing from Inflow first if a sub-merchant payment id is known.

Example response

{
  "error": {
    "code": "payment_not_cancellable",
    "message": "Payment already succeeded, use refund",
    "requestId": "3f2b8c1e-5d4a-4e7b-9c1a-2b6d8e0f4a71"
  }
}
payment_not_cancellable — Partner API error catalog