AuthenticationServiceAsyncImpl

Functions

Link copied to clipboard
open suspend fun retrieve(threeDSAuthenticationToken: String, requestOptions: RequestOptions): AuthenticationRetrieveResponse

open suspend fun retrieve(threeDSAuthenticationToken: String, params: ThreeDSAuthenticationRetrieveParams = ThreeDSAuthenticationRetrieveParams.none(), requestOptions: RequestOptions = RequestOptions.none()): AuthenticationRetrieveResponse

Get 3DS Authentication by token

Link copied to clipboard

Simulates a 3DS authentication request from the payment network as if it came from an ACS. If you're configured for 3DS Customer Decisioning, simulating authentications requires your customer decisioning endpoint to be set up properly (respond with a valid JSON). If the authentication decision is to challenge, ensure that the account holder associated with the card transaction has a valid phone number configured to receive the OTP code via SMS.

Link copied to clipboard
open suspend override fun simulateOtpEntry(params: ThreeDSAuthenticationSimulateOtpEntryParams, requestOptions: RequestOptions)

Endpoint for simulating entering OTP into 3DS Challenge UI. A call to /v1/three_ds_authentication/simulate that resulted in triggered SMS-OTP challenge must precede. Only a single attempt is supported; upon entering OTP, the challenge is either approved or declined.

Link copied to clipboard

Returns a view of this service with the given option modifications applied.

Link copied to clipboard

Returns a view of this service that provides access to raw HTTP responses for each method.