Overview

The Yativo Wallet Balance API provides endpoints to retrieve wallet balances across all supported currencies and get the total balance converted to USD. This feature allows users to monitor their multi-currency wallet holdings in real-time.

Base URL

https://api.yativo.com/api/v1

Authentication

All API requests require an API key. Send X-Api-Key and X-Api-Secret on every request. Create keys in the dashboard under Developers → API Keys (see Getting Started).


Get All Wallet Balances

Endpoint

GET /wallet/balance

Description

Retrieves detailed balance information for all currency wallets associated with your account, including currency metadata and formatting information.

Headers

Header Type Required Description
X-Api-Key string Yes Your API key (yativo_pk_...)
X-Api-Secret string Yes Your API secret (yativo_sk_...)

Example Request

curl --location 'https://api.yativo.com/api/v1/wallet/balance' \
--header 'X-Api-Key: YOUR_API_KEY' \
--header 'X-Api-Secret: YOUR_API_SECRET'

Response Structure

Success Response (200 OK)

{
    "status": "success",
    "status_code": 200,
    "message": "Request successful",
    "data": [
        {
            "name": "ARS",
            "slug": "ars",
            "description": null,
            "meta": {
                "logo": "https://cdn.yativo.com/ars.svg",
                "symbol": "$",
                "fullname": "Argentine Peso",
                "precision": "2"
            },
            "balance": "0",
            "currency": "ARS",
            "decimal_places": 2,
            "deleted_at": null
        },
        {
            "name": "USD",
            "slug": "usd",
            "description": null,
            "meta": {
                "logo": "https://catamphetamine.github.io/country-flag-icons/3x2/US.svg",
                "symbol": "$",
                "fullname": "US Dollar",
                "precision": 2
            },
            "balance": "35585",
            "currency": "USD",
            "decimal_places": 2,
            "deleted_at": null
        }
    ]
}

Response Fields Explanation