> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rebelfi.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Transaction

> GET /v1/ramp/transactions/{id} — Get a single ramp transaction with full detail

<Note>
  **Endpoint:** `GET https://api.rebelfi.io/v1/ramp/transactions/{id}`
</Note>

Get a single ramp transaction with full details including blockchain and payment information.

### Path Parameters

| Field | Type      | Required | Description    |
| ----- | --------- | -------- | -------------- |
| `id`  | `integer` | Yes      | Transaction ID |

### Example Request

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET "https://api.rebelfi.io/v1/ramp/transactions/42" \
    -H "x-api-key: your_api_key"
  ```

  ```typescript SDK theme={null}
  const transaction = await client.ramp.getTransaction(42);
  ```
</CodeGroup>

### Example Response

```json theme={null}
{
  "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 |
