Skip to content
Status

Get a checkout

GEThttps://app.shuttleglobal.com/c/api/instances/{instance_key}/checkouts/{nonce}

GET
/checkouts/{nonce}

Retrieve details of an existing checkout session by its nonce.

nonce
required
string

The checkout’s id (its nonce), as returned when you created it.

expand
string

Set to core to include internal core data

Checkout session details

Media typeapplication/json
object
status
string
e.g. "OK"
checkout
object
object
id
string

Checkout session ID (same as the nonce)

nonce
string

The nonce for this checkout session

options
object

The payment options passed when creating the checkout

object
status
string · enum

Current status of the checkout session

Allowed values: BUILDING READY COMPLETE

Unauthorised: the API key is missing or not valid

Media typeapplication/json

Every error has a code and a message. Some add more fields alongside them, with detail about the error.

object
code
string

The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.

message
string

What went wrong, in words, for logs and support.

Example
{
"code": "UNAUTHORIZED",
"message": "Unauthorised"
}

Checkout not found

Media typeapplication/json

Every error has a code and a message. Some add more fields alongside them, with detail about the error.

object
code
string

The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.

message
string

What went wrong, in words, for logs and support.

Was this page helpful?