Show your Trustly account balance
Overview
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 example
{
"method": "Balance",
"params": {
"Data": {
"Username": "merchant_username",
"Password": "merchant_password"
},
"Signature": "lWhTeCn7UEc0[...]bR0jwGjg==",
"UUID": "ebec9873-1a6d-aba5-364c-03efc0ed3e5a"
},
"version": "1.1"
}
Request parameters
Parameter name | Description | Required | Type | Example |
---|---|---|---|---|
Username | The username | Yes | Text | joe |
Password | The password | Yes | Text | secret |
Response example
{
"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"
}
}
Response attributes
Attribute name | Description | Type | Example |
---|---|---|---|
currency | The currency | Char(3) | EUR |
balance | The balance with 2 decimals | Number | 10.00 |
The response is a list of balances for all currencies that you have on your Trustly account.