Pago Facil
The full list of request body parameters and possible outcomes can be found here.
#
Request a "Redirect" Oxxo paymentRequestPagoFacilSource source = RequestPagoFacilSource.builder() .country() .description() .payer(Payer.builder().build()) .build();
PaymentRequest request = PaymentRequest.pagoFacil(source, Currency.ARS, 10L);
PaymentResponse response = api.paymentsClient().requestAsync(request).get();
#
Succeed a Pago facil paymentThis functionality only works in sandbox environment.
api.pagoFacilClient().succeed("payment_id");
#
Expire a Pago facil paymentThis functionality only works in sandbox environment.
api.pagoFacilClient().expire("payment_id");