Skip to content
BolderBolder Developers
Esc
↑↓navigate↵open⌘Jpreview

Cancel a checkout session

DELETE/ucp/checkout-sessions/{id}
Authorization
AuthorizationOAuth2 access token · headerrequired

Bearer token obtained from the OAuth authorization server discovered at ucp.oauth.metadata_url in the profile response (GET /.well-known/ucp). Token enforcement may happen at a gateway layer in front of this API.

Path parameters
idstringrequired

Checkout session id, as returned in id / links.self from the create response.

Responses
204

Session cancelled, no content returned

404

No checkout session exists with the given id

ucpUcpEnveloperequired

Protocol version and capability envelope included in every UCP response.

Show properties
versionstringrequired
capabilitiesobjectrequired
Show properties
checkoutstring
messagesMessage[]required
Show properties
Array of Message
typestringrequired
Allowed:infoerrorwarning
codestringrequired
contentstringrequired
Try it
Server
Authorization
Parameters
Request
curl -X DELETE '/ucp/checkout-sessions/string' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'Accept: application/json'
Response
Session cancelled, no content returned

Was this page helpful?