Docs
Skills
Log in
API
CLI
JS Client

Get credit balance

Gets the credit available to the account, by origin.

Required permission

Organisation > Admin > Billing > Read

Response body

  • {object}
    Response object.
    • data

      {object} required
      Result data.
      • currency

        string
        The currency code.
      • total

        {object}
        The spendable credit total. Broken down by source below.
        • available

          number
          Credit available to spend now, across both sources. A Stripe balance the customer owes does not reduce this — it surfaces as an unpaid invoice instead.
        • pending

          number
          Credit granted but not yet available. Only credit grants have a pending state.
      • grants

        {object}
        Credit from Stripe credit grants, which is what a credit purchase produces.
        • available

          number
          Credit-grant balance available to spend now.
        • pending

          number
          Credit granted but not yet available.
      • customerBalance

        {object}
        Credit from a balance adjustment held against the Stripe customer.
        • amount

          number
          A balance adjustment applied directly against the customer, e.g. a manually issued credit. Positive is credit in the customer's favour; negative is an amount owed. Only the credit direction counts toward `total.available`.
      • lastSyncedAt

        string
        When the credit balance was last synchronized with Stripe.
API
CLI
JS Client

GET /v1/billing/credit-balance

GET /v1/teams/{teamId}/billing/credit-balance

Example response

200 OK

The account credit balance.

JSON

{
  "data": {
    "currency": "usd"
  }
}

© 2026 Northflank Ltd. All rights reserved.

northflank.com / Terms / Privacy / feedback@northflank.com