Returns the total spend for a card balance account within a date range
curl --request GET \
--url https://api.light.inc/v1/card-balance-accounts/{accountId}/total-spend \
--header 'Authorization: <api-key>'{
"currency": "USD",
"total": 123,
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z"
}Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
curl --request GET \
--url https://api.light.inc/v1/card-balance-accounts/{accountId}/total-spend \
--header 'Authorization: <api-key>'{
"currency": "USD",
"total": 123,
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z"
}