Uverus Payment

Checkout API

Accept payments directly using Uverus hosted checkout

The Checkout API allows you to generate a secure, hosted checkout link for your customers. With a single API call, Uverus will generate a dynamic payment page supporting multiple channels including Cards, Bank Transfers, and USSD.

Create a new checkout session.

POST /api/v1/payments/checkout

Headers

HeaderValueDescription
x-api-keysk_test_... or sk_live_...Your secret API key
Content-Typeapplication/json

Request Body

FieldTypeRequiredDescription
emailstringYesCustomer's email address
amountintegerYesAmount in kobo/lowest denomination (e.g., 500000 = 5000 NGN)
currencystringNoCurrency code (defaults to NGN)
referencestringNoUnique transaction reference. Auto-generated if omitted.
callback_urlstringNoURL to redirect the customer to after payment completion
metadataobjectNoCustom data object to pass along with the transaction
channelsarrayNoAllowed payment methods. E.g. ["card", "bank", "ussd"]
split_codestringNoOptional code for split payments
bearerstringNoWho bears the transaction fees: "account" or "subaccount"
labelstringNoA custom label or description for the payment

Example Request

{
  "email": "customer@example.com",
  "amount": 500000,
  "currency": "NGN",
  "reference": "TXN_123456789",
  "callback_url": "https://yourapp.com/payment/callback",
  "metadata": {
    "userId": "12345",
    "orderId": "ORD_001"
  },
  "channels": ["card", "bank", "ussd"],
  "label": "Premium Subscription"
}

Example Response

{
  "success": true,
  "message": "Checkout link generated successfully",
  "data": {
    "checkoutUrl": "https://checkout.uverus.com/pay/TXN_123456789",
    "reference": "TXN_123456789",
    "accessCode": "uuid-string-here"
  }
}

Once you receive the checkoutUrl, redirect your customer to this URL to complete their payment securely.

On this page