Retrieve a payment link
GET /gateway/payment-links/{id}
Required scope: payments:read.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”Success
object
Legacy display value. Use its exact decimal-string counterpart for financial decisions.
Legacy display value. Use its exact decimal-string counterpart for financial decisions.
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