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

Rate Card.

lago_id
string<uuid>
required

Unique identifier created by Lago.

Example:

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

name
string
required

Name.

Example:

"example"

code
string
required

Code.

Example:

"example"

description
string | null
required

Description.

Example:

"example"

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

product_code
string
required

Code of the priced product.

Example:

"api_requests"

product_filter_code
string | null
required

Code of the priced filter, or null for the product default.

Example:

"eu"

currency
string
required

Currency as an ISO 4217 code.

Example:

"USD"

billing_timing
enum<string>
required

When fees are billed.

Available options:
arrears,
advance
Example:

"arrears"

proration
boolean
required

Proration.

Example:

false

display_on_invoice
boolean
required

Display on invoice.

Example:

false

regroup_paid_fees
enum<string> | null
required

Whether paid advance fees are regrouped into an invoice. Null keeps fees standalone.

Available options:
invoice,
null
Example:

"invoice"

applied_pricing_unit_code
string | null
required

Applied pricing unit code.

Example:

"example"

active_rate
object | null

Present only with expands[]=active_rate. Null until a rate becomes effective.

rates
object[]

Present only with expands[]=rates. Sorted by effective_from, newest first.

taxes
object[]

Present only with expands[]=taxes.

product
object

Present only with expands[]=product.

product_filter
object | null

Present only with expands[]=product_filter.