Skip to content
Authorization<token>

Use a public key (pk./pk_test.) for payment initialization. Use a secret key (sk./sk_test.) for sensitive operations (transfers, refunds, balance), or a restricted key (rk./rk_test.) scoped to specific permissions. The _test. variant of any key selects the sandbox environment — there is no separate sandbox URL. Never expose your secret key in client-side code.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

per_page?integer | null

Must be at least 1. Must not be greater than 100.

page?integer | null

Must be at least 1.

type?string | null

Must not be greater than 128 characters.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/events" \  -H "Content-Type: application/json" \  -d '{}'
GET
/events
{
  "code": 200,
  "status": "OK",
  "message": "Events retrieved",
  "events": [
    {
      "id": "evt_01JXXX",
      "type": "payment.succeeded",
      "data": {
        "reference": "trx.PVrU8x2kQ1",
        "status": "succeeded"
      },
      "created_at": "2026-01-15T10:31:00Z"
    }
  ],
  "meta": {
    "current_page": 1,
    "last_page": 9,
    "per_page": 25,
    "total": 328
  }
}
{
  "code": 401
}
{
  "code": 429
}