Cancel a checkout session
DELETE
/ucp/checkout-sessions/{id}Authorization
AuthorizationOAuth2 access token · headerrequiredBearer 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
idstringrequiredCheckout 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
ucpUcpEnveloperequiredProtocol version and capability envelope included in every UCP response.
Show propertiesHide properties
versionstringrequiredcapabilitiesobjectrequiredShow propertiesHide properties
checkoutstringmessagesMessage[]requiredShow propertiesHide properties
Array of
MessagetypestringrequiredAllowed:
infoerrorwarningcodestringrequiredcontentstringrequired