DevelopersDocsMBXNewsroomHelp Centre
Log InSign Up
HomeDevelopersDocsMBXNewsroomHelp Centre

Docs

The Button

  • Overview
  • HTML
  • JavaScript
  • React
  • Crypto Operations
  • Invisible Money Button
  • Paymail Signatures
  • Paymail Encryption

API

OAuth

API v2

Get User Balances

Returns user's bsv and tokens balances.

Facts

AttributeValue
urlhttps://www.moneybutton.com/api/v2/me/wallets/{:walletId}/balances
http verbGET
Required scopeusers.balance:read

Attributes

URL


  • walletId: User's wallet ID. Instead of a specific walled ID, active keyword can be used for the active wallet. For example https://www.moneybutton.com/api/v2/me/wallets/active/balances.

Example Response

[{
  "amount": "91778675",
  "asset": {
    "alias": "bsv",
    "name": "Bitcoin SV"
  }
}, {
  "amount": "200",
  "asset": {
    "alias": "[email protected]",
    "name": "FWAAS Tokens",
    "paymailAlias": "fwaas",
    "paymailDomain": "moneybutton.com"
  }
}, {
  "amount": "2000000",
  "asset": {
    "alias": "[email protected]",
    "name": "Some Token",
    "paymailAlias": "e5045f6a00a2.asset",
    "paymailDomain": "moneybutton.com"
  }
}]
HomeMB for DevelopersMBXNewsroomHelp Center

Buenos Aires, Argentina - Tel Aviv, Israel - Toronto, Canada

@ 2022 MoneyButton All rights reserved