Skip to main content

threeDSSavedCard

function threeDSSavedCard(options): Promise<Required<ThreeDSSubmitData>>;

3DS versioning and fingerprint for a card saved in oneWallet. No Secure Fields instance needed.

Send the returned three_ds_server_trans_id in the payment call, with getBrowserData. The challenge, if any, is threeDSChallenge.

Parameters​

ParameterType
optionsThreeDSSavedCardOptions

Returns​

Promise<Required<ThreeDSSubmitData>>

Throws​

SdkError

Error CodeWhen
THREEDS_CARD_NOT_ELIGIBLEThe gateway will not authenticate this card: offer the card form. Do not retry.
THREEDS_VERSIONING_FAILEDAny other versioning failure. additionalPayload carries status and type.

Example​

Session flow

const { three_ds_server_trans_id } = await threeDSSavedCard({
walletTokenId,
clientSessionId,
apiKey,
});

See​

SecureFieldsErrors