Skip to main content
POST
Update 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"

checkoutId
string
required

The identifier of the checkout.

Example:

"f4b2c7d9-8e31-4a6b-b0d5-2c9a1e7f5d38"

totalAmount
number
required

The total amount of the checkout.

Example:

75

description
string
required

The checkout description.

items
object[]

Line items included in the total amount.

totalModifiers
object[]

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

hostedSession
object

Object to edit configuration of created hosted session.

Response

Checkout successfully updated.