Skip to main content

Pago Facil

The full list of request body parameters and possible outcomes can be found here.

Request a "Redirect" Oxxo payment#

RequestPagoFacilSource 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 payment#

This functionality only works in sandbox environment.

api.pagoFacilClient().succeed("payment_id");

Expire a Pago facil payment#

This functionality only works in sandbox environment.

api.pagoFacilClient().expire("payment_id");