Get Wallet

This API retrieves the balance details of a user's wallet for a specific currency.

Prerequisites

Before using this endpoint, ensure you have read the How to Generate a Signature guide. This guide explains the steps required to create the signature parameter needed to authenticate your request.

Key Notes

  1. The request requires a valid timestamp and signature in the query parameters.

  2. The x-api-key must be included in the request headers for authentication.

Get User Wallet Balance

GET https://nami.exchange/api/v4/user/balance

Headers

Name
Value

Content-Type

application/json

x-api-key

<Your secret key>

Query Parameters

Name
Type
Description
Required
Example

currency

integer

The currency symbol (ID).

No

1

signature

string

The signature is the secret key encoded as ASCII data. It is required for authenticating the request.

Yes

a1b2c3d4e5f6g7h8i9j0k

timestamp

date-time

The timestamp is the time the request was sent.

Yes

1670000000000

Response

{
  "status": "ok",
  "data": {
    "1": {
      "value": 0,
      "locked_value": 0,
      "type": 0
    },
    "2": {
      "value": 0,
      "locked_value": 0,
      "type": 0
    }
  }
}

Last updated