gettopup merchant API
API Documentation
Public docs show the sandbox base URL for testing. Live production endpoints unlock after your API access is approved.
Sandbox base URL
https://sandbox.gettopup.com.ngAPI Reference
Authentication, headers & getting started
REST API for airtime, data, cable TV, electricity, result checker, bulk SMS and wallet history. Public docs use the sandbox host for examples. Live base URL and production keys unlock only after your API access is approved.
Service availability
See which API products are covered in this documentation.
Need a product enabled for your API user? Contact support from Account settings or your admin panel.
- Available
Wallet & user profile
Balance, account type, and identity fields for the authenticated API user.
GET /api/user/
- Available
Data plans & purchase
List networks/plans and buy SME, gifting, CG, awoof, and data share bundles.
GET /api/get/network/ · POST /api/data/
- Available
Airtime top-up
VTU and share-and-sell airtime with wallet debit.
POST /api/topup/
- Available
Cable TV
Validate IUC then subscribe GOTV, DSTV, and Startimes packages.
POST /api/cablesub/
- Available
Electricity
Validate meter and vend prepaid/postpaid tokens.
POST /api/billpayment/
- Available
Result checker
WAEC/NECO/NABTEB result checker pins.
POST /api/epin/ · GET /api/epin/{id}/
- Available
Get transactions
Unified history via wallet-summary (alias /api/transactions/). Filter with category.
GET /api/wallet-summary/ · GET /api/wallet-summary/{id}/
- Available
Bulk SMS
Send SMS campaigns from your wallet balance and list past batches.
POST /api/sendsms/ · GET /api/sms/
- Available
Identity validation
BVN and NIN checks via configured provider (EaseID / Monnify).
Validate BVN · Validate NIN
Step 1 — Sandbox first (public docs)
Until you are approved as an API user, integrate against the sandbox base URL shown in these docs. Responses are for testing and do not debit live wallets or hit billers.
Step 2 — Obtain your API token
After approval: Dashboard → API access → enter your 5-digit transaction PIN → View token. Keep this secret. Reset it from the same page if compromised.
Step 3 — Required headers on every call
Send `Authorization: Token <your_token>` on all endpoints. For POST requests also send `Content-Type: application/json`.
Step 4 — Query transactions
Use the unified Get Transactions endpoints (`GET /api/wallet-summary/` and `GET /api/wallet-summary/{id}/`). Same list is also available at `GET /api/transactions/`.
Required headers
| Header | Value | Required |
|---|---|---|
| Authorization | Token YOUR_API_TOKEN | Yes |
| Content-Type | application/json | Yes (POST/PUT) |
| Accept | application/json | Recommended |
Endpoint
https://sandbox.gettopup.com.ng/api/user/Code samples
curl -X GET "https://sandbox.gettopup.com.ng/api/user/" \
-H "Authorization: Token YOUR_API_TOKEN" \
-H "Accept: application/json"Response sample (200)
{
"username": "testuser",
"FullName": "Test User",
"Account_Balance": "435711.00",
"user_type": "API",
"Phone": "08012345678",
"email": "user@example.com"
}