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