post
https://api.dlocal.com/payments//cancel
Cancel pending payments for alternative payment methods (APMs).
Cancelling REDIRECT payments before a payment method is selectedThis endpoint can also be used to cancel a payment created with the REDIRECT flow while it is still in PENDING status, even if the payer has not completed checkout yet, for example when no
payment_method_idwas specified at creation and the payer has not selected how to pay.No additional parameters are required. Use the same payment_id returned when the payment was created.
