Skip to main content
POST
Create a checkout session

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
subMerchantId
string
required

The subMerchantId associated with the checkout.

Example:

"jpt-sim-md-1"

totalAmount
number
required

The total amount of the checkout.

Example:

55

description
string
required

The checkout description.

hostedSession
object
required

Object to edit configuration of created hosted session.

items
object[]

Line items included in the total amount.

totalModifiers
object[]

Adjustments applied to the total, such as discounts or additional fees.

Response

Checkout successfully created.

Last modified on July 14, 2026