Authorization header.12curl https://api.sendcheap.us/apps/business/payment/get_wallet_balance \ -H "Authorization: Bearer $SENDCHEAP_TOKEN"
123456789101112131415{ "status": "success", "message": "successful", "data": { "account_number": "9876543210", "account_name": "SENDCHEAP(ACME STORES)", "ngn_balance": "250000.00", "ngn_fronzen": "0.00", "usd_balance": "0.00", "usd_fronzen": "0.00", "updated_at": "2026-11-21 10:15:02", "tier_account": "BUSINESS", "bank_name": "Rubies MFB" } }
SENDCHEAP_TOKEN, never in source code.tranx_id you generate yourself; it is how you find this purchase again.123456789curl -X POST https://api.sendcheap.us/apps/business/bills/buy_airtime \ -H "Authorization: Bearer $SENDCHEAP_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "network_id": 1, "phone": "08031234567", "amount": 1000, "tranx_id": "ACME-20261121-000185" }'
{ "status": "success", "message": "Your Airtime Purchase To 08031234567 Was Successful... Thank You", "data": { "id": 81234, "tranx_status": 1, "order_id": "ACME-20261121-000185", "tranx_type": 2, "network": "MTN", "amount": "1000.00", "charge": "0.00", "phone": "08031234567", "balance_state": "{\"balance_before\":\"250,000.0000\",\"balance_after\":\"249,000.0000\"}", "created_at": "2026-11-21 10:15:02", "updated_at": "2026-11-21 10:15:02", "percent": "0", "channel": "APP", "app_meta_data": null } }
1 MTN, 2 GLO, 3 9mobile, 4 Airtel.data is a snapshot taken before the purchase, so tranx_status shows 1 even on success. Trust the message and HTTP status, or call Verify bill.tranx_id.12curl "https://api.sendcheap.us/apps/business/bills/verify_transaction?tranx_id=ACME-20261121-000185" \ -H "Authorization: Bearer $SENDCHEAP_TOKEN"
| HTTP | message | What to do |
200 | transaction successful | Done |
400 | transactionf still pending.... | Check again in a minute |
417 | transaction faield... reverse record | Failed, your wallet was refunded |