Charges
List charges for a plan
Retrieve all charges attached to a specific plan.
get/api/charges/plan/{planId}
Path parameters
planIdstring required
Plan ID
Response
List of charges for the plan
Example response
[
{
"id": "clx1234567890",
"planId": "clxplan123",
"billableMetricId": "clxbm123",
"chargeModel": "GRADUATED",
"billingTiming": "IN_ARREARS",
"invoiceDisplayName": "API Usage",
"minAmountCents": 100,
"graduatedRanges": [
{
"id": "clx1234567890",
"toValue": 1000,
"perUnitAmount": "0.0100",
"flatAmount": "0.0000"
}
],
"filters": [
{
"id": "clx1234567890",
"key": "region",
"values": [
"us-east"
]
}
]
}
]