Creates a hosted payment page for e-commerce purchases or customer balance funding
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Checkout session details
The URL to redirect to on successful payment
The URL to redirect to if customer cancels
The three-letter ISO 4217 currency code
Optional custom metadata
{ "orderId": "ORD-12345", "source": "web" }The ID of the merchant whose balance is being requested. If omitted, defaults to the authenticated merchant.
The unique identifier of the customer
The unique identifier of the product
Array of line items for the checkout
The total amount in the smallest currency unit
The checkout mode (e.g., 'payment')
Checkout session created successfully
Unique identifier
{ "orderId": "ORD-12345" }