Baloto
The full list of request body parameters and possible outcomes can be found here.
#
Request a Baloto paymentRequestBalotoSource balotoSource = RequestBalotoSource.builder() .country() .description() .payer(RequestBalotoSource.Payer.builder().build()) .build();
PaymentRequest request = PaymentRequest.baloto(balotoSource, Currency.COP, 10L);
PaymentResponse response = api.paymentsClient().requestAsync(request).get();
#
Succeed a Baloto paymentThis functionality only works in sandbox environment.
api.balotoClient().succeed(paymentId).get();
#
Expire a Baloto paymentThis functionality only works in sandbox environment.
api.balotoClient().expire(paymentId).get();