Skip to content

Quote fees for withdrawals​

POST
/v2/payments/bulk-withdrawals/fee-quote

Requires DISBURSEMENTS_READ, granted by PAYMENTS_READ or DISBURSEMENTS_WRITE (bundles)

Estimates the fee for a set of withdrawals before you create a batch, without saving anything. requiredTotal is the available balance your payout account needs for the payouts plus the fee.

Request Body​

application/json
JSON
{
"withdrawals": [
{
"bank": "FNB",
"amount": 12500.75
},
{
"bank": "CAPITEC",
"amount": 8000.25
}
]
}

Responses​

OK

application/json
JSON
{
"fee": "25.00",
"currency": "ZAR",
"withdrawalCount": 2,
"grossTotal": "20501.00",
"requiredTotal": "20526.00",
"feeGroups": [
{
"actionType": "FAST_WITHDRAWAL",
"withdrawalCount": 1,
"grossTotal": "12500.75"
},
{
"actionType": "REGULAR_WITHDRAWAL",
"withdrawalCount": 1,
"grossTotal": "8000.25"
}
]
}

Samples​

Errors

HTTPErrorWhen
400-113INVALID_JSONThe body isn't valid JSON.
400-11INVALID_REQUESTThe body is empty or a field fails validation; validationErrors lists each failing field.
400BAD_REQUESTA query parameter or field is invalid.
403-16098PAYMENTS_USER_ACCESS_NOT_CONFIGUREDPayments haven't been set up for your business yet.
500INTERNAL_ERRORUnexpected error in the payments service.
502-16097EXCHANGE_API_ERRORThe payments service failed to process the request.
502EXCHANGE_API_ERRORThe payments service couldn't complete the request. Try again later.
503-16099PAYMENTS_BACKEND_PROXY_DISABLEDPayments endpoints are temporarily unavailable.

Plus the errors common to all signed endpoints.