Create a checkout object

Checkout properties

AttributesData typeDescription
merchant
required
objectMerchant specific information. See details.
shipping
required
objectThe shipping details
billingobjectThe billing details
items
required
ArrayAn array of item.
discountsobjectA list of discount. Each discount must have their discount code.
metadataobjectSee details.
order_idstringThe merchant order id. This is stored for your own future reference.
financing_programstringA financing program applied on this checkout.
shipping_amountintegerThe total shipping amount in cents.
tax_amountintegerThe total tax amount in cents.
total
required
integerThe total amount of the checkout in cents.
checkout_expirationtimestampA date-timestamp of when the checkout_id will expire.

- ISO timestamp format
- No milliseconds