Bank payouts
Preview a bank payout fee
POST
/payouts/feesScope
payouts:writeAuth Bearer keyIdempotentRead-only: returns the fee and total debit for an NGN payout of `amount` to `account_number` at `bank_code`. Nothing is debited. Pass the returned `feeMinor`, `networkFeeMinor`, `totalDebitMinor` and `termsHash` as `accepted_fee` on POST /payouts.
Headers
Idempotency-KeystringrequiredRetrying with the same key and payload replays the original response.
Request body
json
{
"currency": "NGN",
"amount": "185000.00",
"account_number": "0123456789",
"bank_code": "058"
}Responses
200Fee preview
json
{
"currency": "NGN",
"decimals": 2,
"recipientMinor": 18500000,
"feeMinor": 5000,
"networkFeeMinor": 0,
"totalDebitMinor": 18505000,
"termsHash": "3f9a0c4e8b7d2a1f6e5c4b3a29180f7e6d5c4b3a29180f7e6d5c4b3a2918a0b1"
}Errors
Errors use RFC 9457 problem details. Branch on code, and log request_id.
400Bad request401Unauthenticated403Forbidden409Idempotency conflict422Validation error429Rate limitedcURL
curl -X POST "https://business.boundlesspay.com/api/public/v1/payouts/fees" \
-H "Authorization: Bearer $BOUNDLESS_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{ "currency": "NGN", "amount": "185000.00", "account_number": "0123456789", "bank_code": "058" }'