Skip to main content
POST
Create plan

Autorizações

Authorization
string
header
obrigatório

Send an API key or an OAuth access token in the Authorization header as a Bearer token. See Authentication for details.

Corpo

application/json
product_pid
string
obrigatório
Exemplo:

"J5bgs"

price
number
obrigatório
Intervalo necessário: x >= 0
Exemplo:

1500

name
string | null
Exemplo:

"Mensal"

description
string | null
plan_id
string | null
billing_interval
enum<string> | null
Opções disponíveis:
daily,
weekly,
monthly,
yearly
billing_interval_count
integer | null
Intervalo necessário: x >= 1
trial_days
integer | null
Intervalo necessário: x >= 0
is_active
boolean

Resposta

Plan created

The response is of type object.