KashierDevelopersKashier Developers
Payouts

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:

HostUsed 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.

EndpointValue
LIVE URLhttps://api.kashier.io/v2/transfers?limit=5&page=1&sortType=-1
MethodGET
TEST URLhttps://test-api.kashier.io/v2/transfers?limit=5&page=1&sortType=-1
MethodGET

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

KeyDescription
AuthorizationThe 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.

EndpointValue
LIVE URLhttps://api.kashier.io/v2/transfers/:transferId
MethodGET
TEST URLhttps://test-api.kashier.io/v2/transfers/:transferId
MethodGET

Headers

KeyDescription
AuthorizationThe 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.

EndpointValue
LIVE URLhttps://api.kashier.io/v2/transfers/fee-inquiry
MethodPOST
TEST URLhttps://test-api.kashier.io/v2/transfers/fee-inquiry
MethodPOST

Headers

KeyDescription
AuthorizationThe 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.

MethodRequired fieldsDedicated batch route
bankrecipientBank—
walletEgyptian mobile number in recipientNumber—
instant walletEgyptian mobile number in recipientNumber/batch/instant-wallet
cardcardToken and recipientBank—
octo cardOcto Payout recipient/batch/octo-payout
internal accountInternal 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.

RuleLimit
Amount, minimum0.01 for every method
Amount, wallet maximum60000
recipientNumber for wallet and instant walletEgyptian mobile number matching ^(010|011|012|015)\d{8}$
recipientNumber for bank and card1–34 characters
recipientName3–70 characters
Transfers per batch1–1000
recipientBankA supported bank abbreviation — see Bank codes for the downloadable list. Required for bank and card.
merchantTransferIdOptional, 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.

EndpointValue
LIVE URLhttps://fep.kashier.io/v3/transfers/single
MethodPOST
TEST URLhttps://test-fep.kashier.io/v3/transfers/single
MethodPOST

Headers

KeyDescription
AuthorizationThe Authorization is a secret key used to identify the merchant. You can obtain it from Kashier's dashboard. Learn more about Authorization.
kashier-hashRequest 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.

StatusMeaning
PENDINGTransfer created. Returned by the create call.
INITIATEDTransfer is being processed.
IN_TRANSITSent, awaiting confirmation.
TRANSFERREDCompleted. Final unless openForReturn is true — see openForReturn.
FAILEDFailed. The amount is returned to your balance.

Optional fields

Three optional fields on this route are worth knowing about:

KeyDescription
accountIdThe 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.
partyIdPay 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.
saveBeneficiarySave 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.

EndpointValue
LIVE URLhttps://fep.kashier.io/v3/transfers/batch?merchantBatchId=:merchantBatchId&batchName=:batchName
MethodPOST
TEST URLhttps://test-fep.kashier.io/v3/transfers/batch?merchantBatchId=:merchantBatchId&batchName=:batchName
MethodPOST

Headers

KeyDescription
AuthorizationThe 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.

On this page