GET
/
organisations
/
{id}
/
credit_balance
curl --request GET \
  --url https://api.sandbox.isometric.com/registry/v0/organisations/{id}/credit_balance \
  --header 'Authorization: Bearer <token>' \
  --header 'x-client-secret: <x-client-secret>'
{
  "project_balances": [
    {
      "project_id": "pfx_1H0G39139CF0DZB2",
      "total": {
        "active_credits_total": {
          "credit_kgs": 125632,
          "credits": 125.632
        },
        "retired_credits_total": {
          "credit_kgs": 125632,
          "credits": 125.632
        }
      }
    }
  ],
  "supplier_balances": [
    {
      "supplier_id": "pfx_1H0G39139CF0DZB2",
      "total": {
        "active_credits_total": {
          "credit_kgs": 125632,
          "credits": 125.632
        },
        "retired_credits_total": {
          "credit_kgs": 125632,
          "credits": 125.632
        }
      }
    }
  ],
  "total": {
    "active_credits_total": {
      "credit_kgs": 125632,
      "credits": 125.632
    },
    "retired_credits_total": {
      "credit_kgs": 125632,
      "credits": 125.632
    }
  }
}

Authorizations

Authorization
string
headerrequired

An JWT Bearer token header for authentication and authorization, in the format Authorization: Bearer <token>

Headers

x-client-secret
string
required

A secret token identifying the client connecting to the API

Path Parameters

id
string
required

Response

200 - application/json
project_balances
object[]
required
supplier_balances
object[]
required
total
object
required