Base URL and versioning
Test: https://test.dravpay.dravtech.online · Live: https://api.dravpay.dravtech.online. All paths are versioned under /api/v1.
Path pattern
https://api.dravpay.dravtech.online/api/v1/...Payment collection endpoints
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/payment-intents | Create a website payment request |
| GET | /api/v1/payment-intents/{id} | Check collection status |
| POST | /api/v1/payment-intents/{id}/cancel | Cancel a pending request |
Wallet endpoints
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/wallets/{id}/balance | Read a wallet balance |
| GET | /api/v1/wallets/{id}/transactions | Read wallet activity |
| POST | /api/v1/wallets/{id}/withdrawals | Request a withdrawal |
Transfers and payout endpoints
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/transfers | Initiate a transfer |
| GET | /api/v1/transfers/{id} | Check transfer status |
| POST | /api/v1/payouts | Request an eligible partner payout |
SACCO endpoints
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/sacco/transfers | Create a SACCO-to-SACCO transfer |
| GET | /api/v1/sacco/transfers/{id} | Check transfer status |
Request handling
Authenticate every request with your bearer token, send an Idempotency-Key header on all POST requests, and use JSON request and response bodies.