Skip to main content
GET
/
cardaccounts
/
aggregate-balance
Aggregated card accounts balance
curl --request GET \
  --url https://access.utgl.io/v1/cardaccounts/aggregate-balance \
  --header 'Authorization: Basic <encoded-value>'
{
  "cardaccounts": [
    {
      "group": "<string>",
      "currency": "USD",
      "balance": 123,
      "value": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

groupKey
string

The key specified in card account metadata, which is used to group the card accounts by. If not specified, the aggregation includes all card accounts.

Response

200 - application/json

Successful response

cardaccounts
object[]