Skip to main content
POST
/
v1
/
app
/
checkout
Create 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>",
  "client_phone": "<string>",
  "client_document": "<string>",
  "client_discord": "<string>",
  "terms": true,
  "fields": {},
  "cart": [
    {
      "package_id": 123,
      "quantity": 123,
      "options": {},
      "fields": {}
    }
  ],
  "coupon": "<string>"
}'
{ "checkout_url": "https://example.com" }
gateway
string
required
Gateway: PIX, MERCADOPAGO, STRIPE, PAYPAL, PICPAY, PAGSEGURO, PAGARME, OTHER
client_email
string
required
Email do comprador
client_name
string
required
Nome do comprador (nome completo)
client_phone
string
Telefone do comprador
client_document
string
Documento (CPF) do comprador
client_discord
string
Discord ID do comprador
terms
boolean
required
Aceite dos termos
fields
object
Campos de checkout (ex: client_identifier)
cart
array
package_id
number
required
ID do pacote
quantity
number
required
Quantidade
options
object
Variáveis por pacote
fields
object
Alias para options
coupon
string
Cupom de desconto
{ "checkout_url": "https://example.com" }
I