Checkouts
Get checkout
Changed onReturns a specific checkout session
get/checkouts/{id}
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
id, string required
The resource's ID, as returned in its id field
Response
Checkout details
Checkout required
id, string required
object, string required
status, 'open' | 'complete' | 'abandoned' | 'expired' required
created_at, string date-time required
updated_at, string date-time required
success_url, string nullable required
Where the buyer lands after paying. Null shows Crevio's confirmation page.
metadata, object required
mode, string required
currency, string nullable required
subtotal, number required
Sum of the items at full price, before the discount.
total, number required
Sum of the items after the discount.
amount_due_today, number required
What the buyer pays at checkout: the total, minus any subscription that starts with a free trial.
purchase_url, string required
contact, union
ID by default, full object when expanded
checkout_items, Checkout Item[] required
Changes
- info
added the required property
success_urlto the response with the status
- info
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
4 more changes in this revision
- warning