v1

latestOpenAPI 3.0.1Apache 2.02026-07-248286406.8 KB
Account

Get current available balance

This GET endpoint is used to retrieve the current available balance for the MassPay account. <br> You can use this endpoint to obtain information about the current balance in your account. <br> There are no required parameters needed to access this endpoint. <br> The response will include a JSON objects containing details for the current available balance, including the token, balance and currency_code.

get/payout/account/balance

Response

successful operation

tokenstring required

Token representing your funding account. You should use this as source_token when paying out transactions.

balancenumber required

Your account's current available balance in USD

currency_codestring required

The currency the balance is stored in. Using ISO 4217 format. In most cases this value will be USD

Example response

[
  {
    "token": "8bb3693f-2f98-43dd-a990-615b6a21596d",
    "balance": 100.5,
    "currency_code": "USD"
  }
]
All 82 operations