checkout-sessions.write
scope.Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The ID of the merchant account to use for this request.
"default"
Body
An array of cart items that represents the line items of a transaction.
Any additional information about the transaction that you would like to store as key-value pairs. This data is passed to payment service providers that support it.
{
"cohort": "cohort-a",
"order_id": "order-12345"
}
Provide buyer details for the transaction. No buyer resource will be created on Gr4vy when used.
The airline addendum data which describes the airline booking associated with this transaction. Information about an airline travel.
3600 <= x <= 86400
Response
Successful Response
The ID for the checkout session.
"4137b1cf-39ac-42a8-bad6-1c680d5dab6b"
The date and time when this checkout session expires.
"2013-07-16T19:23:00.000+00:00"
An array of cart items that represents the line items of a transaction.
Any additional information about the transaction that you would like to store as key-value pairs. This data is passed to payment service providers that support it.
{
"cohort": "cohort-a",
"order_id": "order-12345"
}
Provide buyer details for the transaction. No buyer resource will be created on Gr4vy when used.
The airline addendum data which describes the airline booking associated with this transaction. Information about an airline travel.
Always checkout-session
"checkout-session"
"checkout-session"
Information about the payment method stored on the checkout session.