Integrate our products into your software. Let's make payment happen together!
Look at all the possibilitiesThe account verification (Zero Value Account Verification) is used to verify the validity of a card. The response of this transaction provides information about the status of the card, but not balance check if the customer has sufficient funds for a later purchase. Only supported for ApasPP/accept OPI-DE terminals.
ExternalTerminal externalTerminal = createExternalTerminal();
PaymentApi paymentService = new PaymentService();
PaymentDelegate paymentDelegate = new PaymentDelegate() {
@Override
public void onPaymentSuccess(PaymentResult result) {
// The payment is completed successful!
// The paymentResult contains all information about the transaction
}
@Override
public void onError(Error error) {
// The payment failed
// The Error object contains information about what went wrong
}
};
Payment payment = Payment
.builder()
.type(Payment.Type.ACCOUNT_VERIFICATION)
.cardCircuitCollectionRequest(CardCircuitCollectionRequest.builder().cardCircuitState(CardCircuitStateType.ACCEPTED).cardCircuitCollection(cardCircuitCollection).build())
.build();
paymentService.accountVerification(terminal, payment, delegate);