v1

latestOpenAPI 3.1.02026-07-261420929.5 KB

Simular Alteração de Plano de Assinatura

Simula a alteração de plano de uma assinatura.

get/subscriptions/{id}/change_plan_simulation/{plan_identifier}

Path parameters

idstring required

ID da Assinatura

plan_identifierstring required

Identificador do Plano

Response

200

costinteger
discountinteger
cyclesinteger
expires_atstring
new_planstring
old_planstring

Example response

{
  "cost": 300,
  "cycles": 1,
  "expires_at": "2024-09-15",
  "new_plan": "trimestral",
  "old_plan": "trimestral"
}