Create a voucher payment

Create a transaction with a voucher

ℹ️

Learn more about this feature in the documentation.

Environment

Method

Endpoint

Sandbox

https://apisandbox.braspag.com.br/v2/sales/

Production

https://api.braspag.com.br/v2/sales/

Currently, the supported providers are Alelo and Ticket. For testing in a Sandbox environment, use the Simulatado provider.

Provider

Characteristics

Alelo

  • Automatic capture when PaymentCapture = true or not informed;
    - Does not allow posterior capture;
    - Allow total canceling;

Ticket

  • Automatic capture when PaymentCapture = true or posterior capture (pre-authorization) when PaymentCapture = false.
    - Allows total and partial canceling/refund.
Language