API reference
API overview
Base URL, authentication, amounts and responses for every endpoint.
| Value | |
|---|---|
| Base URL | https://middleware.test.nextcba.com/api/v1/pg/v1 |
| Auth | Authorization: Bearer sk_test_… or sk_live_… |
| Mode | The key prefix. One host for test and live. |
| Amounts | Whole numbers of kobo (₦1 = 100) |
| Success | data holds the result |
| Errors | data.code and data.message |