Skip to main content

Get Payins

API to retrieve the pay-in (fund deposit) transactions for the authenticated user. It returns details such as amount, payment mode, current status, bank name, transaction ID, and applicable charges. The response includes the most recent 20 transactions.

Request

curl --location 'https://api.upstox.com/v2/user/payments/payin' \
--header 'accept: application/json' \
--header 'Authorization: Bearer {your_access_token}'

Additional samples in various languages are available in the Sample Code section on this page.

Responses

Response Body

{
"status": "success",
"data": [
{
"amount": 16995.00,
"mode": "NEFT",
"status": "SUCCESS",
"currency": "INR",
"bank_name": "AXIS BANK",
"transaction_id": "qws_0426_9680091",
"created_at": "2026-04-19 16:35:36"
},
{
"amount": 100,
"mode": "UPI",
"status": "SUCCESS",
"currency": "INR",
"bank_name": "AXIS BANK",
"transaction_id": "order_Sx67XZ8jTEAHiJ",
"created_at": "2026-06-03 14:17:27"
}
]
}
NameTypeDescription
statusstringOutcome of the request.
dataarrayList of pay-in transaction records.
data[].amountnumberTransaction amount in rupees.
data[].modestringPayment mode. For e.g. NET_BANKING, UPI, QR, NEFT etc.
data[].currencystringCurrency code. Always INR.
data[].statusstringCurrent status of the pay-in. One of PENDING, SUCCESS, FAILED, CANCELLED.
data[].bank_namestringName of the bank associated with the transaction.
data[].transaction_idstringUnique identifier for the transaction.
data[].created_atstringDate and time of the transaction creation in yyyy-MM-dd HH:mm:ss format.

Sample Code

Get payins

import requests

url = 'https://api.upstox.com/v2/user/payments/payin'
headers = {
'accept': 'application/json',
'Authorization': 'Bearer {your_access_token}',
}
print(requests.get(url, headers=headers).json())
Loading...