Withdrawals
A withdrawal pays people from your BillPay balance, straight to their bank accounts. Use it for salaries, supplier payments, or refunds outside a payment. One withdrawal is a batch of 1 to 5,000 payments.
Withdrawals are different from settlements. A settlement pays you. A withdrawal pays other people.
- Get a quote to see the fees.
- Create the withdrawal, as JSON or a CSV file.
- Get it approved. Large batches need a second person from your team.
- Check its status until it's finished. Withdrawals don't send webhooks.
How BillPay handles a batch
- Every row is checked first. If any row is invalid, the whole batch is refused and nothing is paid. Fix the row and send the batch again.
- The money is reserved at once. The total plus fees leaves your
available balance when the batch is accepted. If your
balance doesn't cover it, you get
422. - Large batches need a second approver. Someone on your team other than the person who created it must approve it.
The recipient rows
Each row pays one person:
0.01.Salary October. Up to 140 characters.Bank IDs
institutionId identifies the recipient's bank. The list of supported banks
and their IDs will be published here.
1. Get a quote
Send the same rows you plan to withdraw. The quote shows the total and the fees. Nothing is reserved yet.
2. Create the withdrawal
You can send the rows as JSON, or upload a CSV file.
- JSON
- CSV file
An Idempotency-Key is required. Use your own batch ID, such as
payroll-2026-10, so a retry can't pay everyone twice.
curl https://sandbox.api.billpay.et/api/v1/checkout/withdrawals \
-H "x-api-key: $BILLPAY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: payroll-2026-10" \
-d '{
"currency": "ETB",
"rows": [
{
"institutionId": "<institution-id>",
"account": "1000123456781",
"recipientName": "Kebede Alemu",
"amount": 4500.00,
"reference": "Salary October"
},
{
"institutionId": "<institution-id>",
"account": "1000987654325",
"recipientName": "Tigist Haile",
"amount": 5200.00,
"reference": "Salary October"
}
]
}'
The file has five columns, in this order. A header row is optional.
institutionId,account,recipientName,amount,reference
<institution-id>,1000123456781,Kebede Alemu,4500.00,Salary October
<institution-id>,1000987654325,Tigist Haile,5200.00,Salary October
curl "https://sandbox.api.billpay.et/api/v1/checkout/withdrawals/file?currency=ETB" \
-H "x-api-key: $BILLPAY_API_KEY" \
-F "file=@payroll-2026-10.csv"
Uploading the same file again returns the same withdrawal. It doesn't pay anyone twice.
3. Approve or reject
A withdrawal that needs approval starts as PENDING_APPROVAL. A second person on your team approves or rejects it in the merchant portal.
4. Check the status
Withdrawals don't send webhooks. Check the status until it reaches a final one.
PENDING_APPROVAL ──► CONFIRMED ──► PROCESSING ──► COMPLETED
│ │ PARTIALLY_COMPLETED
▼ ▼ FAILED
REJECTED CANCELLED
| Status | Meaning | Final |
|---|---|---|
| PENDING_APPROVAL | Waiting for a second person to approve it. | No |
| CONFIRMED | Approved, or didn't need approval. Waiting to be sent. | No |
| PROCESSING | Being sent to the banks. | No |
| COMPLETED | Everyone was paid. | Yes |
| PARTIALLY_COMPLETED | Some rows were paid, some failed. Check each row. | Yes |
| FAILED | No one was paid. | Yes |
| REJECTED | Refused by your approver. | Yes |
| CANCELLED | Cancelled before it was sent. | Yes |
To list your withdrawals, newest first:
It uses page and size like other lists. See
Pagination.
Testing
In the sandbox, the recipient's account number decides what happens:
| Account number | Result |
|---|---|
Ends in 0000 | Refused by the receiving bank. |
Ends in 9999 | Paid, then sent back by the bank (ACCOUNT_CLOSED). |
| Anything else | Paid. |