curl --request GET \
--url https://sandbox-api.kotanipay.com/api/v3/onramp/{referenceId} \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Onramp status successfully retrieved.",
"data": {
"referenceId": "<string>",
"depositStatus": "PENDING",
"onchainStatus": "PENDING",
"rate": {},
"fiatAmount": 123,
"cryptoAmount": 123,
"transactionHash": "<string>",
"error": {
"message": "<string>",
"code": "<string>",
"details": {}
}
}
}This endpoint will be used to get the status of the transaction
curl --request GET \
--url https://sandbox-api.kotanipay.com/api/v3/onramp/{referenceId} \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Onramp status successfully retrieved.",
"data": {
"referenceId": "<string>",
"depositStatus": "PENDING",
"onchainStatus": "PENDING",
"rate": {},
"fiatAmount": 123,
"cryptoAmount": 123,
"transactionHash": "<string>",
"error": {
"message": "<string>",
"code": "<string>",
"details": {}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.