ramp_fee_not_accepted: The fee was not accepted
A confirmation must echo the total fee the quote showed (fees.totalFeeMicroUsd) in acceptFeeMicroUsd: an on-ramp confirmation (POST /owner/v1/ramps/onramps), or an operator-mode off-ramp confirmation (POST /payee/v1/offramps). The value sent differs, so nothing was sent.
What to do
- Show the quote's fees to the person funding the budget (or to the payee, for an off-ramp), then send the same total fee back.
On the wire
HTTP 409, error type state_error.
{
"error": "state",
"reason": "ramp_fee_not_accepted",
"detail": "…",
"errorDetail": {
"type": "state_error",
"code": "ramp_fee_not_accepted",
"message": "…",
"param": "acceptFeeMicroUsd",
"doc_url": "…/errors/ramp_fee_not_accepted.md",
"fix": "send acceptFeeMicroUsd equal to the quote's fees.totalFeeMicroUsd, the fee you were shown; nothing was sent"
}
}
See ramps and all error codes.