Guide for resellers
How to start a VTU business with the Pay Sef API
Sell airtime, data, cable TV, electricity and exam PINs to your own customers, from your own website or app. Here is what you need to decide, build and test before your first live order.
What a VTU business does
A VTU (virtual top-up) business sells digital services to its own customers. Your customer pays you on your website or app. Your server then places the order with Pay Sef through the API, paid from your Pay Sef wallet, and the network or biller delivers it.
You own the customer, the brand and your prices. Pay Sef handles the connection to the networks and billers, the order statuses and the refunds of failed orders to your wallet.
What you can sell
- Airtime for MTN, Airtel, Glo and 9mobile, by network and amount.
- Data bundles by sku, with size, validity and price in the catalogue.
- Cable TV for DStv, GOtv, StarTimes and Showmax, with a smartcard check first.
- Prepaid electricity tokens, with a meter check first.
- WAEC and other exam PINs from the exam PIN catalogue.
- Bulk airtime and data: up to 50 numbers in one request.
Five steps to your first live order
Step 1: Decide where you will sell
A website, a mobile app or a reseller portal. Your customers pay you, and your server buys from Pay Sef with your API key.
Step 2: Create a Pay Sef account and a test key
Sign up, open Profile → Developer and generate a pays_test_ key. It spends from a separate ₦900,000 test wallet.
Step 3: Build your menus from the catalogue
List services and products from the API, so your customers only see what is on sale, at prices you set.
Step 4: Handle every outcome in the sandbox
Test numbers trigger Delivered, Failed and Pending orders, so your site shows the right status and refunds failed orders to your customers.
Step 5: Go live
Generate a pays_live_ key, lock it to your server IPs, set your webhook URL and fund your wallet.
Your costs and your prices
Every purchase is charged at the price for your account type at the time of the order. The catalogue endpoint returns that price, and each order shows exactly what was taken from your wallet. Customer accounts buy at standard prices. API Partner accounts buy at wholesale API prices, with no daily spend limit.
You choose what to charge your customers. Prices from networks and partners change, so read the catalogue regularly rather than fixing prices in your code.
Four things to get right
- Never charge twiceSend an Idempotency-Key with every purchase and reuse it on retries, so a timeout never becomes a second top-up.Read the docs →
- Listen for webhooksSigned events tell your server when an order is delivered, fails or is refunded. Update your customer's order from them.Read the docs →
- Treat Pending as PendingNetworks sometimes reply slowly. Hold your customer's payment until the order settles, rather than retrying it as new.Read the docs →
- Keep your key on your serverNever put a key in an app or browser code. Restrict it to up to 20 IP addresses or CIDR ranges.Read the docs →
Your obligations to your customers
You may use the API for your own business or for your customers. When you sell to your own customers, show them accurate prices and outcomes, give them a way to reach your support, and do not present yourself as Pay Sef, a network or a biller. Keep your keys to yourself: sharing a key or letting others use your account is not allowed.
Questions about starting a VTU business
What is a VTU business?
VTU stands for virtual top-up. A VTU business sells airtime, data and bill payments to its own customers, usually through a website or app, and buys them from a provider such as Pay Sef through an API.
Can I set my own prices?
Yes. You buy at the price for your account type, shown by the catalogue endpoint, and charge your customers what you choose. The Developer API terms ask you to show your customers accurate prices and outcomes.
Do I need a special account?
No. Every Pay Sef account can create test and live keys and buy at standard prices. API Partner accounts buy at wholesale API prices with no daily spend limit, after KYC tier 2 and a request to support.
Can I test without spending money?
Yes. Test keys use a separate ₦900,000 test wallet that you can reset. Test orders never reach a network.
What must I tell my customers?
Show accurate prices and outcomes, give them a way to reach your support, and do not present yourself as Pay Sef, a network or a biller. The Developer API terms have the full list.
Start building today
Create your account, generate a test key and make your first sandbox purchase.