POST
/
v1
/
users
/
balances
curl --request POST \
  --url https://dev.api.mufi.app/v1/users/balances \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "email": "jsmith@example.com",
  "referenceId": "jsmith@example.com"
}'
[
  {
    "address": "<string>",
    "type": "Polkadot",
    "code": 123,
    "message": "<string>",
    "generated_at": 123,
    "data": [
      {
        "asset_id": "<string>",
        "balance": "<string>",
        "name": "<string>",
        "symbol": "<string>",
        "decimals": 123,
        "lock": "<string>"
      }
    ]
  }
]

Authorizations

x-api-key
string
header
required

The API Key you were given in the developer portal. API keys are associated with your organization's project application and can have read or write permissions and an optional expiration date.

Body

application/json
This `POST` endpoint allows querying a user by `email`, `id`, or `referenceId`. Use only one field per request. If multiple fields are provided, the priority is `email`, followed by `referenceId`, and then `id`.
id
string
email
string
referenceId
string

Response

200
application/json
A successful response for user balances.
address
string
required
type
enum<string>
required
Available options:
Polkadot
code
integer
required
message
string
required
generated_at
integer
required
data
object[] | null
required