Pular para o conteúdo principal
POST
Buy a one-time add-on

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

slug
string
obrigatório

Slug of an active one-time add-on the plan offers.

account_id
string
obrigatório

The numeric ID of the account

Corpo

application/json
quantity
integer
obrigatório

Units to buy, up to the maximum the plan allows.

Intervalo obrigatório: x >= 1

Resposta

Success

redirect_url
string<uri>

URL the customer must be sent to in order to complete the payment at the gateway.