Integrate our products into your software. Let's make payment happen together!
Look at all the possibilitiesGerman Eichrecht is used to transfer the Public Key and Signed Meter Value from the POS to the terminal. The Public Key and Signed Meter Value must be sent as Hexadecimal values.
The following code snippet demonstrates how you can perform a payment with German Eichrecht.
For unattended EV-Charging terminals only.
createTerminal(ExternalTerminal.TerminalType.UNATTENDED_OPI_NL); PaymentApi paymentService = new PaymentService(); PaymentDelegate delegate = new PaymentDelegate() { @Override public void eReceipt(EReceiptRequest eReceipt) { ... } }; //Hexadecimal value String publicKey = "3031323334"; //Hexadecimal value String signedMeterValue = "3031323334"; Payment payment = Payment.builder() ... .germanEichrecht(new GermanEichrecht(publicKey, signedMeterValue)) .build(); paymentService.payment(terminal, payment, delegate);
The following code snippet demonstrates how you can perform a cardFinancialAdvice with German Eichrecht.
For unattended EV-Charging terminals only.
createTerminal(ExternalTerminal.TerminalType.UNATTENDED_OPI_NL); PaymentApi paymentService = new PaymentService(); TokenDelegate tokenDelegate = new TokenDelegate() { @Override public void eReceipt(EReceiptRequest eReceipt) { ... } }; //Hexadecimal value String publicKey = "3031323334"; //Hexadecimal value String signedMeterValue = "3031323334"; FinancialAdviceRequest financialAdviceRequest = FinancialAdviceRequest.builder() ... .germanEichrecht(new GermanEichrecht(publicKey, signedMeterValue)) .build(); paymentService.financialAdvice(terminal, financialAdviceRequest, tokenDelegate);