All Cash (TICKET) payment methods offer a redirect solution (payment_method_flow = REDIRECT). The API returns a redirect_URL, which is used to redirect the user to a dLocal-hosted page. The user will be able to see the ticket in order to print it or pay using their home banking.
Using the Redirect method, the payment will have the PENDING status until the user pays the ticket, and dLocal gets notified.
The usage of the redirect_url must be with a GET operation.
Starting May 1st 2021, the redirect_url will start returning an HTTP 200 OK with the HTML content of the ticket. This will be instead of the HTTP 302 FOUND ,that used to generate a double redirect.
The example below belongs to payment using OXXO in Mexico. For a full list of TICKET payment methods available, visit the Payment Methods page.
Some alternative payment methods are available via our Direct APMs solution (payment_method_flow = DIRECT). The important parameters of a ticket are returned via API, so the merchant can build their own UI.
The example below belongs to direct payment using Boleto Bancário in Brazil. For a full list of TICKET payment methods available, visit the Payment Methods page.