Integrate our products into your software. Let's make payment happen together!
Look at all the possibilitiesThis guide will show you how to verify if user has certain terminal clearances, OPI-DE only.
PasswordLevel:
The following code snippet demonstrates how you can check password.
TerminalDelegate terminalDelegate = new TerminalDelegate() { @Override public void onPaymentAdministrationSuccess(PaymentAdministrationResult result) { //contains code which handles a successful status call } @Override public void onError(Error error) { //contains code which handles a failed status call } }; ExternalTerminal externalTerminal = ExternalTerminal.builder() ... .passwordLevel(PasswordLevel.MANAGER) .build(); OpiDEApi opiDeService = new OpiDEService(); opiDeService.checkPassword(externalTerminal, terminalDelegate);
To check password in the same call as the transaction and terminal action, you can add the PasswordLevel to the ExternalTerminal object
ExternalTerminal externalTerminal = ExternalTerminal.builder() ... .passwordLevel(PasswordLevel.MANAGER) .build();