curl --request GET \
--url https://sandbox-api.kotanipay.com/api/v3/offramp/{referenceId} \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Offramp status retrieved",
"data": {
"referenceId": "<string>",
"fiatAmount": 123,
"fiatTransactionAmount": 123,
"cryptoAmount": 123,
"fiatCurrency": "KES",
"customerKey": "<string>",
"fiatWalletId": "<string>",
"senderAddress": "<string>",
"transactionHash": "<string>",
"transactionHashAmount": 123,
"status": "<string>",
"onchainStatus": "<string>",
"rate": {},
"escrowAddress": "<string>",
"usingIntegratedWallet": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}This endpoint will return the status of the withdrawal request.
curl --request GET \
--url https://sandbox-api.kotanipay.com/api/v3/offramp/{referenceId} \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Offramp status retrieved",
"data": {
"referenceId": "<string>",
"fiatAmount": 123,
"fiatTransactionAmount": 123,
"cryptoAmount": 123,
"fiatCurrency": "KES",
"customerKey": "<string>",
"fiatWalletId": "<string>",
"senderAddress": "<string>",
"transactionHash": "<string>",
"transactionHashAmount": 123,
"status": "<string>",
"onchainStatus": "<string>",
"rate": {},
"escrowAddress": "<string>",
"usingIntegratedWallet": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}