Fees on an off-ramp
An off-ramp quote breaks the amounts into three parts:output.amountis what the destination receivesfees.amountis the fee ("0.00"when there’s none)input.amountis the total the user pays, and always equalsoutput.amount + fees.amount
Fees on an ACH deposit
A linked bank on-ramp deposit returns a fuller breakdown, since the fee can be split between the user and you:principalAmountUsd: the value delivered as cryptogrossFeeUsd: the total fee before any subsidyfeeSubsidyUsd: the portion you cover on the user’s behalfuserFeeUsd: what the user actually paystotalDebitAmountUsd: what is pulled from the bank (principalAmountUsd + userFeeUsd)feeRateBps: the fee rate applied, in basis points
Subsidizing fees for your users
You can cover part or all of a user’s fee. When preparing an ACH deposit, pass afeeSubsidy with the percentage of the fee to cover and an optional per-transaction
cap:
percentageis0to100maxAmountUsdcaps how much you’ll cover per transaction
feeSubsidyUsd (what you covered) and userFeeUsd (what remains
for the user). For example, a $3 fee with percentage: 100 means the user pays $0
and you cover $3; with a $5 cap, an $8 fee leaves the user paying $3.