Wallets and FX
Every account has one settlement wallet per currency. You can add working wallets to keep funds separate, for example per branch or per product.
List and create wallets
curl https://api.intasend.com/api/v1/wallets/?currency=KES \
-H "Authorization: Bearer $INTASEND_SECRET_KEY"
curl -X POST https://api.intasend.com/api/v1/wallets/ \
-H "Authorization: Bearer $INTASEND_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{"label": "Nairobi branch", "currency": "KES", "wallet_type": "WORKING", "can_disburse": true}'
| Field | Description |
|---|---|
label | Required. Must be unique per currency |
currency | KES, USD, EUR, GBP, UGX, TZS, RWF |
wallet_type | WORKING. Settlement wallets are created automatically |
can_disburse | Allow payouts from this wallet |
A wallet object contains wallet_id, label, currency, wallet_type, can_disburse,
current_balance, available_balance and updated_at. available_balance excludes funds still clearing.
Move funds between wallets
curl -X POST https://api.intasend.com/api/v1/wallets/{wallet_id}/intra_transfer/ \
-H "Authorization: Bearer $INTASEND_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{"wallet_id": "DESTINATION_WALLET_ID", "amount": 500, "narrative": "Float top-up"}'
| Field | Required | Description |
|---|---|---|
wallet_id | Yes | Wallet receiving the funds. The {wallet_id} in the URL is the wallet sending them. |
amount | Yes | Amount to move, up to 2 decimal places. Max 999,999. |
narrative | No | Description on both wallets' transactions |
Both wallets must be the same currency. The response contains the updated origin and destination wallets.
Convert currency
Convert a foreign-currency balance to KES: get a quote, then exchange. Call it on the foreign-currency settlement wallet; the KES settlement wallet receives the funds.
curl -X POST https://api.intasend.com/api/v1/wallets/{wallet_id}/exchange/ \
-H "Authorization: Bearer $INTASEND_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{"currency": "KES", "amount": 100, "action": "QUOTE"}'
# → {"rate": ..., "fxe_amount": ..., "currency": "KES"}
| Field | Required | Description |
|---|---|---|
currency | Yes | Currency to convert to. Only KES is supported. |
amount | Yes | Amount to convert, in the source wallet's currency. Up to 2 decimal places, max 999,999. |
action | Yes | QUOTE returns the rate and converted fxe_amount only. EXCHANGE converts. |
Send the same request with "action": "EXCHANGE" to convert.
Indicative rates are public:
curl "https://api.intasend.com/api/v1/realtime-fx-rates/exchange/?base=KES¤cy=USD"
# → {"rate": "0.00775"}
Transactions
curl "https://api.intasend.com/api/v1/wallets/{wallet_id}/transactions/" \
-H "Authorization: Bearer $INTASEND_SECRET_KEY"
Use GET /api/v1/transactions/ for all wallets. It can be filtered by start_date, end_date, currency, trans_type and narrative.
trans_type | |
|---|---|
SALE | Collected payment |
PAYOUT | Send money |
CHARGE | Fees |
DEPOSIT, WITHDRAWAL, EXCHANGE, SPLIT, AIRTIME, RESERVE, ADJUSTMENT |
A transaction's status is one of AVAILABLE, CLEARING, ON-HOLD, CANCELLED, CHARGEBACK-PENDING, REFUNDED or ADJUSTMENT.
List endpoints are paginated (100 per page) and return {"count", "next", "previous", "results"}.