The Instant QR & Account Rail for Nigerian Commerce
The FuturePayNG Invoice Payment API allows merchants, platforms, and e-commerce stores to create instant payment invoices and dynamic QR codes for web checkouts. Customers scan the QR code using their FuturePayNG app, while the web checkout page automatically polls status and fulfills the order upon confirmation.
How FuturePayNG Payment Processing Works
Create Invoice
Merchant backend sends a POST /api/v1/checkout/invoices call with order reference and amount in NGN.
Display Web QR
Frontend receives base64 qrCodeDataUrl and renders it inside the web checkout modal with expiration timestamp and canvas jsQR decoding.
Scan & Confirm
Customer scans the QR code. The web checkout polls order status every 3 seconds while your server receives the signed HMAC webhook.
Fulfill Order
Merchant backend verifies HMAC-SHA256 signature, updates order to paid, and ships goods.
API Key Authentication & Security Headers
Every request to the FuturePayNG API must include your merchant API key passed in the X-FuturePay-Api-Key HTTP request header.
| Header Name | Type | Description | Example |
|---|---|---|---|
| X-FuturePay-Api-Key | String | Your merchant API Key. Keep this secret on your server. | fp_live_4f9a08e92bc3... |
| Content-Type | String | Required for POST requests with JSON body. | application/json |
Never expose your API key in client-side code, frontend React components, or public git repositories. Always execute invoice creation from your backend server.
Need credentials? You can test immediately with the shared Staging Sandbox Keys or submit an official merchant activation request to Invoicecheckout@futurepayng.com.
Make Your First API Request
Select your preferred programming language below to create your first payment invoice: