Skip to content
Pay Sef

Pay Sef API documentation

The Pay Sef API lets your platform buy data, airtime, cable TV subscriptions, electricity tokens and exam PINs from your Pay Sef wallet, and tells you the result of every order.

The basics

The API is organised around REST. Requests and responses are JSON over HTTPS, amounts are whole kobo (₦1 = 100 kobo) in fields ending _kobo, and every response uses the same envelope, so one parser handles every endpoint.

Value
Sandbox base URL (test keys only)https://sandbox.paysef.com/api/v1
Live base URLhttps://api.paysef.com/api/v1
AuthenticationAuthorization: Bearer <api key>
Content typeapplication/json
Test keyspays_test_…
Live keyspays_live_…
MoneyInteger kobo, e.g. amount_kobo: 50000 for ₦500
PurchasesIdempotency-Key header required
Every response
{
  "success": true,
  "status_code": 200,
  "message": "Human-readable summary.",
  "data": { },
  "meta": {
    "request_id": "01M55DHS5E30CR6DR0GC65V3GP",
    "timestamp": "2026-10-17T17:11:30.734795Z"
  }
}

Errors set success to false and add a stable error_code you can branch on. See Responses and errors.

API reference

One page per resource, each endpoint with parameters, request examples and responses.

Need help with an integration?

Email support@paysef.com with the request_id from the response and the time of the request.