Create checkout

This endpoint starts a checkout session in Pagaleve. The request must contain all information related to the customer's checkout.

This includes order, customer, shipping and billing information. Upon receiving a successful response, you will redirect the customer to the redirect_checkout_url returned in the response message

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

URL used to redirect to the e-commerce when the consumer successfully completes the checkout at Pagaleve

string
required

URL used to redirect to the e-commerce when the consumer cancels the checkout at Pagaleve

boolean

Flag to identify if the transaction is PIX upfront

metadata
object

Object with any information that needs to be retrieved later by the client.

order
object
required

Order details

string

Platform/E-commerce from which the customer is generating the order. This is an internal enumeration. Example values: VTEX, SHOPIFY, WOO_COMMERCE, etc.

string

External reference ID of the order on the platform. Will be used in payment creation.

shopper
object
required

Customer data

string

Webhook URL that will be called to notify a status change in the order.

Headers
string

The API supports idempotency for security in request retries, thus avoiding executing the same operation twice.

string

When a holding company queries subsidiary data, this field is required and must contain the subsidiary ID.

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json