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 a Bearer token in the Authorization header.


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
Authorization string Yes Bearer token for authentication

Example Request

curl --location '<https://api.yativo.com/api/v1/wallet/balance>' \\
--header 'Authorization: Bearer YOUR_TOKEN'

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