Retrieve a payment
GET /gateway/payments/{id}
Required scope: payments:read.
Authoritative merchant detail. Verify order, environment, currency, recognized gross and risk before fulfillment; payout state is separate.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”Success
object
object
object
object
object
object
Snake_case lifecycle status. cancelled (explicit user/merchant cancel) is distinct from expired (time expiry).
Validation error
R15 canonical error envelope. Every 4xx/5xx JSON body carries these five keys, plus x-request-id header; 4xx machine fields (e.g. available_balance) merge in alongside and never shadow them.
object
Machine code (SCREAMING_SNAKE)
Example
VALIDATION_ERRORHuman-readable detail
Example
amount_ghs must be greater than zeroMirrors the x-request-id response header
True for 429/502/503/504 only; 400/401/403/404/409 are final
Invalid key
R15 canonical error envelope. Every 4xx/5xx JSON body carries these five keys, plus x-request-id header; 4xx machine fields (e.g. available_balance) merge in alongside and never shadow them.
object
Machine code (SCREAMING_SNAKE)
Example
VALIDATION_ERRORHuman-readable detail
Example
amount_ghs must be greater than zeroMirrors the x-request-id response header
True for 429/502/503/504 only; 400/401/403/404/409 are final
Scope, merchant or environment denied
R15 canonical error envelope. Every 4xx/5xx JSON body carries these five keys, plus x-request-id header; 4xx machine fields (e.g. available_balance) merge in alongside and never shadow them.
object
Machine code (SCREAMING_SNAKE)
Example
VALIDATION_ERRORHuman-readable detail
Example
amount_ghs must be greater than zeroMirrors the x-request-id response header
True for 429/502/503/504 only; 400/401/403/404/409 are final
Not found
R15 canonical error envelope. Every 4xx/5xx JSON body carries these five keys, plus x-request-id header; 4xx machine fields (e.g. available_balance) merge in alongside and never shadow them.
object
Machine code (SCREAMING_SNAKE)
Example
VALIDATION_ERRORHuman-readable detail
Example
amount_ghs must be greater than zeroMirrors the x-request-id response header
True for 429/502/503/504 only; 400/401/403/404/409 are final
Intent conflict
R15 canonical error envelope. Every 4xx/5xx JSON body carries these five keys, plus x-request-id header; 4xx machine fields (e.g. available_balance) merge in alongside and never shadow them.
object
Machine code (SCREAMING_SNAKE)
Example
VALIDATION_ERRORHuman-readable detail
Example
amount_ghs must be greater than zeroMirrors the x-request-id response header
True for 429/502/503/504 only; 400/401/403/404/409 are final
Rate limited
R15 canonical error envelope. Every 4xx/5xx JSON body carries these five keys, plus x-request-id header; 4xx machine fields (e.g. available_balance) merge in alongside and never shadow them.
object
Machine code (SCREAMING_SNAKE)
Example
VALIDATION_ERRORHuman-readable detail
Example
amount_ghs must be greater than zeroMirrors the x-request-id response header
True for 429/502/503/504 only; 400/401/403/404/409 are final
Internal error
R15 canonical error envelope. Every 4xx/5xx JSON body carries these five keys, plus x-request-id header; 4xx machine fields (e.g. available_balance) merge in alongside and never shadow them.
object
Machine code (SCREAMING_SNAKE)
Example
VALIDATION_ERRORHuman-readable detail
Example
amount_ghs must be greater than zeroMirrors the x-request-id response header
True for 429/502/503/504 only; 400/401/403/404/409 are final
Service unavailable
R15 canonical error envelope. Every 4xx/5xx JSON body carries these five keys, plus x-request-id header; 4xx machine fields (e.g. available_balance) merge in alongside and never shadow them.
object
Machine code (SCREAMING_SNAKE)
Example
VALIDATION_ERRORHuman-readable detail
Example
amount_ghs must be greater than zeroMirrors the x-request-id response header
True for 429/502/503/504 only; 400/401/403/404/409 are final