Skip to content
Status

Delete a checkout

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

DELETE
/checkouts/{nonce}

Delete (invalidate) a checkout session. The checkout will no longer be usable.

nonce
required
string

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

Checkout session deleted

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"
}

Was this page helpful?