Process a PIX payment
Payments
Process a PIX payment
Creates a PIX order and returns a QR code for the customer to complete payment.
POST
Process a PIX payment
Authorizations
Company API key. Send in the X-API-Key header.
Body
application/json
Example:
"ORD-2026-12345"
Amount in cents
Example:
15000
Example:
"BRL"
Gateway slug to attempt first. Falls back to routing rules if not set.
Example:
"pagarme"
Seconds until PIX expires (min 60)
Example:
3600
Optional split rules. Each entry directs a portion of the amount to a sub-account.
Response
PIX order created
Example:
"pending"
Example:
"01hvxyz..."
Example:
15000
Example:
"PIX generated successfully."
Example:
"pix"
Example:
"ORD-2026-12345"
Example:
"0.05s"
Example:
"0.8s"
Example:
"0.75s"