Skip to content
  • Auto
  • Light
  • Dark
Talk to an expert

List

List pricing units
get/v1/credit-types/list

List all pricing units (known in the API by the legacy term "credit types").

Query Parameters
limitnumber
optional

Max number of results that should be returned

minimum1
maximum100
next_pagestring
optional

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

Returns
dataarray of object
next_pagestring
curl https://api.metronome.com/v1/credit-types/list \
    -H "Authorization: Bearer $METRONOME_BEARER_TOKEN"
200 Example
{
  "data": [
    {
      "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "is_currency": true,
      "name": "name"
    }
  ],
  "next_page": "next_page"
}