Create a checkout
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
It's where the user will be redirected at the end of the checkout, whether it's success, cancelled or failed
Defines the total cost of the checkout (subtotal + shipping + tax)
An ID for the checkout session, it can be the cart ID or anything else
The ID of the current order if created
Defines the total cost of the checkout before taxes and without discounts
Defines the absolute discount amount
Defines the percent of taxes (express as integer)
Defines the code used for the discount
Response
Total amount to pay
Total amount to pay before any discount
Subtotal amount of this checkout
Total discount applied to this checkout
Tax rate
Discount code applied to this checkout
Wether the checkout is in testmode or not
Items included in the checkout
Defines a session for the current user
Order id associated to this checkout