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
| Parameter | Type |
|---|---|
options | ThreeDSSavedCardOptions |
Returns
Promise<Required<ThreeDSSubmitData>>
Throws
SdkError
| Error Code | When |
|---|---|
| THREEDS_CARD_NOT_ELIGIBLE | The gateway will not authenticate this card: offer the card form. Do not retry. |
| THREEDS_VERSIONING_FAILED | Any other versioning failure. additionalPayload carries status and type. |
Example
Session flow
const { three_ds_server_trans_id } = await threeDSSavedCard({
walletTokenId,
clientSessionId,
apiKey,
});