DRAVPAY developer resources / API reference

API reference.

DRAVPAY endpoints for website collections, wallets, transfers, and payouts.

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

MethodPathDescription
POST/api/v1/payment-intentsCreate a website payment request
GET/api/v1/payment-intents/{id}Check collection status
POST/api/v1/payment-intents/{id}/cancelCancel a pending request

Wallet endpoints

MethodPathDescription
GET/api/v1/wallets/{id}/balanceRead a wallet balance
GET/api/v1/wallets/{id}/transactionsRead wallet activity
POST/api/v1/wallets/{id}/withdrawalsRequest a withdrawal

Transfers and payout endpoints

MethodPathDescription
POST/api/v1/transfersInitiate a transfer
GET/api/v1/transfers/{id}Check transfer status
POST/api/v1/payoutsRequest an eligible partner payout

SACCO endpoints

MethodPathDescription
POST/api/v1/sacco/transfersCreate 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.