Skip to main content
API v2 is in beta. Endpoints return the X-Lago-Endpoint-Status: beta header.

Plan Applied Rate Card.

lago_id
string<uuid>
required

Unique identifier created by Lago.

Example:

"1a901a90-1a90-1a90-1a90-1a901a901a90"

plan_code
string
required

Code of the plan.

Example:

"standard"

rate_card_code
string
required

Code of the applied rate card.

Example:

"compute_usd"

product_code
string
required

Code of the product priced by the applied rate card.

Example:

"api_requests"

product_filter_code
string | null
required

Code of the product filter priced by the applied rate card, or null for the product default.

Example:

"eu"

units
string | null
required

Quantity. Sent as a decimal string.

Pattern: ^-?[0-9]+(\.[0-9]+)?$
Example:

"1.5"

created_at
string<date-time>
required

UTC creation timestamp, with microsecond precision.

Example:

"2022-04-29T08:59:51.123456Z"

updated_at
string<date-time>
required

UTC timestamp of the last update, with microsecond precision.

Example:

"2022-04-29T08:59:51.123456Z"

deleted_at
string<date-time> | null
required

UTC deletion timestamp, with microsecond precision. Null until deletion.

Example:

null