curl --request GET \
--url https://sandbox-api.kotanipay.com/api/v3/wallet/crypto/{id} \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Crypto Wallet has been successfully retrieved.",
"data": {
"name": "My Wallet",
"balance": 1000,
"type": "eg crypto or fiat",
"coin": "eg CUSD or USDC or USDT",
"id": "f053188c-d924-4423-bbba-871eda0b1cd9",
"privateAddress": "0x1234567890",
"publicAddress": "0x1234567890",
"address": "0x1234567890",
"customAddress": "0x1234567890",
"chain": "eg CELO or ETHEREUM or AVALANCHE or POLYGON",
"tokenBalance": [
{
"token": "USDT",
"balance": "1000",
"fiatValue": "1000"
}
],
"fiatBalance": 1000,
"fiatCurrency": "USD"
}
}This endpoint will return the crypto wallet created by the integrator by passing the wallet id.
curl --request GET \
--url https://sandbox-api.kotanipay.com/api/v3/wallet/crypto/{id} \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Crypto Wallet has been successfully retrieved.",
"data": {
"name": "My Wallet",
"balance": 1000,
"type": "eg crypto or fiat",
"coin": "eg CUSD or USDC or USDT",
"id": "f053188c-d924-4423-bbba-871eda0b1cd9",
"privateAddress": "0x1234567890",
"publicAddress": "0x1234567890",
"address": "0x1234567890",
"customAddress": "0x1234567890",
"chain": "eg CELO or ETHEREUM or AVALANCHE or POLYGON",
"tokenBalance": [
{
"token": "USDT",
"balance": "1000",
"fiatValue": "1000"
}
],
"fiatBalance": 1000,
"fiatCurrency": "USD"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.