Skip to main content
POST
Adiciona opção de cobrança a um plano (admin)

Authorizations

Authorization
string
header
required

Token da sessão no cabeçalho Authorization, no formato Bearer (mesmo esquema ApiKeyAuth do contrato).

Path Parameters

id
string
required

plan uuid

Body

application/json

price payload

amount_cents
integer
required
period
enum<string>
required
Available options:
monthly,
quarterly,
annual
currency
string

Response

201 - application/json

Created

active
boolean
amount_cents
integer
currency
string
id
string
period
string
saving
integer
stripe_price_id
string