Create a Transaction
Create a Pix, voucher, or card transaction.
Documentation Index
Fetch the complete documentation index at: https://developer.pagou.ai/llms.txt
Use this file to discover all available pages before exploring further.
Voucher payments
Usemethod: "voucher" for local payment instructions such as Boleto, SPEI, Mercado Pago, Webpay, CODI, and PSE. Do not send provider-specific method names to this endpoint.
For the complete voucher flow, supported countries, document types, and response-field guidance, see Accept Voucher Payments.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
0 < x <= 100000000Payment method to be used for the transaction.
pix, voucher, credit_card Buyer information for the transaction.
List of products associated with the transaction.
1 - 100 elementsOptional idempotency key or external reference from your system.
Transaction currency. Defaults to BRL.
ARS, BOB, BRL, CLP, COP, CRC, GTQ, MXN, PYG, PEN, USD, UYU Number of installments for the transaction when applicable.
1 <= x <= 12Optional payment token for card transactions. Use 'pgct_' for single-use or 'pgpm_' for reusable (upsell) tokens.
^(pgct_|pgpm_)Optional HTTPS URL to receive webhooks for this transaction.
2048Optional metadata string for your own reference.
Whether the transaction should be traceable for fraud or risk analysis.
IPv4 or IPv6 address of the buyer or request origin.
^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$
