Users

User info

Returns user info

GET https://rest.any.cash/v1/user-info

This method is intended to allow a user to check their user details on Any.Cash side, namely:

- validate if API key passed in the request matches Any.Cash Wallet ID, - return FULL NAME of a user as per KYC, - user API key permissions, - return KYC-level of the user in Any.Cash.

Parameter name
Type
Description

first_name

String

user name as per KYC

last_name

String

user last name as per KYC

wallet_id

String

user`s Any.Cash wallet ID (e.g. AC522346)

kyc_status

String

KYC level of a user in Any.Cash. See KYC-status enum

api_key_permissions

Array

array of API key enabled permissions. See API-key permissions enum

Returns current wallet currencies' balances

GET https://rest.any.cash/v1/balances

This method is intended to allow a user to query their balance in fiat & crypto currencies on Any.Cash side. If a specific currency is passed in the query (query string), then only the balance of that currency will be returned. If it is not passed, then all balances will be returned.

Query Parameters

Name
Type
Description

currencies

String

currencies for which the balances are requested (if not specified, all wallet currencies' balances will be returned)

Назва параметра
Тип
Опис

balances

Array

array of balance objects

currency

String

currency code

balance

String

current balance of the currency

Last updated