DELETE
/
checkout
/
sessions
/
{session_id}
curl --request DELETE \
  --url https://api.{id}.gr4vy.app/checkout/sessions/{session_id} \
  --header 'Authorization: Bearer <token>'
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-gr4vy-merchant-account-id
string | null

The ID of the merchant account to use for this request.

Examples:

"default"

Path Parameters

session_id
string
required

The ID of the checkout session.

Examples:

"4137b1cf-39ac-42a8-bad6-1c680d5dab6b"

Query Parameters

timeout_in_seconds
number
default:1

Response

204

Successful Response