Skip to main content
POST
Creates a Pix charge.

Body parameters

string
required
Unique identifier for this transaction in your application.
number
required
Transaction amount in BRL.
object
required
Customer information.
string
required
Customer full name.
string
required
Customer email address.
string
required
Customer phone number.
string
required
Customer document, such as CPF or CNPJ for Brazilian customers.
array
Products included in the transaction.
string
required
Product identifier in your application.
string
required
Product name.
number
Product quantity.
number
required
Product unit price in BRL.
boolean
Indicates whether the product is physical.
number
Shipping fee in BRL.
number
Additional fee in BRL.
number
Discount amount in BRL.
array
Payment split configuration.
string
required
Producer ID that will receive the split amount.
number
required
Amount sent to the split receiver, in BRL.
object
Free-form metadata associated with the transaction.
string
Charge due date in YYYY-MM-DD format.
string
URL that will receive payment status webhook notifications.

Request example

Payload example

Response

string
required
Transaction ID generated by the Gateway API.
string
required
Initial transaction status.
number
required
Transaction fee amount.
object
required
Order information and hosted order URL.
object
required
Pix payment information.

QR Code note

The Pix base64 field is deprecated and returns an empty string. Render the QR Code from the qrCode or code field, depending on the endpoint response.