GET
/
v1
/
credit-types
/
list
List pricing units
curl --request GET \
  --url https://api.metronome.com/v1/credit-types/list \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "2714e483-4ff1-48e4-9e25-ac732e8f24f2",
      "name": "USD (cents)",
      "is_currency": true
    },
    {
      "id": "fa2f1b3d-9d52-4951-a099-25991fd394d6",
      "name": "cloud consumption units",
      "is_currency": false
    }
  ],
  "next_page": null
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
integer

Max number of results that should be returned

Required range: 1 <= x <= 100
next_page
string

Cursor that indicates where the next page of results should start.

Response

200 - application/json

Success

The response is of type object.