Pular para o conteúdo principal
GET
Preview a plan change

Autorizações

api_access_token
string
header
obrigatório

Token de acesso do usuário (Perfil → Token de acesso). Dá acesso conforme o papel do usuário e age em nome dele.

Parâmetros de caminho

account_id
string
obrigatório

The numeric ID of the account

Parâmetros de consulta

price_id
integer
obrigatório

Price of the target plan, taken from the plan catalog.

Resposta

Success

What changing to a given price would cost, before it is confirmed.

kind
enum<string>

subscribe when there is no live subscription, upgrade when the recurring value grows, downgrade otherwise.

Opções disponíveis:
subscribe,
upgrade,
downgrade
amount_cents
integer

Amount charged now. The full price for subscribe, the prorated difference for upgrade, zero for downgrade.

next_amount_cents
integer

Recurring amount charged from the next period onwards. Absent for subscribe.

effective_at
string<date-time>

When the change applies. Now for upgrade, the end of the current period for downgrade. Absent for subscribe.