Recharge PIN denominations
Bearer ds_live_ / ds_test_/api/v1/merchant/recharge-pin/denominationsShows each card face value you can buy for a network, how many PINs are in stock, and what you pay per PIN at your account price. Unlike data plans, recharge cards are not selected with a plan_id — you buy by denomination (the card amount).
curl -X GET "https://finaldatasub.com/api/v1/merchant/recharge-pin/denominations?network=MTN" \
-H "Authorization: Bearer ds_live_YOUR_KEY" \
-H "Accept: application/json"Authentication
Send your secret API key in the header. Authorization: Token … and X-API-Key: … are also accepted.
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer ds_live_YOUR_KEY | Yes |
| Accept | application/json | Recommended |
Authentication failures (401 UNAUTHORIZED, 403 IP_NOT_ALLOWED / ACCOUNT_SUSPENDED / API_ACCESS_NOT_APPROVED, 429 RATE_LIMITED) are listed in Authentication.
Parameters
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
| network | string | One of | MTN, GLO, AIRTEL or 9MOBILE. |
| network_id | integer | One of | Numeric network code: 1 = MTN, 2 = GLO, 3 = 9MOBILE, 4 = AIRTEL. Prefer network or biller when you can. |
| biller | string | One of | Recharge PIN biller slug or id from Recharge PIN networks. Takes priority over the others. |
Responses
200 OK — OK · 400 Bad Request — Missing network
{
"network": "MTN",
"biller": "mtn-recharge-pin",
"denominations": [
{
"denomination": 100,
"available_count": 250,
"effective_amount": 98
},
{
"denomination": 200,
"available_count": 180,
"effective_amount": 196
},
{
"denomination": 500,
"available_count": 90,
"effective_amount": 495
}
]
}Errors
Errors specific to this endpoint, in addition to the authentication and validation errors common to every request.
| Code | HTTP | When |
|---|---|---|
| REQUIRED | 400 | None of biller, network or network_id was sent. |
| BILLER_NOT_FOUND | 404 | Unknown or inactive biller / network. |
Notes
denominationis the card face value the customer loads (₦100, ₦200, ₦500, …). There is no separate plan id per amount — send this same number asdenominationon purchase.effective_amountis what one PIN costs your wallet for your account type (e.g. ₦495 for a ₦500 card). Always read it here; do not invent a percentage.- Card values that are not on sale are left out. Buying one returns
SERVICE_UNAVAILABLEand nothing is charged.