curl --request GET \
--url https://sandbox-api.kotanipay.com/api/v3/wallet/crypto \
--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 all the crypto wallets created by the integrator.
curl --request GET \
--url https://sandbox-api.kotanipay.com/api/v3/wallet/crypto \
--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"
}
]
}