Skip to main content
GET
/
api
/
v1
/
customers
/
{externalId}
/
usage-balances
Get Usage Balances
curl --request GET \
  --url https://app.flowglad.com/api/v1/customers/{externalId}/usage-balances \
  --header 'Authorization: <api-key>'
{
  "usageMeterBalances": [
    {
      "id": "<string>",
      "createdAt": 0,
      "updatedAt": 0,
      "livemode": true,
      "organizationId": "<string>",
      "name": "<string>",
      "pricingModelId": "<string>",
      "slug": "<string>",
      "aggregationType": "sum",
      "availableBalance": 123,
      "subscriptionId": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

externalId
string
required

The external ID of the customer

Query Parameters

subscriptionId
string

Response

Successful response

usageMeterBalances
object[]
required