GET /payments/{id}
Last updated
Last updated
Use this operation to query the status of a particular payment. It is typically used when the user is redirected back to your redirectUrl
, so that you can decide how to handle the payment status during your check out process.
See to determine the status of the payment.
Ensure the bearer token is included in the Header of the GET operation:
Authorization
Yes
id
Yes
The 6DOT50 unique Payment ID (paymentId
) to query.
If successful, the operation will return with a standard Payment model:
id
string($guid)
The unique Payment ID generated by 6DOT50 to be used in subsequent user redirects and method calls.
reference
string
Same value from Request.
amount
string
Same value from Request.
accountId
string($guid)
Same value from Request.
currencyCode
string
Same value from Request.
statusCode
int
statusMessage
string
errorCode
int
errorMessage
string
createdAt
string($date-time)
Time in UTC when the payment was created.
completedAt
string($date-time)
Time in UTC when the payment was completed (final state).
Bearer token from
Status code for the transaction. See for more information.
A display message for the status code. See for messages.
Error code for the transaction if it failed to create. See for more information
A display message for the error code. See for messages.