Get Transaction
curl --request GET \
--url https://api.example.com/v1/ramp/transactions/{id}import requests
url = "https://api.example.com/v1/ramp/transactions/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/ramp/transactions/{id}', 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/transactions/{id}",
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/transactions/{id}"
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/transactions/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/ramp/transactions/{id}")
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 — Transactions
Get Transaction
GET /v1/ramp/transactions/ — Get a single ramp transaction with full detail
GET
/
v1
/
ramp
/
transactions
/
{id}
Get Transaction
curl --request GET \
--url https://api.example.com/v1/ramp/transactions/{id}import requests
url = "https://api.example.com/v1/ramp/transactions/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/ramp/transactions/{id}', 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/transactions/{id}",
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/transactions/{id}"
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/transactions/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/ramp/transactions/{id}")
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/transactions/{id}Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Transaction ID |
Example Request
curl -X GET "https://api.rebelfi.io/v1/ramp/transactions/42" \
-H "x-api-key: your_api_key"
const transaction = await client.ramp.getTransaction(42);
Example Response
{
"id": 42,
"ramp_recipient_id": 1,
"ramp_recipient_name": "OnEdge",
"type": "onramp",
"usd_amount": 50000,
"total_fee": 125,
"developer_fee": 50,
"delivered_amount": 49875,
"source_asset": "USD",
"destination_asset": "USDC",
"network_id": "solana-mainnet",
"exchange_rate": 1.0,
"tx_hash": "5xYz...abc",
"payment_rail": "ach",
"payment_reference": "REF-20260315-001",
"status": "completed",
"failure_reason": null,
"status_history": [
{ "status": "pending", "timestamp": "2026-03-15T10:00:00.000Z" },
{ "status": "processing", "timestamp": "2026-03-15T10:01:00.000Z" },
{ "status": "completed", "timestamp": "2026-03-15T10:05:00.000Z" }
],
"created_at": "2026-03-15T10:00:00.000Z",
"completed_at": "2026-03-15T10:05:00.000Z"
}
Response Fields
| Field | Type | Description |
|---|---|---|
id | number | Transaction identifier |
ramp_recipient_id | number | Associated recipient ID |
ramp_recipient_name | string | Recipient name |
type | string | Transaction type (onramp or offramp) |
usd_amount | number | USD amount of the transaction |
total_fee | number | Total fees charged |
developer_fee | number | Developer fee portion |
delivered_amount | number | Amount delivered after fees |
source_asset | string | Source asset (e.g., "USD" or "USDC") |
destination_asset | string | Destination asset (e.g., "USDC" or "USD") |
network_id | string | Blockchain network identifier |
exchange_rate | number | Exchange rate applied |
tx_hash | string? | Blockchain transaction hash, null if not yet broadcast |
payment_rail | string | Payment rail used (ach, fedwire, swift) |
payment_reference | string? | Payment reference identifier |
status | string | Current transaction status |
failure_reason | string? | Reason for failure, null if not failed |
status_history | array | Array of status transitions |
status_history[].status | string | Status at this point |
status_history[].timestamp | string | When the status changed (ISO 8601) |
created_at | string | Creation timestamp (ISO 8601) |
completed_at | string? | Completion timestamp (ISO 8601), null if not completed |