Scenario
A user wants to sell crypto and receive cash in their local bank account using a single streamlined flow. Existing non-named offramp behavior is unchanged.Workflow
1. Add Beneficiary Bank Account
First, add the destination bank account as a beneficiary. This is where the funds will be sent after the crypto is received.See the Add Beneficiary API reference for full details.
2. Initiate Crypto Offramp
Initiate the offramp by specifying the recipient and the amount in the destination currency. The API will generate a payment instruction for the user.See the Offramp Crypto API reference for full details.
3. USD Offramps and named withdrawal
Endpoint:POST /v2/ramp/{subaccountId}/banking/offramp/initiate
For USD offramps, the to object can include payment_rail with RTP, WIRE, SWIFT, SAME_DAY_ACH, or ACH. Set named_withdrawal to true only for a USD named withdrawal. named withdrawal currently supports USD offramps only, requires a business recipient identified by business_name, and requires the recipient to include beneficiary_date_of_formation, beneficiary_country_of_formation, and beneficiary_national_identification_number. named withdrawal supports only WIRE and SWIFT; RTP, SAME_DAY_ACH, and ACH remain supported only for non-named USD flows where applicable.
Use the quote endpoint (POST /v2/ramp/{subaccountId}/banking/offramp/quote) with the same to.payment_rail and to.named_withdrawal fields when you need pricing before initiating the offramp.
Example: Normal Non-named USD Offramp
Example: USD named withdrawal Offramp by WIRE
Example: USD named withdrawal Offramp by SWIFT
Example: Quote a USD named withdrawal Offramp
Status and Webhooks
Track offramp status withGET /v2/ramp/{subaccountId}/banking/offramp/{offrampId} and listen for withdrawal webhook events to follow the final payout status.
Advantages
This streamlined offramp flow offers several benefits:- Single API Call: Generate payment instructions and initiate the withdrawal in one request
- Automatic Processing: Once the crypto payment is received, the withdrawal is processed automatically
- Real-time Exchange Rates: Get the current exchange rate and fees upfront
- Simple Integration: No need to manage separate deposit and withdrawal flows