Developer fees let you charge a share of offramp volume and route it to a beneficiary wallet. Switch calculates the fee from the stablecoin side of the transaction when you includedeveloper_feeanddeveloper_recipienton offramp calls.
Developer fees apply to offramp flows (stablecoin to local currency). To see how a fee changes pricing before you initiate, use Get quote with the same
developer_fee value.How developer fees work
Set percentage and recipient
On POST
/offramp/quote and POST /offramp/initiate (see Stablecoin to NGN for a full example), pass developer_fee (optional) and developer_recipient (the wallet that should receive the fee). Omit them or set developer_fee to 0 if you are not charging a fee.Quote and initiate
The quote and initiation responses include a breakdown of fees (platform vs developer) where applicable, so you can show totals in your product and reconcile payouts.
Settlement
After the user deposits stablecoin and the offramp completes, the developer portion is handled according to Switch settlement rules for your integration. Monitor webhooks and the beneficiary wallet for confirmation.
Coverage
Developer fees follow offramp availability. Corridors, channels, and currencies depend on country configuration—use Get currencies and Countries to confirm support for your markets.
Fee model
Switch supports a percentage developer fee on the stablecoin amount:developer_fee— Number from 0 to 100: the percentage of the payment amount taken as your fee (for example,0.5for 0.5%,2for 2%).developer_recipient— Blockchain address that should receive the developer fee (must be compatible with settlement for the chosen asset and network).
Calculation example
Offramp with 100 USDC sent anddeveloper_fee: 0.2 (0.2%, i.e. 20 bps):
- Your fee: 100 × 0.002 = 0.2 USDC to
developer_recipient. - The user still sends the quoted stablecoin total for the corridor; platform and developer splits appear in the
feeobject on success responses (see below).
developer_fee: 0.5:
- Your fee: 0.5 USDC on a 100 USDC leg (0.5% of 100).
Applying developer fees
Includedeveloper_fee and developer_recipient in the JSON body when you call POST /offramp/initiate. Use the same developer_fee on POST /offramp/quote if you want the quote to reflect your fee.
Request
Optional. Percentage of the stablecoin payment amount taken as your fee, from 0 to 100 (for example
0.5 for 0.5%).Optional. Wallet address that should receive the developer fee. Required when you charge a non-zero
developer_fee.Response
Successful initiation returns a envelope withdata that can include a fee object (shape may vary slightly by product version):
Portion of the fee allocated to your
developer_recipient for this transaction (alongside platform and total).Combined fee amount in stablecoin (
currency) before the user completes the deposit.For every request field, open the API reference tab in these docs and inspect Offramp → Initiate and Offramp → Get quote.
Key concepts
Percentage scale
Percentage scale
developer_fee is always a percentage of the stablecoin leg, between 0 and 100. Examples: 0.2 → 0.2%, 1 → 1%, 50 → 50%. Use 0 or omit the field when you do not charge.Quote vs initiate
Quote vs initiate
Pass the same
developer_fee (and plan for the same developer_recipient) on quote and initiate so displayed amounts match what the user must send and what you earn on completion.Single recipient
Single recipient
Each offramp supports one
developer_recipient. To split revenue across wallets, implement splits in your own backend or treasury flows.Tracking
Tracking
Use
reference, webhooks, and your dashboard to reconcile each offramp. The fee object summarizes platform vs developer amounts for that payment.Need help?
Email support
Send us a message and we will get back to you shortly.
Book a demo
Hop on a call with our team.
Related resources
Get quote
Price an offramp including
developer_fee.Offramp guides
Country-specific initiate examples and optional fields.
Webhooks
Status updates for offramp payments.
Initiate offramp
Step-by-step initiate body, including developer fee fields.