The Kushki instance that was previously initialized.
You must define this object in order to request the initialization of 3DS.
secureInitRequest
does not have the needed card length (cardNumber < 6 or cardNumber > 19) ERRORS.E018const kushkiInstance = await init({
inTest: true,
publicCredentialId: "public-merchant-id"
});
const secureInitRequest:SecureInitRequest = {
card:{
number: "card-number"
}
};
try {
const response = await requestSecureInit(kushkiInstance, request);
console.log(response);
} catch(error) {
console.log(error);
}
Generated using TypeDoc
Introduction
Function to request a secure initialization of Cardinal 3DS or Sandbox 3DS depending on the merchant settings..