Overview
Your payment gateway can collect payments in several ways:- Hosted checkout - Users redirected to your checkout page from Merchant Gateways
- Display QR code - User shows QR, merchant scans and submits order
- Scan merchant QR - User scans merchant QR, you fetch and process the order
- Scan inventory QR - User browses items, creates order, pays
Flow 1: Hosted Checkout
The most common flow for e-commerce. Merchant Gateways redirect end users to your hosted checkout page to complete payment.Step 1: Receive Order from Merchant Gateway
Step 2: Display Checkout Page
Render your payment UI with the order details:Step 3: Process Payment
When user submits payment:Step 4: Notify Merchant Gateway
Send payment proof to the Merchant Gateway:Flow 2: User Displays QR Code
Best for retail where merchants have scanners/cameras.Step 1: Generate Session
When user wants to pay, create a session and QR code:Step 2: Receive Order from Merchant
Merchant scans the QR and POSTs their order:Step 3: User Confirms Payment
User reviews and confirms in your app:Flow 3: User Scans Merchant QR
Best for kiosks, vending machines, or when merchant displays QR.Step 1: Parse Scanned QR
Step 2: User Confirms and Pays
Flow 4: Inventory Browsing
For vending machines or merchants with small catalogs.Fetch and Display Inventory
Create Order and Pay
After user selects items:Settlement
After collecting payment from the user through any of the flows above, you must settle with the merchant. The settlement process is the same regardless of how you received the order.Settlement Guide
Learn about the three settlement strategies: direct, partner reserve, and common third party