create3DSecureVerification

Creates a new 3D Secure verification intent.

Returns a Triple whose first slot holds the created ThreeDSecureVerification on success. When the API returns a structured error (e.g., an existing intent conflict), the second slot is populated with a ThreeDSecureVerificationError and the first slot is null. A transport-level failure populates the third slot with a NetworkingError.

Return

A Triple of (ThreeDSecureVerification?, ThreeDSecureVerificationError?, NetworkingError?).

Parameters

request

The request payload containing the payment method to verify.


Creates a new 3D Secure verification intent and delivers the result via a callback.

When the API returns a structured error (e.g., an existing intent conflict), the second parameter of completionHandler is populated with a ThreeDSecureVerificationError. A transport-level failure populates the third parameter with a NetworkingError.

Parameters

request

The request payload containing the payment method to verify.

completionHandler