{
"lago_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"code": "example",
"position": 1,
"name": "example",
"billing_interval_cycle_count": 1,
"rate_override": {
"lago_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"rate_model": "standard",
"rate_properties": {
"amount": "1.5",
"free_units": 0,
"package_size": 100,
"rate": "1.5",
"fixed_amount": "1.5",
"free_units_per_events": 0,
"free_units_per_total_aggregation": "1.5",
"per_transaction_min_amount": "1.5",
"per_transaction_max_amount": "1.5",
"graduated_ranges": [
{
"to_value": null,
"flat_amount": "1.5",
"per_unit_amount": "1.5",
"rate": "1.5"
}
],
"volume_ranges": [
{
"to_value": null,
"flat_amount": "1.5",
"per_unit_amount": "1.5",
"rate": "1.5"
}
],
"graduated_percentage_ranges": [
{
"to_value": null,
"flat_amount": "1.5",
"per_unit_amount": "1.5",
"rate": "1.5"
}
]
},
"min_amount_cents": 100,
"billing_interval_count": 1,
"billing_interval_unit": "day",
"pricing_unit_conversion_rate": "1.5",
"deleted_at": null
},
"deleted_at": null
}Rate phases
The rate phase object
Fields of a rate phase in the Lago API. Phases chain prices over billing cycles on a plan or contract applied rate card.
API v2 is in beta. Endpoints return the
X-Lago-Endpoint-Status: beta header.Rate Phase.