Skip to main content
POST
Create a paid offer (admin+). The offer price is the only price source.

Autorizações

__session
string
cookie
obrigatório

Clerk-managed session cookie (or the first-party tryno_session bridge cookie). Sent automatically by browsers on same-origin requests.

Parâmetros de caminho

handle
string
obrigatório

Corpo

application/json
name
string
slug
string
priceCents
integer
priceCurrency
string
billingType
enum<string>
Opções disponíveis:
one_time,
subscription
provider
enum<string>
Opções disponíveis:
stripe,
mercadopago

Resposta

Created offer.

id
string
slug
string
name
string
priceCents
integer

Integer minor-unit amount (cents).

priceCurrency
string
Exemplo:

"BRL"

billingType
enum<string>
Opções disponíveis:
one_time,
subscription
provider
enum<string>
Opções disponíveis:
stripe,
mercadopago