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