Get a checkout
GEThttps://app.shuttleglobal.com/c/api/instances/{instance_key}/checkouts/{nonce}
Retrieve details of an existing checkout session by its nonce.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The checkout’s id (its nonce), as returned when you created it.
Query Parameters
Section titled “Query Parameters”Set to core to include internal core data
Responses
Section titled “Responses”Checkout session details
object
"OK"object
Checkout session ID (same as the nonce)
The nonce for this checkout session
The payment options passed when creating the checkout
object
Current status of the checkout session
Unauthorised: the API key is missing or not valid
Every error has a code and a message. Some add more fields alongside them, with detail about the error.
object
The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.
What went wrong, in words, for logs and support.
Example
{ "code": "UNAUTHORIZED", "message": "Unauthorised"}Checkout not found
Every error has a code and a message. Some add more fields alongside them, with detail about the error.
object
The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.
What went wrong, in words, for logs and support.
Was this page helpful?
What went wrong?
Thanks for telling us.