Purchase an eSIM package with wallet or card payment
/api/esim/packagesWALLET - Pay with wallet balanceCARD - Pay with credit/debit card (Paystack)BANK_TRANSFER - Pay via bank transferMOBILE_MONEY - Pay with mobile moneyAPPLE_PAY - Pay with Apple PayBASE - New eSIM purchaseTOPUP - Top-up existing eSIMTOPUP)SUCCESS, PENDING, PROCESSING| Method | Processing Time | Notes |
|---|---|---|
| WALLET | Instant | eSIM created immediately |
| CARD | 1-5 minutes | Redirects to payment gateway |
| BANK_TRANSFER | 10-30 minutes | Manual verification required |
| MOBILE_MONEY | 2-10 minutes | Country-specific |
| APPLE_PAY | Instant | iOS devices only |
Initiate Purchase
/api/esim/buy endpoint with package detailsHandle Response
Complete Payment
paymentUrlConfirm Payment
/api/esim/confirm-payment or wait for webhookRetrieve eSIM
/api/esim/:esimIdInsufficient Balance
INSUFFICIENT_BALANCESolution: Check wallet balance before purchase or prompt user to fund walletPackage Not Available
PACKAGE_NOT_FOUND or PACKAGE_UNAVAILABLESolution: Refresh package list or show alternative packagesPayment Failed
PAYMENT_FAILEDSolution: Retry payment or try different payment methodTop-Up Validation
INVALID_TOPUPSolution: Verify eSIM ID and package compatibility