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

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

plan_code
string
required

Plan code.

Example:

"example_code"

applied_rate_card_code
string
required

Code of the rate card applied to the parent, returned as rate_card_code on the applied rate card.

Example:

"compute_usd"

Body

application/json

Request payload

Create rate phase.

rate_phase
object
required

Single phase to insert. If position is omitted, a finite phase is inserted before the final indefinite phase; otherwise it is appended.

Response

Successful response

rate phase response.

rate_phase
object
required

Rate Phase.