Reference
API reference
Every partner API endpoint at a glance. All paths are relative to the base URL and authenticated with a Bearer secret key.
Base URL#
https://pay-with-araf.onrender.com/api/v1Endpoints#
| Endpoint | Scope | Success | Description |
|---|---|---|---|
| POST/checkout/sessions | checkout:write | 201 | Create a checkout session (Idempotency-Key required) |
| GET/checkout/sessions/{session_id} | checkout:read | 200 | Retrieve a checkout session |
| GET/applications/{reference} | applications:read | 200 | Retrieve an application’s merchant status |
| GET/orders/{merchant_order_reference} | orders:read | 200 | Retrieve an order with its current application |
| GET/releases/{release_reference} | orders:read | 200 | Verify a goods release authorisation |
| POST/orders/{merchant_order_reference}/fulfil | orders:write | 200 | Record PREPARED, DISPATCHED or COLLECTED |
| POST/orders/{merchant_order_reference}/deliver | orders:write | 200 | Confirm delivery or report an exception |
| POST/orders/{merchant_order_reference}/cancel | orders:write | 200 | Cancel an order (reversal request after payment) |
| POST/orders/{merchant_order_reference}/return | orders:write | 200 | Request a return |
| GET/settlements | settlements:read | 200 | List vendor payments |
| GET/webhook-events | webhooks:read | 200 | List webhook events and deliveries |
| POST/webhook-events/{event_id}/retry | webhooks:write | 202 | Redeliver an event |
Try any of these against the sandbox in the API explorer.
Conventions#
- JSON request and response bodies, snake_case field names; unknown request fields are rejected.
- Amounts are integer kobo; currency is always NGN.
- Timestamps are ISO 8601 in UTC.
- Resources from other partners or environments return
404 NOT_FOUND. - Errors use one envelope — see Errors & idempotency.