Bank details
GET
https://api.onramp.money/onramp/api/v1/transaction/bankDetails
{
"status": 1,
"code": 200,
"data": {
"upi": "hatke@upi",
"upiAct": "bnsupi@ybl",
"upiNotes": [
{
"type": -1,
"msg": "Deposits between 11:30 PM and 4:00 AM IST may take a while to reflect in your INR wallet. Expect a delay of upto 40-50 minutes"
},
{
"type": -1,
"msg": "Phonepe is currently facing UPI issues. Please try deposting via bank transfers on PhonePe"
},
{
"type": 1,
"msg": "UPI deposit from gPay app is working"
},
{
"type": 1,
"msg": "Try Bank transfer from UPI apps if UPI deposit fails"
}
],
"bankNotes": [
{
"type": -1,
"msg": "Deposits between 11:30 PM and 4:00 AM IST may take a while to reflect in your INR wallet. Expect a delay of upto 40-50 minutes"
},
{
"type": 1,
"msg": "Bank transfers from UPI Apps like gPay, PhonePe, Paytm are working."
},
{
"type": 1,
"msg": "UPI bank transfers, IMPS, NEFT & RTGS are allowed for this account"
}
],
"bank": [
{
"ac": "59221231231234",
"ifsc": "HDFC0000075",
"type": "Current",
"name": "BUYHATKE INTERNET PRIVATE LIMITED",
"branch": "BANGALORE - AIRPORT ROAD",
"bank": "HDFC Bank"
}
]
}
}
const axios = require('axios');
let url = 'https://api.onramp.money/onramp/api/v1/transaction/bankDetails'
const bankDetails = async () => {
try {
const response = await axios.get(url);
console.log(JSON.stringify(response.data, null, 2)); // The "2" here adds indentation to the output
} catch (error) {
console.error(`Error: ${error}`);
}
};
bankDetails();
import requests
def bank_details():
url = f'https://api.onramp.money/onramp/api/v1/transaction/bankDetails'
response = requests.get(url)
if response.status_code == 200:
print(response.json())
else:
print(f"Request failed with status code {response.status_code}")
bank_details()
{
"status": 1,
"code": 200,
"data": {
"upi": {
"vpa": "Payonramp01@axisbank",
"name": "BUYHATKE INTERNET PVT LTD"
},
"upiNotes": [
{
"type": 1,
"msg": "Try Bank transfer from UPI apps if UPI deposit fails."
}
],
"bank": {
"name": "",
"accountNumber": "",
"ifsc": "",
"type": "",
"branch": "",
"bank": ""
},
"bankNotes": [
{
"type": -1,
"msg": "NEFT not allowed for this account."
},
{
"type": 1,
"msg": "Bank transfers from UPI Apps like gPay, PhonePe, Paytm are working."
},
{
"type": 1,
"msg": "UPI bank transfers, IMPS & RTGS are allowed for this account."
}
]
}
}
status -> 0 is for unsuccessful request, 1 is for a successful one
upi -> UPI handle to which the deposit needs to be made
upiAct -> used for internal purposes
upiNotes -> additional information regrading UPI and current status
bankNotes -> additional information regrading bank account and current status
bank -> Bank account details to which the deposit needs to be made.
Last updated