POST
/
v1
/
app
/
checkout
curl --request POST \
  --url https://api.centralcart.com.br/v1/app/checkout \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "gateway": "<string>",
  "client_email": "<string>",
  "client_name": "<string>",
  "terms": true,
  "variables": {
    "client_identifier": "<string>"
  },
  "cart": [
    {
      "package_id": 123,
      "quantity": 123
    }
  ],
  "coupon": "<string>"
}'
{
  "checkout_url": "https://example.com"
}
gateway
string
required

Gateway usado para gerar o checkout: PIX, MERCADOPAGO, STRIPE, PAYPAL, PICPAY

client_email
string
required

Email do comprador ao qual o pedido será vinculado.

client_name
string
required

Nome do comprador.

terms
boolean
required

Aceite/recusa dos termos.

variables
object
required
cart
object[]
coupon
string

Cupom de desconto.

{
  "checkout_url": "https://example.com"
}