Uverus Payment
Api reference

Generate a payment checkout link

Initializes a secure checkout session and returns a hosted checkout URL.

POST/api/v1/payments/checkout

Authorization

x-api-key
x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/payments/checkout" \  -H "Content-Type: application/json" \  -d '{    "email": "customer@example.com",    "amount": 500000  }'
{
  "success": true,
  "message": "Checkout link generated successfully",
  "data": {
    "checkoutUrl": "http://localhost:3002/checkout/uvr_XYZ",
    "reference": "uvr_XYZ",
    "accessCode": "uuid-string"
  }
}