cURL
curl --request GET \ --url https://api.covenance.com/sub-account/{subAccountId} \ --header 'x-api-key: <api-key>'
{ "id": "<string>", "name": "<string>", "balance": { "amountCents": 123 }, "spend": { "amountCents": 123 } }
Get the details for a single sub account by ID
OK
Show child attributes