Only register
This API can be used when only register data will be sent to the payment app to complete the registration process without any following payment operation.
The payment app will do the registration and inform the merchant(sales) app side about the result.
Call example
App2AppRequest app2AppRequest = new App2AppRequest();
RegisterParameters registerParameters = new RegisterParameters();
registerParameters.setMerchantId("SOFTPOSMERCHANT");
registerParameters.setTerminalId("TERMINAL);
registerParameters.setActivationCode("123456");
app2AppRequest.setRegisterParameters(registerParameters);
app2AppService.getOnlyRegister(app2appRequest, eventListener);
Example request
"onlyRegister": {
"registerParameters": {
"terminalId": "16010129",
"merchantId": "000000009041042",
"activationCode": "testCode"
},
}
Example response
Success
"response": {
"a2aCode":"1009",
"a2aMessage":"Registration successful",
}
Error
"response": {
"a2aCode":"1003",
"a2aMessage":"Register error : Server Error please contact with your administrator",
"errorCode":"104",
"errorMainCode":"9",
"errorSubCode":"32"
}
Updated 4 days ago