Skip to main content
GET
/
v1
/
ramp
/
transactions
/
{id}
Get Transaction
curl --request GET \
  --url https://api.example.com/v1/ramp/transactions/{id}
Endpoint: GET https://api.rebelfi.io/v1/ramp/transactions/{id}
Get a single ramp transaction with full details including blockchain and payment information.

Path Parameters

FieldTypeRequiredDescription
idintegerYesTransaction ID

Example Request

curl -X GET "https://api.rebelfi.io/v1/ramp/transactions/42" \
  -H "x-api-key: your_api_key"

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

FieldTypeDescription
idnumberTransaction identifier
ramp_recipient_idnumberAssociated recipient ID
ramp_recipient_namestringRecipient name
typestringTransaction type (onramp or offramp)
usd_amountnumberUSD amount of the transaction
total_feenumberTotal fees charged
developer_feenumberDeveloper fee portion
delivered_amountnumberAmount delivered after fees
source_assetstringSource asset (e.g., "USD" or "USDC")
destination_assetstringDestination asset (e.g., "USDC" or "USD")
network_idstringBlockchain network identifier
exchange_ratenumberExchange rate applied
tx_hashstring?Blockchain transaction hash, null if not yet broadcast
payment_railstringPayment rail used (ach, fedwire, swift)
payment_referencestring?Payment reference identifier
statusstringCurrent transaction status
failure_reasonstring?Reason for failure, null if not failed
status_historyarrayArray of status transitions
status_history[].statusstringStatus at this point
status_history[].timestampstringWhen the status changed (ISO 8601)
created_atstringCreation timestamp (ISO 8601)
completed_atstring?Completion timestamp (ISO 8601), null if not completed