Pular para o conteúdo principal
POST
/
plans
/
{id}
/
publish
Publish plan (draft → active)
curl --request POST \
  --url https://billing-api.sandbox.z2pay.com/plans/{id}/publish \
  --header 'x-api-key: <api-key>'

Autorizações

x-api-key
string
header
obrigatório

API Key da Credential (gerada no Backoffice)

Parâmetros de caminho

id
string
obrigatório

Plan ID

Resposta

Plan published