Bulk PIN Generation API
Recharge Card & Data PIN API
Generate encrypted airtime e-PINs and Data PIN vouchers directly via REST API. Integrate into POS systems, vending machines, or custom web portals.
POST
https://babspay.com.ng/api/recharge-pin
Request Body (JSON)
{
"network": 1, // 1: MTN, 2: GLO, 3: 9MOBILE, 4: AIRTEL
"denomination": 100, // 100, 200, 500, 1000
"quantity": 5, // Number of PINs to generate
"business_name": "ABC Telecoms"
}
Success Response (200 OK)
{
"status": "success",
"message": "PINs generated successfully",
"total_pins": 5,
"cards": [
{
"pin": "4810293847561928",
"serial": "SN-9812039485",
"network": "MTN",
"value": 100,
"load_code": "*311*PIN#"
}
]
}
Frequently Asked Questions (FAQ)
How are the generated PINs returned?
PINs, Serial Numbers, and loading instructions are returned securely in an encrypted JSON array ready for printing or storage.
Can I batch-generate multiple PINs in one API request?
Yes, you can specify the quantity parameter (e.g., 10, 50, 100) to batch generate multiple PINs in a single request.