Skip to content

Read a payment for a checkout page

GET
/payments/public/{paymentId}
curl --request GET \
--url https://hub.stablezact.com/api/v1/payments/public/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0

A deliberately narrow view, safe to expose to the payer’s browser. It carries what a checkout needs and nothing else: amount, status, network, token, the merchant’s business name and the settlement addresses.

metadata is restricted here to bookingId, orderId and source. Anything else you attached is not returned by this endpoint.

paymentId
required
string format: uuid

The public view of the payment.

Media typeapplication/json
object
success
boolean
payment
object
Examplegenerated
{
"success": true,
"payment": {}
}

The request was rejected. Read error and message.

Media typeapplication/json
object
success
boolean
error
required

Short machine-ish reason.

string
message

Longer explanation, when there is one.

string
Example
{
"success": false,
"error": "Validation failed",
"message": "Unsupported currency: GBP"
}