List Off-Ramp Accounts
curl --request GET \
--url https://api.example.com/v1/ramp/recipients/{id}/offramp-accountsimport requests
url = "https://api.example.com/v1/ramp/recipients/{id}/offramp-accounts"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/ramp/recipients/{id}/offramp-accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v1/ramp/recipients/{id}/offramp-accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/ramp/recipients/{id}/offramp-accounts"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/v1/ramp/recipients/{id}/offramp-accounts")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/ramp/recipients/{id}/offramp-accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyRamping — Accounts
List Off-Ramp Accounts
GET /v1/ramp/recipients//offramp-accounts — List all off-ramp accounts for a recipient
GET
/
v1
/
ramp
/
recipients
/
{id}
/
offramp-accounts
List Off-Ramp Accounts
curl --request GET \
--url https://api.example.com/v1/ramp/recipients/{id}/offramp-accountsimport requests
url = "https://api.example.com/v1/ramp/recipients/{id}/offramp-accounts"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/ramp/recipients/{id}/offramp-accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v1/ramp/recipients/{id}/offramp-accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/ramp/recipients/{id}/offramp-accounts"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/v1/ramp/recipients/{id}/offramp-accounts")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/ramp/recipients/{id}/offramp-accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyEndpoint:
GET https://api.rebelfi.io/v1/ramp/recipients/{id}/offramp-accountsPath Parameters
| Field | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Recipient ID |
Example Request
curl -X GET "https://api.rebelfi.io/v1/ramp/recipients/1/offramp-accounts" \
-H "x-api-key: your_api_key"
const offrampAccounts = await client.ramp.listRecipientOfframpAccounts(1);
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
Each object in the array contains:| Field | Type | Description |
|---|---|---|
id | number | Off-ramp account identifier |
source_crypto_address | string | Crypto deposit address for off-ramping |
source_asset | string | Source crypto asset |
destination_asset | string | Destination fiat currency |
network_id | string | Blockchain network identifier |
rail | string | Payment rail |
fiat_bank_name | string | Destination bank name |
fiat_account_type | string | Bank account type |
fiat_account_holder_name | string | Name on the bank account |
status | string | Account status |