cURL
curl --request GET \ --url https://sandbox-api.kotanipay.io/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.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
true
"Offramp status retrieved"
Show child attributes