Create a checkout object

Checkout properties

Attributes

Data type

Description

merchant required

object

Merchant specific information. See details.

shipping required

object

The shipping details

billing

object

The billing details

items required

Array

An array of item.

discounts

object

A list of discount. Each discount must have their discount code.

metadata

object

See details.

order_id

string

The merchant order id. This is stored for your own future reference.

financing_program

string

A financing program applied on this checkout.

shipping_amount

integer

The total shipping amount in cents.

tax_amount

integer

The total tax amount in cents.

total required

integer

The total amount of the checkout in cents.

checkout_expiration

timestamp

A date-timestamp of when the checkout_id will expire.

  • ISO timestamp format
  • No milliseconds