Skip to main content
GET
/
sub-account
cURL
curl --request GET \
  --url https://api.covenance.com/sub-account \
  --header 'x-api-key: <api-key>'
{
  "items": [
    {
      "id": "<string>",
      "name": "<string>",
      "balance": {
        "amountCents": 123
      },
      "spend": {
        "amountCents": 123
      }
    }
  ],
  "metadata": {
    "nextCursor": "<string>",
    "count": 123
  }
}

Authorizations

x-api-key
string
header
required

Response

OK

items
object[]
metadata
object