API Reference
Complete reference for all merchant-facing APIs. Generate QR codes for PromptPay payments and receive real-time payment notifications via webhooks.
Authentication
All API requests require a Bearer token in the Authorization header.Learn more
API Keys
Get your API keys from the merchant dashboard. Use test keys for development.
PromptPay Integration
QR codes use PromptPay standard. Customers scan with any PromptPay-enabled banking app.
Merchant-Facing APIs
Generate QR Code
Create PromptPay QR codes for customer payments
POST
Thai/v1/qr-codesPayment Status
Check payment status after QR scan
GET
Thai/v1/payments/{id}List Payments
Retrieve all payments with filters
GET
Thai/v1/paymentsRefunds
Initiate refunds for completed payments
POST
Thai/v1/refundsTransactions
Fetch transaction history and reports
GET
Thai/v1/transactionsWebhooks
Configure webhook endpoints for payment notifications
POST
Thai/v1/webhooks