What is Surge?
Surge is Nigeria’s embedded Buy Now, Pay Later (BNPL) infrastructure. Merchants add a single script tag and their customers can immediately split any purchase into installments — without leaving the store. Surge handles risk scoring, payment collection, delinquency management, and merchant settlement.→ Start with the Quickstart
Go from zero to a working checkout in under 30 minutes. Includes Node.js, Python, React, and Next.js code examples.
How it works
- Register as a Merchant — Sign up at merchant.gosurge.xyz.
- Get your API key — Your
surge_live_sk_...API key is issued on approval. Find your Merchant ID under Settings → API Keys. - Create a Checkout Session — Your backend calls
POST /api/v1/checkout/sessionswith your API key and the cart amount. - Open the Widget — Pass the session token to the Surge JS SDK on your frontend.
- Handle Webhooks — Listen for
payment.successto fulfill orders.
Server Integration
Create checkout sessions from your backend and start accepting installments.
Client SDK
Embed the Surge widget into your frontend with our JavaScript SDK.
Webhooks
Receive real-time events for payment success, failures, and settlements.
Payment Methods
Manage customer cards and bank direct debit mandates via the API.
Integration Overview
API Reference
Full REST API reference with request/response schemas.
Live Demo
Try the Surge checkout experience right now.