Get Transaction Fee
Calculates the fee for a given transaction type, currency, and amount.
Example Request
Example Response
Parameters
Quoting a specific withdrawal method
Fees are configured per rail, so an ACH and a wire to the same bank are usually priced differently. Passwithdrawal_method to quote the rail you will actually send on:
"ach" for "domestic_wire" or "international_wire" to compare rails before deciding which to send on — everything else in the request stays the same.
Quoting a saved beneficiary
If you are paying a saved beneficiary, passbeneficiaryId instead and the rail and destination country are taken from that beneficiary — no need to restate them:
withdrawal_method alongside beneficiaryId.
beneficiaryId returns a 400 rather than falling back to a default fee — a quote never silently prices a different rail than the withdrawal will use.FX payouts
For a cross-currency payout, addrecipientCurrency. The response then also carries feeInRecipientCurrency:
Authorizations
Your Rolla API key
Body
3-letter currency code
3"NGN"
Type of transaction
deposit, withdrawal, swap Transaction amount in the smallest unit (kobo for NGN, cents for USD)
5000
For FX payouts — the currency the beneficiary receives. The response then also carries feeInRecipientCurrency.
3"NGN"
Payout rail to price. Fees are configured per rail, so an ACH and a wire to the same bank are usually priced differently — send the rail you will actually withdraw on. Omitted, the currency-level fee is quoted.
ach, domestic_wire, international_wire, local_transfer, crypto_usdt, crypto_usdc, rolla_transfer, mobile_money "ach"
2-letter country code of the destination bank, for fees scoped to a corridor.
2"US"
Quote a saved beneficiary. withdrawal_method and destination_country are read from it when not supplied explicitly. An id that does not belong to your account returns a 400.
"c3d4e5f6-a7b8-9012-cdef-123456789012"