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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”nonce
required
string
The checkout’s id (its nonce), as returned when you created it.
Responses
Section titled “Responses”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?
What went wrong?
Thanks for telling us.