Documentation Index
Fetch the complete documentation index at: https://ztechbusiness.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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.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.
Getting Started
- Register as a Merchant — Sign up at merchant.gosurge.xyz.
- Get your API Keys — Retrieve your
Secret Keyfrom the API Keys page in your dashboard. - Create a Checkout Session — Call
POST /api/v1/checkout/sessionsfrom your backend with the cart amount. - Open the Widget — Use the session token to launch the Surge widget on your frontend.
- Handle Webhooks — Listen for
payment.successto fulfill orders.
Integration Overview
API Reference
Full REST API reference with request/response schemas.
Live Demo
Try the Surge checkout experience right now.