Merchant REST API for bill payments, wallet balance, and programmatic purchases.
Introduction
The Vorqan Merchant API lets verified businesses sell airtime, data, electricity, cable TV, education pins, and betting top-ups from their own apps or backends. All requests and responses use JSON over HTTPS.
To get started: create an account, request API access, generate a live key, fund your merchant wallet, then call the endpoints below from your server.
Authentication
Include your API key on every request:
Authorization: Bearer bp_live_xxxxxxxxxxxxxxxx
Keys are issued per merchant account after API access is approved.
If IP whitelist entries exist, only those server IPs can call the API. If none are configured yet, calls are allowed by default.
Never embed live keys in mobile apps or front-end JavaScript.
Base URL
All merchant endpoints are rooted at:
https://app.vorqan.ng/api/v1/merchant/
Send Content-Type: application/json on POST requests with a JSON body.
Wallet balance
GET/wallet/balance/
Returns your merchant wallet balance used to fund API purchases.
Parameter
Type
Description
No query parameters.
{
"balance": "25000.00",
"currency": "NGN"
}
{
"status": "failed",
"code": "UNAUTHORIZED",
"message": "Invalid or missing API key."
}
List billers
GET/billers/
Returns all billers available to your merchant account (networks, DISCOs, cable providers, etc.).
Name
Type
Description
category
string
Optional filter: data, airtime, electricity, etc. Comma-separated for multiple.
Optional
Live biller catalog
Sign in to browse billers and copy slugs for integration. Discount or cashback is shown when available.
Sign in to browse
available billers
and copy slugs or codes into API requests.
{
"status": "failed",
"code": "UNAUTHORIZED",
"message": "Invalid or missing API key."
}
List products
GET/billers/{slug}/products/
List purchasable products (plans, denominations) for a biller identified by slug.
Name
Type
Description
slug
string
Biller slug from the billers list (path parameter).
Required
Live product catalog
Product prices depend on your account pricing group. Sign in, pick a data biller (e.g. MTN Data), and copy the MSORG Plan ID or Adex Plan ID for legacy slot setup — or the product code for the Merchant API.
Sign in to browse
products with your group-specific prices
and copy slugs or codes into API requests.
{
"status": "failed",
"code": "DAILY_LIMIT_EXCEEDED",
"message": "Daily airtime limit exceeded for this account."
}
Msorg Integration Guide
SETUPWebsite configuration
If you already use an MSORG VTU slot on your website, you do not need a developer. In your website admin, open MSORG WEBSITE API/AUTOMATION and update the fields below — your slot code stays the same.
Example admin screen on an MSORG-developed VTU site. Fill in your Vorqan details as shown in the table below.
Configuration field
What to fill
Msorg web url
https://app.vorqan.ngPaste your Vorqan site URL in the Change field (no trailing slash).
Required
Msorg web api key
Your live API key from Settings → API Keys on Vorqan (starts with bp_live_).
Paste the full key into the API key box on your website admin.
Required
plan id
Use the integer plan id for each data plan on your MSORG slot configuration.
Open List products, choose a data network (e.g. MTN Data), click Load products, then copy the MSORG Plan ID from each plan card.
Required
No code changes. Endpoints stay POST /api/data/ and POST /api/topup/. Request and response format are unchanged (Status, ident, api_response).
If your VTU website uses an Adex Data Plug or N3tdata slot (medium set to N3TDATA / Adex API), you do not need a developer. In your website admin, open the Adex / external API settings and update the fields below — your slot code stays the same.
Configuration field
What to fill
Website URL / API URL
https://app.vorqan.ngPaste your Vorqan site URL (no trailing slash). This replaces the old Adex / N3tdata host (e.g. n3tdata.com).
Required
Access Token / API Token
Your live API key from Settings → API Keys on Vorqan (starts with bp_live_).
Paste the full key into the token field. Keep the Authorization: Token … header format — only swap in your Vorqan key.
Required
data_plan id
Use the integer plan id for each data plan on your Adex slot (same value as n3tdata_plan_id on your old Plan table).
Open List products, choose a data network (e.g. GLO Data), click Load products, then copy the Adex Plan ID from each plan card.
Required
No code changes. Endpoints stay POST /api/data and POST /api/topup (no trailing slash). Request fields are unchanged: network, phone, data_plan, bypass, request-id.
Responses use the Adex shape: status (success / fail), request-id, response, oldbal, newbal, plus plan metadata (dataplan, plan_type).
Pay an electricity bill after verification. Include amount for variable-amount products. Successful responses may include a token field when returned by the provider.
Name
Type
Description
biller
string
DISCO slug.
Required
product_id
integer
BillerProduct ID.
Required
customer_ref
string
Meter number.
Required
phone
string
Contact phone.
Optional
amount
decimal
Required for variable-amount products.
Optional
reference
string
Your unique client reference per purchase attempt.
Purchase exam PINs or education tokens (WAEC, NECO, etc.). Depending on provider response, success payloads can include tokens, serial_numbers, pins, or cards.
Name
Type
Description
biller
string
Exam body slug (e.g. waec).
Required
product_id
integer
Product ID.
Required
quantity
integer
Number of PINs (default 1).
Optional
reference
string
Your unique client reference per purchase attempt.
{
"status": "failed",
"code": "NOT_FOUND",
"message": "Order not found."
}
Webhooks
Register a single HTTPS endpoint to receive asynchronous transaction updates. Configure your webhook URL in the dashboard under API Integration → Webhook. The simulator below sends production-shaped sample events for integration testing.
Vorqan sends POST requests with a JSON body when a transaction status changes.
Your endpoint should return HTTP 200 as quickly as possible (target: within 15 seconds).
Use the webhook secret (shown when you save your URL) to verify signatures — see Webhook Events.
Webhook simulator support is available now. If you expect production transaction webhooks and are not receiving events, confirm account setup with support.
The simulator reports delivery success/failure and does not perform automatic retries.
Setup check: when saving your webhook URL in API Integration, the platform validates reachability and expects a HTTP 200 response from your endpoint URL.
Sample webhook request
POST https://your-server.com/webhooks/vorqan HTTP/1.1
Content-Type: application/json
X-Vorqan-Signature: sha256=a1b2c3d4e5f6...
{
"event": "transaction.pending",
"data": {
"status": "pending",
"reference": "TXN-20260517-A1B2C3",
"message": "Transaction is being processed. Do NOT retry."
}
}
Each notification includes an event field and a data object with the transaction payload.
Event
Description
transaction.successful
Purchase completed and wallet debited.
transaction.pending
Still processing — do not retry the purchase.
transaction.failed
Purchase failed; wallet refunded when applicable.
Verify the X-Vorqan-Signature header by computing HMAC-SHA256 of the raw request body with your webhook secret.
See Webhooks for full sample payloads for each event type.
Webhook Simulator
Sign in and enter the HTTPS endpoint already registered under API Integration. We will send it a sample webhook POST with the same JSON shape as production events.
Your registered endpoint must be reachable from the internet and return HTTP 200 within 15 seconds. Verify X-Vorqan-Signature using the secret shown when the endpoint was registered. The simulator does not expose your secret or the endpoint response body. Limit: 10 requests per minute per account and IP.
Reference
Headers
Header
Required
Description
Authorization
Yes
Bearer bp_live_… API key
Content-Type
POST
application/json
X-Device-Id
No
Optional device fingerprint for audit logs
Biller categories
Use ?category= on GET /billers/: data, airtime, electricity, cable, betting, education, exam, internet, rechargepin, airtime_cash.
Client reference
Every purchase requires a unique reference. Replaying the same key does not create a second charge and returns one of: 200 (already successful), 202 (still pending), or 409 (already failed).
Duplicate replay examples
{
"status": "successful",
"code": "DUPLICATE",
"message": "This reference was already used and the transaction completed successfully.",
"duplicate": true,
"reference": "TXN-DATA-ABC123",
"balance_after": "4730.00"
}
{
"status": "pending",
"code": "DUPLICATE",
"message": "Your previous request is still being processed.",
"duplicate": true,
"reference": "TXN-DATA-ABC123"
}
{
"status": "failed",
"code": "DUPLICATE",
"message": "This transaction already failed and your wallet was refunded.",
"duplicate": true,
"reference": "TXN-DATA-ABC123"
}
Error Handling
Error bodies use status (failed), code, and message — mirroring success payloads that use "status": "successful". Use the HTTP status code together with the body for handling.
Validation failures are normalized the same way, for example a missing phone:
{
"status": "failed",
"code": "REQUIRED",
"message": "phone is required"
}
Purchase success sample
POST purchase endpoints return payloads like the sample below on success. Some endpoints include extra fields (for example token for electricity, or funded_at for betting). Catalog GET endpoints use different shapes. Pending purchases return HTTP 202 with "status": "pending".