---
title: "Fetch a transaction by ID"
method: GET
path: "/transactions/{transaction_id}"
tags: ["X Transactions"]
---

# Fetch a transaction by ID

`GET /transactions/{transaction_id}`

Fetch details of a specific transaction from a RazorpayX account by its ID.

## Response `200`

Transaction details

- XTransaction — RazorpayX transaction record — inflow (bank_transfer credit) or outflow (payout debit).
  - `id` string — Transaction ID (txn_*)
  - `entity` 'transaction'
  - `account_number` string — RazorpayX account number
  - `amount` integer — Amount in paise (does not include fees/tax)
  - `currency` 'INR'
  - `credit` integer — Amount credited in paise; 0 for debits
  - `debit` integer — Amount debited in paise; 0 for credits
  - `balance` integer — Remaining account balance in paise after this transaction
  - `source` object — Source entity — either a payout (debit) or bank_transfer (credit)
    - `id` string — pout_* for payouts, bt_* for bank transfers
    - `entity` 'payout' | 'bank_transfer'
    - `amount` integer
    - `fund_account_id` string — Payout only
    - `notes` object — Payout only
    - `fees` integer — Payout only, populated at processing state
    - `tax` integer — Payout only, populated at processing state
    - `status` string — Payout only
    - `utr` string — Payout only
    - `mode` string — Payout only
    - `fee_type` string
    - `payer_name` string — bank_transfer only
    - `payer_account` string — bank_transfer only
    - `payer_ifsc` string — bank_transfer only
    - `bank_reference` string — bank_transfer only
    - `created_at` integer
  - `created_at` integer — Unix timestamp

## Other responses

- `400` — Bad request. Invalid parameters or missing required fields.
- `401` — Authentication failed. Invalid or missing API key credentials.
- `404` — Resource not found.
- `429` — Rate limit exceeded. Implement exponential backoff with jitter before retrying.
- `500` — Internal server error.

---

[API](https://skmtc.net/curlec/apis/razorpay-api.md) · [All operations](https://skmtc.net/curlec/apis/razorpay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/curlec/razorpay-api/versions/824ca9e6faef/schema)
