Skip to main content
POST
Create a Stripe checkout session for a product purchase

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
productId
number
required

ID do produto a comprar

redirectUrl
string<uri>
required

URL de redirecionamento pós-pagamento

Response

Checkout session created

url
string

URL do checkout Stripe