Skip to content
Pay Sef

Pay Sef VTU API v1

A VTU API to sell airtime, data and bills from your platform.

A REST API with JSON responses, amounts in kobo, test and live keys, a sandbox wallet and signed webhooks. Integrate once and sell all five Pay Sef services from your website, app or reseller portal.

New to Pay Sef? Create an account first, then open Profile → Developer.

Sandbox https://sandbox.paysef.com/api/v1 (test keys)

Live https://api.paysef.com/api/v1

POST /vtu/data/purchase
curl -X POST "https://sandbox.paysef.com/api/v1/vtu/data/purchase" \
  -H "Authorization: Bearer $PAYSEF_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: ord_7Hk2pQ9xR4" \
  -d '{
  "sku": "DATA_MTN_SME_1GB",
  "phone_number": "08031234560",
  "reference": "your-order-1043"
}'
Response
{
  "success": true,
  "status_code": 200,
  "message": "Done. Order delivered.",
  "data": {
    "order_id": "0199f2a4-6c1e-7b3a-9d42-5e8f1a2b3c4d",
    "order_ref": "VTU-20261017-9A8B7C6D5E4F",
    "reference": "your-order-1043",
    "recipient": "08031234560",
    "face_value_kobo": 30000,
    "amount_debited_kobo": 28500,
    "status": "SUCCESS_SETTLED",
    "customer_status": "delivered",
    "money_location": "spent",
    "is_test": true
  }
}

What you get

Built for resellers and platforms that move money

Everything an integration needs to be correct the first time: predictable statuses, safe retries and events you can verify.

  • Five services, one wallet

    Airtime, data, cable TV, electricity and WAEC PINs, paid from the same Pay Sef wallet you already use.

  • A sandbox that behaves like production

    Test keys spend from a separate ₦900,000 test wallet and never reach a network. Where no network sandbox serves a product, the last digit of the recipient picks the outcome, so you can test success, failure and pending orders.

  • Signed webhooks

    Get order.success, order.failed, order.refunded and wallet.funded events signed with HMAC-SHA256, retried on failure and replayable from Developer settings.

  • Safe retries

    Every purchase takes an Idempotency-Key, and a configurable duplicate guard stops the same top-up going out twice.

  • Locked to your servers

    Restrict your keys to up to 20 IP addresses or CIDR ranges. Keys are stored hashed and shown to you once; generating a new one retires the old one at once.

  • Wholesale pricing for partners

    Every account can integrate at standard prices. API Partner accounts buy at wholesale API prices, with no daily spend limit.

How to start

From sign-up to your first live order

Most integrations need four endpoints: list products, buy, check an order and receive a webhook. Follow the quickstart →

  1. Step 1: Create a Pay Sef account

    Sign up in the web app or the Android app. The same account is used for the API.

  2. Step 2: Generate a test key

    Open Profile → Developer, confirm with your transaction PIN and copy your pays_test_ key. It is shown once.

  3. Step 3: Build against the sandbox

    Make purchases from your test wallet, receive test webhooks and handle every outcome.

  4. Step 4: Switch to your live key

    Generate an pays_live_ key, set your IP allowlist and webhook URL, fund your wallet and go live.

Pricing tiers

Two account types

Customer

Standard prices

Every account can create test and live keys and integrate straight away. Purchases are charged at the same prices you see in the app.

API Partner

Wholesale prices

For resellers and platforms. Products return wholesale API prices, the catalogue shows exactly what you will pay, and the daily spend limit does not apply. Complete KYC tier 2 (documents verified), then contact support to upgrade your account.

Talk to support →

Ready to integrate?

Create your account, generate a test key and make your first sandbox purchase.