Skip to main content
POST
/
v1
/
ramp
/
recipients
/
{id}
/
offramp-accounts
Create Off-Ramp Account
curl --request POST \
  --url https://api.example.com/v1/ramp/recipients/{id}/offramp-accounts
Endpoint: POST https://api.rebelfi.io/v1/ramp/recipients/{id}/offramp-accounts
Create a crypto deposit address for a recipient to initiate off-ramp transactions. The recipient must have completed KYB verification and have an address on file.

Path Parameters

FieldTypeRequiredDescription
idintegerYesRecipient ID

Request Body

FieldTypeRequiredDescription
org_wallet_idintegerYesID of the organization wallet
source_assetstringNoSource crypto asset (default: "USDC")
railstringNoPayment rail (default: "ach")
bank_detailsobjectYesDestination bank account details
bank_details.routing_numberstringYesBank routing number
bank_details.account_numberstringYesBank account number
bank_details.account_typestringYesAccount type ("checking" or "savings")
bank_details.account_holder_namestringYesName on the bank account
bank_details.bank_namestringYesName of the bank

Example Request

curl -X POST "https://api.rebelfi.io/v1/ramp/recipients/1/offramp-accounts" \
  -H "x-api-key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "org_wallet_id": 42,
    "source_asset": "USDC",
    "rail": "ach",
    "bank_details": {
      "routing_number": "021000021",
      "account_number": "987654321",
      "account_type": "checking",
      "account_holder_name": "OnEdge Inc",
      "bank_name": "Chase Bank"
    }
  }'

Example Response

{
  "id": 1,
  "source_crypto_address": "0xABC123...",
  "source_asset": "USDC",
  "destination_asset": "USD",
  "network_id": "solana-mainnet",
  "rail": "ach",
  "fiat_bank_name": "Chase Bank",
  "fiat_account_type": "checking",
  "fiat_account_holder_name": "OnEdge Inc",
  "status": "active"
}

Response Fields

FieldTypeDescription
idnumberOff-ramp account identifier
source_crypto_addressstringCrypto deposit address for off-ramping
source_assetstringSource crypto asset
destination_assetstringDestination fiat currency
network_idstringBlockchain network identifier
railstringPayment rail
fiat_bank_namestringDestination bank name
fiat_account_typestringBank account type
fiat_account_holder_namestringName on the bank account
statusstringAccount status (active)