SelfBilling

Start self-billing checkout

Changed on

Saves the billing details and opens the checkout that ends the caller tenant's trial.

post/portal/billing/checkout

Request

  • Base URL
    https://us.api.flexprice.io/v1
  • URL
    https://us.api.flexprice.io/v1/portal/billing/checkout
  • Auth
    API key in header x-api-key

Request body

address_citystring required
address_countrystring required
address_line1string required
address_line2string
address_postal_codestring required
address_statestring
emailstring required
namestring required
tax_idstring

Response

OK

checkout_idstring
status'initiated' | 'pending' | 'completed' | 'failed' | 'expired'
tenant_status'trialing' | 'active' | 'suspended'
terminalboolean
urlstring

Changes