Create checkout session
Endpoints
Create Checkout Session
Receive orders from Merchant Gateways and return a checkout URL
POST
Create checkout session
Overview
Merchant Gateways call this endpoint to create a hosted checkout session. You return a URL where the end user will be redirected to complete payment on your checkout page.When This Is Called
- A customer initiates checkout at a merchant’s website
- The merchant sends the order to their Merchant Gateway
- The Merchant Gateway forwards the order to your Payment Gateway
- You create a checkout session and return the URL
- The customer is redirected to your checkout page
Implementation
After Payment
When the user completes payment on your checkout page:- Credit the merchant gateway account.
- Redirect the user to the
urls.successURL
Settlement Guide
Learn about the different ways to settle payments with merchants
Headers
Caller's OCID
Unix timestamp in seconds
Unique request identifier
secp256k1 ECDSA signature
Body
application/json