Process a new payment request
Receives a payment payload and routes it through the Orchestrator Smart Routing system.
Authorizations
Company API key. Send in the X-API-Key header.
Body
Your internal order reference (1–100 chars).
"ORD-2026-12345"
Amount in cents (R$1,00 minimum = 100)
15000
3-letter ISO currency code.
"BRL"
card, pix, billet "card"
Identify by token (existing customer) or by name + email + document (new customer).
Gateway slug to attempt first. Falls back to routing rules if not set or gateway not enabled.
pagarme, picpay, safe2pay, pagbank, stripe, asaas, erede "pagarme"
Required when payment_method is card. Provide either token/sdk_tokens (vault) or raw card fields.
Required when no card.token is provided.
Optional split rules. Each entry directs a portion of the amount to a sub-account.
Response
Payment processed successfully
approved, failed, pending "approved"
"01hvxyz..."
15000
"Payment approved."
1
"card"
"ORD-2026-12345"
"order-abc-123"
"0.05s"
"0.8s"
"0.75s"
Present when payment_method is card and status is not processing.