It looks like you are accessing this page on a mobile device!


Daraza is designed and best optimized for PCs. Please access this page on a desktop or laptop computer or a wider screen at least.

Live-Mode API Endpoints

Request To Pay

Endpoint: /api/request_to_pay/

Description: Receive money from your customers

Example Request

curl -X POST "https://daraza.net/api/request_to_pay/" \
-H "Authorization: Api-Key [YOUR_API_KEY]" \
-H "Content-Type: application/json" \
-d '{
    "method": 1,
    "amount": "15000",
    "phone": "+2567800000000",
    "note": "Checkout"
}'

Remittance

Endpoint: /api/remit/

Description: Send money to your customers

Example Request

curl -X POST "https://daraza.net/api/remit/" \
-H "Authorization: Api-Key [YOUR_API_KEY]" \
-H "Content-Type: application/json" \
-d '{
    "method": 1,
    "amount": "15000",
    "phone": "+2567800000000",
    "note": "Checkout"
}'

Check App Wallet Balance

Endpoint: /api/app_wallet/balance/

Description: Retrieves the balance of the app wallet associated with the provided API key.

Example Request

curl -X GET "https://daraza.net/api/app_wallet/balance/" \
-H "Authorization: Api-Key [YOUR_API_KEY]"

Partial Transfer to Business Wallet

Endpoint: /api/app_wallet/transfer/

Description: Transfers a percentage of the app wallet balance to the associated Business (Client) wallet.

Example Request

curl -X POST "https://daraza.net/api/app_wallet/transfer/" \
-H "Authorization: Api-Key [YOUR_API_KEY]" \
-H "Content-Type: application/json" \
-d '{"percentage": 25}'

Session Timeout Warning

You've been inactive for 29 minutes. Your session will expire in:

01:00