Skip to main content

Create On-Ramp Account

Creates a virtual bank account for your organization. Requires KYB approval.
POST /v1/ramp/org/onramp-accounts

Request

orgWalletId
number
OrgWallet ID where stablecoin will be delivered
walletAddress
string
Alternative to orgWalletId: specify a wallet address directly
blockchain
string
Alternative to orgWalletId: specify the blockchain name (used with walletAddress)
destinationAsset
string
required
Destination asset: USDC or USDT
rail
string
default:"ach"
Payment rail: ach, fedwire, or swift
curl -X POST "https://api.rebelfi.io/v1/ramp/org/onramp-accounts" \
  -H "x-api-key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "orgWalletId": 1,
    "destinationAsset": "USDC",
    "rail": "ach"
  }'

Response

{
  "id": 1,
  "bankAccountNumber": "12345678",
  "routingNumber": "987654321",
  "bankName": "Lead Bank",
  "capabilities": ["ach"],
  "status": "active",
  "destinationAsset": "USDC",
  "networkId": "solana-mainnet"
}

Get On-Ramp Account

Returns the organization’s on-ramp account, or null if none exists.
GET /v1/ramp/org/onramp-account
curl "https://api.rebelfi.io/v1/ramp/org/onramp-account" \
  -H "x-api-key: your_api_key"

Response

{
  "id": 1,
  "bankAccountNumber": "12345678",
  "routingNumber": "987654321",
  "bankName": "Lead Bank",
  "capabilities": ["ach"],
  "status": "active",
  "destinationAsset": "USDC",
  "networkId": "solana-mainnet"
}

Create Off-Ramp Account

Creates a crypto deposit address linked to a bank account for off-ramping. Requires KYB approval.
POST /v1/ramp/org/offramp-accounts

Request

org_wallet_id
number
required
Source OrgWallet ID (where crypto is sent from)
source_asset
string
default:"USDC"
Source crypto asset
rail
string
default:"ach"
Payment rail: ach, fedwire, or swift
bank_details
object
required
Bank account where USD will be delivered
curl -X POST "https://api.rebelfi.io/v1/ramp/org/offramp-accounts" \
  -H "x-api-key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "org_wallet_id": 1,
    "source_asset": "USDC",
    "rail": "ach",
    "bank_details": {
      "routing_number": "021000021",
      "account_number": "987654321",
      "account_type": "checking",
      "account_holder_name": "Acme Corp",
      "bank_name": "Chase Bank"
    }
  }'

Response

{
  "id": 1,
  "sourceCryptoAddress": "0xABC123...",
  "sourceAsset": "USDC",
  "destinationAsset": "USD",
  "networkId": "solana-mainnet",
  "rail": "ach",
  "fiatBankName": "Chase Bank",
  "fiatAccountType": "checking",
  "fiatAccountHolderName": "Acme Corp",
  "status": "active"
}

List Off-Ramp Accounts

Returns all off-ramp accounts for the organization.
GET /v1/ramp/org/offramp-accounts
curl "https://api.rebelfi.io/v1/ramp/org/offramp-accounts" \
  -H "x-api-key: your_api_key"

Response

[
  {
    "id": 1,
    "sourceCryptoAddress": "0xABC123...",
    "sourceAsset": "USDC",
    "destinationAsset": "USD",
    "rail": "ach",
    "fiatBankName": "Chase Bank",
    "status": "active"
  }
]

Get Off-Ramp Status

Returns the organization’s KYB status and all off-ramp accounts.
GET /v1/ramp/org/offramp-status
curl "https://api.rebelfi.io/v1/ramp/org/offramp-status" \
  -H "x-api-key: your_api_key"

Response

{
  "kybStatus": "approved",
  "offrampAccounts": [
    {
      "id": 1,
      "sourceCryptoAddress": "0xABC123...",
      "sourceAsset": "USDC",
      "destinationAsset": "USD",
      "rail": "ach",
      "fiatBankName": "Chase Bank",
      "status": "active"
    }
  ]
}
kybStatus
string
Current KYB status: pending, submitted, approved, or declined
offrampAccounts
array
All off-ramp accounts for the organization