Check Deposits Status
Request
At any given time, you are welcome to verify the status of a deposit whenever you deem it necessary. Additionally, in case of any change in a deposit's status, our system will proactively send you a notification. This notification will include the deposit's ID, enabling you to check and retrieve the latest status of the deposit efficiently.
Request Example
import axios from 'axios';
const options = {
method: 'GET',
url: 'https:/api.aqua.test.krayondigital.com/main/api/v1/deposits/{DEPOSIT_ID}',
headers: {
accept: 'application/json',
'content-type': 'application/json',
'Bearer': 'API-TOKEN'
},
};
axios
.request(options)
.then(function (response) {
console.log(response.data);
})
.catch(function (error) {
console.error(error);
});
import requests
url = "https:/api.aqua.test.krayondigital.com/main/api/v1/deposits/{DEPOSIT_ID}"
headers = {
"accept": "application/json",
"content-type": "application/json"
"Bearer": "API-TOKEN"
}
response = requests.get(url, headers=headers)
print(response.text)
Response Example
{
"data": {
"id": "8c7d6aac220c495fa50670a46b458e9d",
"organization": "org_aAgoWL5DjwSvQSf0",
"wallet": None,
"status": "PENDING",
"amount": 500.0,
"currency": "INR",
"symbol": "USDT",
"webhook_url": "https://krayondigital.webhook.com",
"type": "DEPOSIT",
"payment_method": "UPI",
"description": "this is the payment description",
"qr_code": "upi://pay?pa=INNOV781.29@CMSIDFC&pn=Krayon Digital&tn=121237361371281&tr=1278361287361287312&am=500.0&cu=INR",
"return_url": "https://www.krayondigital.com",
"redirect_url": "https://prod.teal.krayondigital/checkouts/8c7d6aac220c495fa50670a46b458e9d",
"created_at": "2023-01-01 10:57:49"
}
}
Please check deposits API ref for more information and response object fields. see more details
Updated about 1 month ago