curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
-X GET https://api.razorpay.com/v1/transactions/txn_00000000000002
{
"id":"txn_00000000000002",
"entity":"transaction",
"account_number":"7878780080316316",
"amount":1000000,
"currency":"INR",
"credit":0,
"debit":1000000,
"balance":9000000,
"source":{
// if source entity = payout, the system returns the following values.
"id":"pout_00000000000001",
"entity":"payout",
"fund_account_id":"fa_00000000000001", // end of source entity = payout.
// if source entity = bank_transfer, the system returns the following values.
"id":"bt_00000000000001",
"entity":"bank_transfer",
"payer_name":"Saurav Kumar",
"payer_account":"6543266545411243",
"payer_ifsc":"UTIB0000002",
"mode":"NEFT",
"bank_reference":"AXIR000000000001",
// end of source entity = bank_transfer.
"amount":1000000,
"notes":{
"notes_key_1": "Tea, Earl Grey, Hot",
"notes_key_2": "Tea, Earl Grey… decaf."
},
"fees":3,
"tax":1,
"status":"processed",
"utr":"000000000001",
"mode":"NEFT",
"created_at":1545224066,
"fee_type": null
},
"created_at":1545224066
}
Fetch Transactions With ID
Retrieve the details of a transaction with its id using the API.
GET
/
v1
/
transactions
/
:id
curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
-X GET https://api.razorpay.com/v1/transactions/txn_00000000000002
{
"id":"txn_00000000000002",
"entity":"transaction",
"account_number":"7878780080316316",
"amount":1000000,
"currency":"INR",
"credit":0,
"debit":1000000,
"balance":9000000,
"source":{
// if source entity = payout, the system returns the following values.
"id":"pout_00000000000001",
"entity":"payout",
"fund_account_id":"fa_00000000000001", // end of source entity = payout.
// if source entity = bank_transfer, the system returns the following values.
"id":"bt_00000000000001",
"entity":"bank_transfer",
"payer_name":"Saurav Kumar",
"payer_account":"6543266545411243",
"payer_ifsc":"UTIB0000002",
"mode":"NEFT",
"bank_reference":"AXIR000000000001",
// end of source entity = bank_transfer.
"amount":1000000,
"notes":{
"notes_key_1": "Tea, Earl Grey, Hot",
"notes_key_2": "Tea, Earl Grey… decaf."
},
"fees":3,
"tax":1,
"status":"processed",
"utr":"000000000001",
"mode":"NEFT",
"created_at":1545224066,
"fee_type": null
},
"created_at":1545224066
}
Available in🇮🇳 India🇲🇾 Malaysia🇺🇸 United States
Use this endpoint to retrieve details of a specific transaction using its id.
curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
-X GET https://api.razorpay.com/v1/transactions/txn_00000000000002
{
"id":"txn_00000000000002",
"entity":"transaction",
"account_number":"7878780080316316",
"amount":1000000,
"currency":"INR",
"credit":0,
"debit":1000000,
"balance":9000000,
"source":{
// if source entity = payout, the system returns the following values.
"id":"pout_00000000000001",
"entity":"payout",
"fund_account_id":"fa_00000000000001", // end of source entity = payout.
// if source entity = bank_transfer, the system returns the following values.
"id":"bt_00000000000001",
"entity":"bank_transfer",
"payer_name":"Saurav Kumar",
"payer_account":"6543266545411243",
"payer_ifsc":"UTIB0000002",
"mode":"NEFT",
"bank_reference":"AXIR000000000001",
// end of source entity = bank_transfer.
"amount":1000000,
"notes":{
"notes_key_1": "Tea, Earl Grey, Hot",
"notes_key_2": "Tea, Earl Grey… decaf."
},
"fees":3,
"tax":1,
"status":"processed",
"utr":"000000000001",
"mode":"NEFT",
"created_at":1545224066,
"fee_type": null
},
"created_at":1545224066
}
Path Parameters
Response Parameters
The amount transferred, in paise. The transfer can either be a credit (when you add funds to your account) or a debit (when you make a payout).
The value passed here does not include fees and tax. Fees and tax, if any, are deducted from your account balance.
The value passed here does not include fees and tax. Fees and tax, if any, are deducted from your account balance.
The amount, in paise, credited to your account. Is
0 for debit transactions (when making payouts).The amount, in paise, debited to your account. Is
0 for credit transactions (when adding funds to your account).Details of the payout made or details of the bank account from which money was added to your business account.
The unique identifier linked to the fund account. For example,
This value is returned only when the source entity is
fa_00000000000001. This value is returned only when the source entity is
payout.User-entered notes for internal reference. This is a key-value pair. You can enter a maximum of 15 key-value pairs. For example,
This value is returned only when the source entity is
"note_key": "Beam me up Scotty”. This value is returned only when the source entity is
payout.Name linked to the account making the transfer. For example,
This value is returned only when the source entity is
Saurav Kumar. This value is returned only when the source entity is
bank_transfer.The account number from which money is transferred to your business bank account. For example,
This value is returned only when the source entity is
6543266545411243. This value is returned only when the source entity is
bank_transfer.The branch IFSC from where the transfer is being made. For example,
UTIB0000002. This value is returned only when the source entity is bank_transfer.The mode used to transfer money to your business bank account. For example,
NEFT. This value is returned only when the source entity is bank_transfer.Reference from the bank from which money was transferred to your business bank account. For example,
This value is returned only when the source entity is
AXIR000000000001. This value is returned only when the source entity is
bank_transfer.The fees, in paise, for the transaction. This field is populated only when the transaction moves to the
This value is returned only when the source entity is
processing state. For example, 5. This value is returned only when the source entity is
payout.The tax, in paise, for the fee being charged. This field is populated only when the transaction moves to the
This value is returned only when the source entity is
processing state. For example, 1. This value is returned only when the source entity is
payout.The status of the transaction. A transaction can be in any of the following states:
pendingqueuedprocessingprocessedreversedcancelledrejected
payout.The unique transaction number for the transaction. For example,
This value is returned only when the source entity is
HDFCN00000000001. This value is returned only when the source entity is
payout.The payout mode. Refer to the Supported Banks and Payout Modes section for more details.
This value is returned only when the source entity is
This value is returned only when the source entity is
payout.Last modified on November 17, 2026
Was this page helpful?