Payouts
Send funds from Kashier to bank accounts, cards, and mobile wallets in Egypt
Send funds from your Kashier balance to bank accounts, cards, and mobile wallets through the Payouts API. Use it to pay vendors, suppliers, employees, or customers programmatically.
Paying the same people repeatedly? Save them once as beneficiaries and pay by id instead of resending their details on every transfer.
Hosts
Payouts span two hosts, and both are valid:
| Host | Used for |
|---|---|
api.kashier.io (test-api in test) | Reads, lookups, and fee inquiry — account info, listing transfers, transfer details, batch tracking, schedulers, fee inquiry |
fep.kashier.io (test-fep in test) | Transfer writes — create transfer, bulk transfer |
Each endpoint below states its own host. Use the host shown for that endpoint rather than assuming one base URL for the whole domain.
Your secret key needs Transfers and an IP address
Payout calls made with a secret key need the key's Transfers permission: Read to list and view transfers, Write to create them. A key that holds Transfers must also list at least one IP address on its allow-list. Creating or changing a key with Transfers asks for an SMS code. See Secret keys.
Looking for account management or the balance ledger instead? See Accounts and balance — that's also where Get account info (GET /v2/account) is documented, alongside the rest of the account endpoints.
Before you start
Allow-list your IP address
Creating transfers requires the secret key you authorize with to be linked to an allowed IP address. This applies to single and bulk transfers alike. It also applies to adding, updating, deleting, and importing beneficiaries.
In the Kashier dashboard, open the Integration section and add the public IP address the requests will come from, linked to the secret key you use:
- While testing: the public IP of the machine you're calling from.
- In production: the outbound IP of the server that calls the Payouts API. Behind a proxy or NAT, use the IP your traffic actually leaves from.
If a call returns 401 or 403, check the key, its permissions and its IP allow-list. See IP allow-list.
Receiving webhooks
To get payout webhooks, you need an API key named transfer, a merchantTransferId on every transfer, and a webhook configured for transfers. See Before you start on the webhook page.
List all transfers
To list all the transfers, you need to make a GET request to the list all transfers API.
| Endpoint | Value |
|---|---|
| LIVE URL | https://api.kashier.io/v2/transfers?limit=5&page=1&sortType=-1 |
| Method | GET |
| TEST URL | https://test-api.kashier.io/v2/transfers?limit=5&page=1&sortType=-1 |
| Method | GET |
limit, page, and sortType are optional pagination controls — page is 1-based and sortType is -1 for newest first or 1 for oldest first.
Headers
| Key | Description |
|---|---|
| Authorization | The authorization is a secret key used to identify the merchant. You can obtain this key from Kashier's dashboard. Learn more about Authorization. |
curl -X 'GET' 'https://test-api.kashier.io/v2/transfers?limit=5&page=1&sortType=-1'
-H 'Authorization: your_secretKey'
-H "accept: application/json"Full parameter and response reference → List all transfers.
Get transfer details
To get transfer details, you need to make a GET request to the transfer details API, including the transfer ID as a parameter.
| Endpoint | Value |
|---|---|
| LIVE URL | https://api.kashier.io/v2/transfers/:transferId |
| Method | GET |
| TEST URL | https://test-api.kashier.io/v2/transfers/:transferId |
| Method | GET |
Headers
| Key | Description |
|---|---|
| Authorization | The authorization is a secret key used to identify the merchant. You can obtain this key from Kashier's dashboard. Learn more about Authorization. |
curl --location 'https://test-api.kashier.io/v2/transfers/{{transferId}}' \
--header 'Authorization: your_secretKey' \
--header 'Content-Type: application/json' \Full parameter and response reference → Get transfer details.
Fees inquiry
To inquire about the fees, you can make a POST request to the fees inquiry API.
| Endpoint | Value |
|---|---|
| LIVE URL | https://api.kashier.io/v2/transfers/fee-inquiry |
| Method | POST |
| TEST URL | https://test-api.kashier.io/v2/transfers/fee-inquiry |
| Method | POST |
Headers
| Key | Description |
|---|---|
| Authorization | The Authorization is a secret key used to identify the merchant. You can obtain it from Kashier's dashboard. Learn more about Authorization. |
curl -X 'POST' 'https://test-api.kashier.io/v2/transfers/fee-inquiry' \
-H 'Authorization: your_secretKey'
-H "accept: application/json"
--data '{
"transfers": [
{
"amount": "100", // transfer amount that you want to inquire about its fees
"method": "wallet" // use card, wallet, bank or instant wallet for different methods
}
]
}'Full parameter and response reference → Fees inquiry.
Transfer methods
Send method in lower case.
| Method | Required fields | Dedicated batch route |
|---|---|---|
bank | recipientBank | — |
wallet | Egyptian mobile number in recipientNumber | — |
instant wallet | Egyptian mobile number in recipientNumber | /batch/instant-wallet |
card | cardToken and recipientBank | — |
octo card | Octo Payout recipient | /batch/octo-payout |
internal account | Internal account-to-account recipient | /batch/internal-account |
The dedicated batch routes hang off the same transfers path as Bulk transfers and take an XLSX upload. /batch/instant-wallet and /batch/octo-payout accept the columns Recipient Name, Recipient Number, Amount, Merchant Transfer Id, and apply that method to every row.
Validation rules
Requests that break these rules are rejected with a 400.
| Rule | Limit |
|---|---|
| Amount, minimum | 0.01 for every method |
| Amount, wallet maximum | 60000 |
recipientNumber for wallet and instant wallet | Egyptian mobile number matching ^(010|011|012|015)\d{8}$ |
recipientNumber for bank and card | 1–34 characters |
recipientName | 3–70 characters |
| Transfers per batch | 1–1000 |
recipientBank | A supported bank abbreviation — see Bank codes for the downloadable list. Required for bank and card. |
merchantTransferId | Optional, but must be unique per merchant. Reusing one is rejected as a duplicate. Required if you want to receive the transfer webhook. |
Bank codes
recipientBank takes a bank abbreviation, not a name or a SWIFT code. An
abbreviation Kashier does not recognise is rejected with a 400.
Download the full list here:
Bank abbreviations
Bank abbreviations (XLSX) —
every accepted recipientBank value with its bank name.
Create transfer
To create a transfer, you need to make a POST request to the create transfer API.
| Endpoint | Value |
|---|---|
| LIVE URL | https://fep.kashier.io/v3/transfers/single |
| Method | POST |
| TEST URL | https://test-fep.kashier.io/v3/transfers/single |
| Method | POST |
Headers
| Key | Description |
|---|---|
| Authorization | The Authorization is a secret key used to identify the merchant. You can obtain it from Kashier's dashboard. Learn more about Authorization. |
| kashier-hash | Request signature — see The kashier-hash request header. |
Allow-list your IP first
Link the IP address you call from to your secret key in the dashboard's Integration section before creating transfers. See Allow-list your IP address.
The kashier-hash request header
Sign create-transfer requests with a kashier-hash header.
The value is the HMAC-SHA256 of the string below, hex-encoded, keyed by your transfer API key — the API key you create in the dashboard named transfer (see Payouts webhook). It is a different key from the payment API key used for order hashing:
/?transfer={merchantId}.{method}.{recipientName}.{recipientNumber}.{amount}If you send a merchantTransferId, append it as a sixth segment, and sign that variant instead:
/?transfer={merchantId}.{method}.{recipientName}.{recipientNumber}.{amount}.{merchantTransferId}The key must match the mode you are calling in — a test transfer API key for the test hosts, a live one for live.
curl -X 'POST' 'https://test-fep.kashier.io/v3/transfers/single'
-H 'Authorization: your_secretKey'
-H "accept: application/json"
--data '{
"amount": 10,
"method": "wallet", // use card, wallet, bank or instant wallet for different methods
"recipientName": "John Doe",
"merchantTransferId":"TRF-YOUR-OWN-UNIQUE-ID", // unique per merchant; required to receive the webhook
"recipientNumber": "01000000000"
}'Send merchantTransferId to receive webhooks
merchantTransferId is optional for the create call, but a transfer created without it never triggers a transfer webhook. To receive webhooks you also need an API key named transfer in the same mode (test or live) and a registered webhook URL — see Before you start. The value must be unique per merchant; reusing one is rejected as a duplicate, which is why the panel below leaves it out.
The create call returns status: "PENDING" — the transfer is accepted, not sent. It then moves through INITIATED → IN_TRANSIT → TRANSFERRED or FAILED asynchronously. Track the outcome with Get transfer details or the payouts webhook.
| Status | Meaning |
|---|---|
| PENDING | Transfer created. Returned by the create call. |
| INITIATED | Transfer is being processed. |
| IN_TRANSIT | Sent, awaiting confirmation. |
| TRANSFERRED | Completed. Final unless openForReturn is true — see openForReturn. |
| FAILED | Failed. The amount is returned to your balance. |
Optional fields
Three optional fields on this route are worth knowing about:
| Key | Description |
|---|---|
accountId | The Kashier account to debit, in ACC- format. Omit it and the transfer is funded from your primary account. Use it when you hold more than one account. |
partyId | Pay a saved beneficiary by id. Kashier fills in recipientName, recipientNumber, recipientBank, and cardToken from the saved record, so you send only the id, the amount, and the method. |
saveBeneficiary | Save this recipient as a beneficiary while the transfer is created. Single transfers only. |
Full parameter and response reference → Create transfer.
Bulk transfers
To create a bulk transfer, you need to make a POST request to the create bulk transfer API.
| Endpoint | Value |
|---|---|
| LIVE URL | https://fep.kashier.io/v3/transfers/batch?merchantBatchId=:merchantBatchId&batchName=:batchName |
| Method | POST |
| TEST URL | https://test-fep.kashier.io/v3/transfers/batch?merchantBatchId=:merchantBatchId&batchName=:batchName |
| Method | POST |
Headers
| Key | Description |
|---|---|
| Authorization | The Authorization is a secret key used to identify the merchant. You can obtain it from Kashier's dashboard. Learn more about Authorization. |
Like single transfers, bulk transfers require your IP address to be allow-listed.
curl -X POST 'https://test-fep.kashier.io/v3/transfers/batch?merchantBatchId=:merchantBatchId&batchName=:batchName' \
-H 'Authorization: your_secretKey' \
-H "accept: application/json" \
-F 'file=@/path/to/file.xlsx'The upload is an XLSX file sent as multipart form data under the field name file. Its columns are method, recipientName, recipientNumber, recipientBank, amount, cardToken, and merchantTransferId; the per-row method decides the rail.
Full parameter and response reference → Bulk transfers.