Gets the monthly offer and the environment of this request, when the product enables subscriptions.

Requires active monthly sales, or staging enabled and a test payment that the server authorizes. Without this authorization, it answers 404. It does not create a charge, reservation or benefit. It does not convert the trial into a subscription. Returns: { ofertas[{id,produto,versao,preco_centavos,moeda,ciclo,renovacao_automatica,compromisso_meses,cancelamento,acesso_pago,teste_dias,conversao_teste,beneficios,hash}], simulado }

get/api/credito/assinaturas/ofertas

Request

  • Base URL
    https://editalmd.com
  • URL
    https://editalmd.com/api/credito/assinaturas/ofertas
  • Auth
    none declared

Query parameters

devstring

Signed, valid staging ticket. Optional; up to 512 characters in the query.

x402_devstring

Same ticket as dev. Use only one of these parameters per request.

Headers

X-X402-Devstring

Signed, valid staging ticket. Without it, the body flag does not authorize sandbox.

Response

{ ofertas[{id,produto,versao,preco_centavos,moeda,ciclo,renovacao_automatica,compromisso_meses,cancelamento,acesso_pago,teste_dias,conversao_teste,beneficios,hash}], simulado }

simuladoboolean required

Environment that the server authorized for this request.

Changes

No recorded changes to this operation across all 29 revisions of this API.