Integrate our products into your software. Let's make payment happen together!
Look at all the possibilitiesThis guide will show you how you can do a card read.
This is only possible for OPI-DE terminals.
The following code snippet demonstrates how you can do a card-read.
CardReadDelegate cardReadDelegate = new CardReadDelegate() {
@Override
public void onSuccess(CardReadResult result) {
//contains code which handles a successful card read
//CardReaderResult contains cardCircuit, expiryData, tracks, ageVerification
}
@Override
public void onError(Error error) {
//contains code which handles an error when performing card read call
}
};
OpiDEApi opiDEService = new OpiDEService();
opiDEService.cardRead(externalTerminal, cardReaderStatusDelegate, CardReadRequest.builder().ageVerification(AgeVerification.builder().value("16/18").extendedVerification(true).build()).build());