logo
Trustly Docs
BETA

Balance

Show your Trustly account balance
Updated 1 month ago

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
{
  "method": "Balance",
  "params": {
    "Data": {
      "Username": "merchant_username",
      "Password": "merchant_password"
    },
    "Signature": "lWhTeCn7UEc0[...]bR0jwGjg==",
    "UUID": "ebec9873-1a6d-aba5-364c-03efc0ed3e5a"
  },
  "version": "1.1"
}

The response is a list of balances for all currencies that you have on your Trustly account.


Response
{
  "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"
  }
}