Endpoints
Checkout
Create checkout through the API
POST
Creates a checkout URL for a product and offer.
This endpoint depends on the
PRODUCER_CHECKOUT permission and the company setting that allows checkout creation
through the API.Body parameters
object
required
Product details.
string
required
Product ID in the external platform.
string
required
Product name.
string[]
Product photo URLs.
object
required
Offer details.
string
required
Offer name.
number
required
Offer price.
string
required
Offer type.
string
required
Accepted currency, such as
BRL, USD, or all.string
required
Language/locale, such as
pt-BR, or all.object
Optional checkout settings.
string[]
Accepted payment methods. Defaults to all methods.
string[]
Accepted documents. Defaults to CPF.
string
Post-purchase redirect URL.
boolean
Whether checkout should ask for customer address. Defaults to
false.object
Checkout colors in hex format.
object
Customer data used to prefill checkout fields.
string
Customer name.
string
Customer email.
string
Customer phone.
string
Customer document.
object
Customer address used to prefill checkout fields.
Request example
Response
boolean
required
Indicates whether the checkout was created successfully.
string
required
URL used to redirect the customer to checkout.

