Documentation Index
Fetch the complete documentation index at: https://bancofcalifornia-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
ThreeDSecureUI.on(string eventName, func callback): undefined
Description
Attaches an event listener that is invoked when the given event occurs.Parameters
event One of the following:- failure
- challenge
- complete
- error
Events:
Failure
This event indicates that the cardholder could not be authenticated.Challenge
This event indicates that step up authentication has started and the user will need to complete a challenge. When this occurs, the UI will automatically resize.Complete
This indicates successful 3DS authentication has occurred.| Variable | Description | When Received |
|---|---|---|
| cavv | Cardholder Authentication Verification Value The value that signifies that a customer was successfully authenticated. | On all successful authentications |
| xid | A transaction identifier from authentication processing | Occasionally provided for some card brands |
| directoryServerId | A transaction identifier assigned by the directory server. | On all successful 3DS2 authentications |
| eci | A number that indicates the result of the attempt to authenticate the cardholder. Values are dependent on the card brand. | On successful authentications |
| cardHolderAuth | A string describing if a customer was successfully verified or attempted. “verified” indicates that a cardholder’s bank successfully verified the user. “attempted” indicates that a cardholder is enrolled in 3DS, but their bank does not support 3DS. Examples: verified, attempted | On successful authentications |
| threeDsVersion | Determines which version of 3DS was used. Examples: 1.0.2, 2.1.0, 2.2.0 | On all successful authentications |