This method returns the current balance for all currencies available on the merchant's Trustly account.

Please do not use this method more than once every 15 minutes.

Request parameters:

Parameter nameDescriptionRequiredTypeExample
UsernameThe usernameYesTextjoe
PasswordThe passwordYesTextsecret

Response parameters:

Parameter nameDescriptionTypeExample
currencyThe currencyChar(3)EUR
balanceThe balance with 2 decimalsNumber10.00

📘

The response is a list of balances for all currencies that the merchant has on their Trustly account.

Example of request and response:

{
  "method": "Balance",
  "params": {
    "Data": {
      "Username": "merchant_username",
      "Password": "merchant_password"
    },
    "Signature": "lWhTeCn7UEc0[...]bR0jwGjg==",
    "UUID": "ebec9873-1a6d-aba5-364c-03efc0ed3e5a"
  },
  "version": "1.1"
}
{
  "version": "1.1",
  "result": {
    "signature": "XLoaNzXDZ9m[...]XiMBip6spu7KT0zg==",
    "method": "Balance",
    "data": [
      {
        "currency": "DKK",
        "balance": "80.64"
      },
      {
        "currency": "EUR",
        "balance": "10.83"
      },
      {
        "currency": "SEK",
        "balance": "1403.64"
      }
    ],
    "uuid": "ebec9873-1a6d-aba5-364c-03efc0ed3e5a"
  }
}