Find All Accounts
GET
/api/1.01/account
Retrieves all payments accounts of an entity.
Optional Parameters
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
currency | String | No | - | Filter by currency |
Example Request
curl -X GET https://connect.relograde.com/api/1.01/account \
-H "Authorization: Bearer <token>"
Example Response
[
{
"currency": "eur",
"state": "sandbox",
"totalAmount": 8414.29
},
{
"currency": "usd",
"state": "sandbox",
"totalAmount": 9728.05
}
]
Response Fields
Field name | Field type | Field description |
---|---|---|
currency | String | Currency of the account |
state | String | State of the account |
totalAmount | Decimal | Amount of currency on the account |
Notes
note
- Currency codes follow ISO 4217 standard
- Entity will always be the entity of the user who owns the API key used
- Only accounts matching the state of the API key will be shown