initConsumerAuthentication(final SubTransaction, final Integer, final Integer) method

Syntax

ConsumerAuthenticationResult initConsumerAuthentication ( final SubTransaction txn , final Integer payeeAuthenticationMethod , final Integer payerAuthenticationMethod ) throws MobiliserServiceException

Parameters

Returns

ConsumerAuthenticationResultthe result of the authentication:

Exceptions

Usage

Performs the appropriate transaction authentication initialization with the affected consumers. If the call does not return success, one of the participants authentication is asynchronous and the transaction processing should wait/stop until the transaction processing can be picked up with the new participants auth token in the request

ConsumerAuthenticationResultthe result of the authentication:
  • FAILED_BOTH: authentication is asynchronous for both participants
  • FAILED_PAYER: authentication is asynchronous for payee
  • FAILED_PAYEE: authentication is asynchronous for payer