Novatti API - Developer Guide
3DS Integration Guide
A step-by-step walkthrough of Novatti 3D Secure - the bundled payment flow for new integrations, and the separated flow for existing merchants.
Contents
- Overview & Why 3DS Matters
- Choose a Flow
- Bundled 3DS
- Separated Flow Overview
- Step 1 - Payer Auth Setup
- Device Data Collection
- Step 2 - Check Enrollment
- Frictionless Path: Proceed to Payment
- Challenge Path - Step-Up iframe (Browser)
- Step 3 - Validate Authentication (Challenge path only)
- Final Step - OneStepPaymentWith3DS
- 3DS with Secure Token
- ChannelType Selection Reference
- Integration Checklist
1. Overview & Why 3DS Matters
3D Secure (3DS) is an authentication protocol that verifies the cardholder's identity before authorisation. When authentication succeeds, liability for fraudulent chargebacks shifts from your merchant account to the card issuer - meaning disputes for transactions you've 3DS-authenticated are not your financial responsibility.
Novatti's 3DS implementation uses EMV 3DS 2.x. New integrations should use the bundled flow: PayerAuthSetup, browser device collection, then OneStepPayment with ThreeDSData.Action. Existing integrations can keep the separated flow: PayerAuthSetup, CheckEnrollment, optional ValidateAuth, then OneStepPaymentWith3DS. Omitting ThreeDSData.Action leaves a plain OneStepPayment unchanged.
| Benefit | Detail |
|---|---|
| Liability shift | PAResStatus: "Y" means the cardholder was fully authenticated. Whether the shift applies is PayerAuthentication.IsLiabilityShiftEligible. On the bundled flow that flag can be false even when authentication succeeds. |
| SCA / PSD2 compliance | Satisfies Strong Customer Authentication requirements for European cards. |
| Higher auth rates | Issuers are more likely to approve authenticated transactions. |
| Frictionless path | Most transactions complete without a customer challenge - no visible interruption to checkout. |
ℹ️ Card security data stays with Novatti. Raw card numbers never leave the PCI/DSS Environment. Your server passes card data once per 3DS step; Novatti handles all downstream authentication and payment communication and stores only masked identifiers between steps.
2. Choose a Flow
Both flows start with PayerAuthSetup and the browser device-data collection iframe. They diverge at payment.
| Bundled (new integrations) | Separated (existing integrations) | |
|---|---|---|
| After device collection | OneStepPayment with ThreeDSData.Action: "ENROLL_AND_PAY" and ChannelType: "07" | CheckEnrollment |
| Frictionless | Authorisation is in that same response. Do not call ValidateAuth or OneStepPaymentWith3DS. | Call OneStepPaymentWith3DS with ChannelType 05 |
| Challenge | Response code 1133 and TransactionStatus: "THREEDS_PENDING". Run the step-up iframe, then OneStepPayment with Action: "VALIDATE_AND_PAY". | ValidateAuth, then OneStepPaymentWith3DS |
| Endpoint | OneStepPayment (TransactionType stays OneStepPayment) | OneStepPaymentWith3DS for the final payment only |
1133 is the challenge path. It is not a failed payment. Continue with the step-up iframe, then the matching continuation call.
3. Bundled 3DS
Endpoint: POST /api-proxy-v1/proxy
Header.TransactionType is still OneStepPayment. This is not OneStepPaymentWith3DS. ThreeDSData.Action selects the step:
| Action | When |
|---|---|
ENROLL_AND_PAY | After PayerAuthSetup is SETUP_COMPLETED and device collection has finished (or the ~10s fallback). Runs enrollment and, when no challenge is required, authorises in the same call. |
VALIDATE_AND_PAY | After the cardholder finishes the step-up started by an ENROLL_AND_PAY challenge. Validates that challenge and authorises. |
Two references
| Value | Where it comes from | Where you send it |
|---|---|---|
| Payer-auth reference | PayerAuthSetup Transaction.MerchantTxnID, returned as AuthSetup.ReferenceID | ThreeDSData.RequestReference on both bundled calls |
| Payment reference | A new id you create for this payment | Transaction.MerchantTxnID on ENROLL_AND_PAY, and the same value on VALIDATE_AND_PAY |
EnrollmentResult.RequestReference on a challenge response is the payment MerchantTxnID, not the setup reference.
Shared setup
Call Payer Auth Setup as soon as the card number is known, then start Device Data Collection immediately. Let that hidden iframe finish while the customer fills the rest of checkout. Call ENROLL_AND_PAY when Cardinal posts profile.completed, or after the 10 second fallback if that message never arrives. Do not add a fixed wait on top of either of those.
ENROLL_AND_PAY
ChannelType must be 07. Any other channel returns 1055 on Transaction.ChannelType.
Also required:
ThreeDSData.RequestReferenceandThreeDSData.Action: "ENROLL_AND_PAY"ConsumerAuth.ReturnUrl(a valid URL)DeviceInformation- A raw card (
CardDetailswith the PAN) or a token (SecureTokenHolder). Do not send the PAN and a token together. A card-on-file token also sendsCardDetailswith onlyCardCVV- see Card, Hosted Payment Fields, and card-on-file - Payer authentication still in
SETUP_COMPLETED
{
"Header": {
"TransactionType": "OneStepPayment",
"MerchantID": "your_merchant_id",
"UserID": "123",
"Version": "2"
},
"Transaction": {
"MerchantTxnID": "PAY-1747895292",
"Currency": "AUD",
"Amount": "29000",
"ChannelType": "07",
"SurchargeAction": "APPLY"
},
"CardDetails": {
"CardHolder": "Card Holder Name",
"CardNumber": "4000000000002701", // sandbox test card - frictionless success
"CardExpiryMonth": "01",
"CardExpiryYear": "2029",
"CardCVV": "111"
},
"ThreeDSData": {
"RequestReference": "3DS-1747895291",
"Action": "ENROLL_AND_PAY"
},
"ConsumerAuth": {
"ReturnUrl": "https://yoursite.com/3ds/challenge-return"
},
"Customer": {
"EmailAddress": "test@novatti.com",
"TelNo": "4158880000",
"IPAddress": "127.0.0.1"
},
"BillingAddress": {
"CustomerName": "Card Holder Name",
"Street1": "Level 3, 461 Bourke Street",
"City": "Melbourne",
"State": "VIC",
"Zip": "3000",
"Country": "AU"
},
"DeviceInformation": {
"IPAddress": "127.0.0.1",
"HttpAcceptContent": "text/html",
"HttpBrowserLanguage": "en-AU",
"HttpBrowserJavaEnabled": "N",
"HttpBrowserJavaScriptEnabled": "Y",
"HttpBrowserColorDepth": "24",
"HttpBrowserScreenHeight": "1080",
"HttpBrowserScreenWidth": "1920",
"HttpBrowserTimeDifference": "-600",
"UserAgentBrowserValue": "Mozilla/5.0"
}
}Frictionless - payment already complete
Branch on both outcomes:
- Authentication:
AuthenticationData.OutcomeisAUTHENTICATION_SUCCESSFULandAuthenticationData.ThreeDSEventTypeisENROLLMENT_CHECK. - Authorisation:
Result.ResponseCodeis1000andResult.TransactionStatusisPAIDorAUTHORIZED.
Do not call VALIDATE_AND_PAY, ValidateAuth, or OneStepPaymentWith3DS.
{
"Result": {
"ResponseCode": "1000",
"ResponseMessage": "Request successful",
"MerchantID": "your_merchant_id",
"MerchantTxnID": "PAY-1747895292",
"PaymentID": "f5e70daa-ebcd-4bfe-bc0a-f7202a2b1785",
"Currency": "AUD",
"Amount": "29000",
"TransactionStatus": "PAID"
},
"AuthenticationData": {
"MerchantTxnID": "3DS-1747895291",
"ThreeDSEventType": "ENROLLMENT_CHECK",
"AuthTransactionID": "auth-txn-id",
"PAResStatus": "Y",
"Eci": "05",
"Outcome": "AUTHENTICATION_SUCCESSFUL",
"Timestamp": "1710000000000"
},
"MethodResult": {
"AuthCode": "831000",
"UniqueTransactionID": "cybersource-payment-id"
},
"PaymentInfo": {
"PaymentBrand": "VISA",
"Last4": "2701"
}
}AuthenticationData.MerchantTxnID is the payer-auth request reference (the setup id). Result.MerchantTxnID is the payment id.
When PayerAuthentication is present, read IsLiabilityShiftEligible. A bundled authentication can succeed without a liability shift. PAResStatus: "Y" means the cardholder was fully authenticated; it does not by itself promise a shift. Do not send ChannelType 05 or 06 on this call - those values belong to the separated final payment only.
Challenge required - 1133
Branch on response code 1133, not on the message text. Also check Result.TransactionStatus: "THREEDS_PENDING" and PayerAuthentication.Status: "ENROLLMENT_CHALLENGE_REQUIRED". EnrollmentResult.ChallengeRequired is "Y". The payment is pending, not failed. IsPaymentAllowed and IsLiabilityShiftEligible are false until validation succeeds.
EnrollmentResult.Status on this response is the processor status PENDING_AUTHENTICATION. Use PayerAuthentication.Status for your integration. EnrollmentResult.RequestReference here is the payment MerchantTxnID. On separated CheckEnrollment that same field is the setup reference. That difference is intentional.
Sandbox card 4000000000002701 is frictionless. Sandbox card 4000000000002503 takes this challenge path. The sample uses payment id PAY-1747895293.
{
"Result": {
"ResponseCode": "1133",
"ResponseMessage": "3DS authentication challenge required",
"MerchantID": "your_merchant_id",
"MerchantTxnID": "PAY-1747895293",
"PaymentID": "a1b2c3d4-ebcd-4bfe-bc0a-f7202a2b1785",
"Currency": "AUD",
"Amount": "29000",
"TransactionStatus": "THREEDS_PENDING"
},
"PayerAuthentication": {
"Status": "ENROLLMENT_CHALLENGE_REQUIRED",
"IsPaymentAllowed": false,
"IsLiabilityShiftEligible": false
},
"EnrollmentResult": {
"RequestReference": "PAY-1747895293",
"Status": "PENDING_AUTHENTICATION",
"ChallengeRequired": "Y",
"AuthTransactionID": "auth-txn-challenge",
"PAResStatus": "C",
"StepUpUrl": "https://centinelapistag.cardinalcommerce.com/V2/Cruise/StepUp",
"AccessToken": "eyJhbGci..."
}
}Render the step-up iframe exactly as in Challenge Path - Step-Up iframe: POST EnrollmentResult.AccessToken as JWT to EnrollmentResult.StepUpUrl. ACSUrl and Pareq are informational only. After the browser returns to ConsumerAuth.ReturnUrl, call VALIDATE_AND_PAY.
VALIDATE_AND_PAY
Send a new OneStepPayment with the same payment MerchantTxnID, amount, currency, ThreeDSData.RequestReference, and payment credential as ENROLL_AND_PAY. ChannelType is 07. Action is VALIDATE_AND_PAY.
Do not send ConsumerAuth, Customer, BillingAddress, or DeviceInformation on this call. The payer-auth record must be ENROLLMENT_CHALLENGE_REQUIRED and the payment must still be THREEDS_PENDING.
{
"Header": {
"TransactionType": "OneStepPayment",
"MerchantID": "your_merchant_id",
"UserID": "123",
"Version": "2"
},
"Transaction": {
"MerchantTxnID": "PAY-1747895293",
"Currency": "AUD",
"Amount": "29000",
"ChannelType": "07",
"SurchargeAction": "APPLY"
},
"CardDetails": {
"CardHolder": "Card Holder Name",
"CardNumber": "4000000000002503", // sandbox test card - successful challenge
"CardExpiryMonth": "01",
"CardExpiryYear": "2029",
"CardCVV": "111"
},
"ThreeDSData": {
"RequestReference": "3DS-1747895291",
"Action": "VALIDATE_AND_PAY"
}
}A successful validation authorises the same payment. Result.PaymentID is the id returned by ENROLL_AND_PAY. Read authorisation from Result, and authentication from AuthenticationData:
AuthenticationData.Outcome:VALIDATION_SUCCESSFULAuthenticationData.ThreeDSEventType:VALIDATIONResult.ResponseCode:1000Result.TransactionStatus:PAIDorAUTHORIZED
AuthValidation is the separated ValidateAuth block. Bundled validation does not return that block; use AuthenticationData.
{
"Result": {
"ResponseCode": "1000",
"ResponseMessage": "Request successful",
"MerchantTxnID": "PAY-1747895293",
"PaymentID": "a1b2c3d4-ebcd-4bfe-bc0a-f7202a2b1785",
"TransactionStatus": "PAID"
},
"AuthenticationData": {
"MerchantTxnID": "3DS-1747895291",
"ThreeDSEventType": "VALIDATION",
"AuthTransactionID": "auth-txn-challenge",
"PAResStatus": "Y",
"Eci": "05",
"Outcome": "VALIDATION_SUCCESSFUL"
}
}If PayerAuthentication is present, IsLiabilityShiftEligible is the liability-shift flag. Check it before you treat the sale as shifted to the issuer.
Card, Hosted Payment Fields, and card-on-file
Do not send a PAN and a token on the same call. A raw card is CardDetails only. A Hosted Payment Fields transient token is SecureTokenHolder only. A card-on-file token is SecureTokenHolder plus CardDetails that contains only CardCVV.
| Credential | CVV on ENROLL_AND_PAY | CVV on VALIDATE_AND_PAY |
|---|---|---|
Raw CardDetails | Required (CardDetails.CardCVV) | Required |
Hosted Payment Fields transient SecureToken | Not required | Not required |
Card-on-file SecureToken (from Tokenize with TokenizeAction: ADD) | Required. Send CardDetails with only CardCVV, plus SecureTokenHolder | Required again, the same way |
Separated post-3DS token payment (ChannelType 05 / 06) does not require CVV. Bundled card-on-file payment does, on both calls.
Bundled errors
Branch on Result.ResponseCode. Authentication failure and authorisation decline are different codes.
| Code | Message | Meaning |
|---|---|---|
1133 | 3DS authentication challenge required | Challenge path. Branch on the code. Continue with step-up, then VALIDATE_AND_PAY. Separated CheckEnrollment can use the shorter message 3DS challenge required for the same code. |
1045 | 3D Secure Authentication Failed | Authentication or challenge validation failed. Authorisation is not attempted. |
1047 | Missing required field: … | A bundled field is missing (ThreeDSData.RequestReference, ConsumerAuth.ReturnUrl, or DeviceInformation on ENROLL_AND_PAY). Card-on-file without CVV uses a different 1047 message: cardDetails.cardCVV is required for channel type '07' when using COF token. |
1055 | Invalid field format error: … | ThreeDSData.Action is not ENROLL_AND_PAY or VALIDATE_AND_PAY, ChannelType is not 07, or ConsumerAuth.ReturnUrl is not a valid URL. |
2104 | Payer authentication not found | ThreeDSData.RequestReference does not match a setup for this merchant. |
2103 | Payer authentication not allowed | The 3DS session is in the wrong state (for example VALIDATE_AND_PAY before a challenge, or setup was not SETUP_COMPLETED). |
2105 | Payer authentication has been used | This setup reference already completed a payment. |
1007 | Duplicate transaction identified | VALIDATE_AND_PAY MerchantTxnID, amount, or currency does not match ENROLL_AND_PAY. |
1003 | Request failed, technical error | The provider result is unknown. Reconcile the payment before retrying. |
An authorisation decline after authentication succeeded returns the mapped decline code with TransactionStatus: "FAILED". That is not 1045.
4. Separated Flow Overview
Use this path when you already integrate CheckEnrollment and OneStepPaymentWith3DS. The flow has three server-side API calls, with browser-side actions handled by your front end in between. The challenge iframe and ValidateAuth only occur on the challenge path; frictionless flows skip them and finish with OneStepPaymentWith3DS.
| Step | Who | Action | Outcome / requirement |
|---|---|---|---|
| 1 | Server | Call PayerAuthSetup with card details. | Returns AccessToken, DeviceDataCollectionUrl, and the session ReferenceID. |
| - | Browser | Render the hidden Device Data Collection (DDC) iframe. | Continue when Cardinal posts MessageType: "profile.completed"; keep a ~10s timeout as fallback. |
| 2 | Server | Call CheckEnrollment. | Returns ChallengeRequired: "N" (frictionless) or "Y" (challenge required). |
| - | Browser | POST the enrollment AccessToken as JWT to StepUpUrl in a named iframe. | Challenge path only; Cardinal posts back to your ReturnUrl. |
| 3 | Server | Call ValidateAuth after the browser postback. | Challenge path only; proceed only when IsPaymentAllowed: true. |
| → | Server | Call OneStepPaymentWith3DS with ThreeDSData.RequestReference and ChannelType "05" or "06". | Novatti retrieves the stored CAVV, ECI, and XID for authorisation. |
5. Step 1 - Payer Auth Setup
Endpoint: POST /api-proxy-v1/proxy
When to call: As soon as the customer enters their card number - before they click "Pay".
Calling early means the DDC iframe can run in the background while the customer completes the rest of checkout, minimising perceived latency.
What Novatti does: Creates a 3DS session in the PCI/DSS Environment and returns an AccessToken (for the DDC iframe), a DeviceDataCollectionUrl (the iframe target), and a ReferenceID that you must carry through every subsequent step.
// Request
{
"Header": {
"TransactionType": "PayerAuthSetup",
"MerchantID": "your_merchant_id",
"UserID": "123",
"Version": "2"
},
"Transaction": {
"MerchantTxnID": "3DS-1747895291"
},
"CardDetails": {
"CardNumber": "4000000000002503", // sandbox test card - successful challenge
"CardExpiryMonth": "01",
"CardExpiryYear": "2029"
}
}// Response
{
"Result": { "ResponseCode": "1000", "ResponseMessage": "Request successful" },
"AuthSetup": {
"ReferenceID": "3DS-1747895291", // ← keep this (RequestReference)
"AccessToken": "eyJhbGci...", // → send to browser
"DeviceDataCollectionUrl": "https://centinelapistag.cardinalcommerce.com/V1/Cruise/Collect" // → send to browser
},
"PayerAuthentication": {
"Status": "SETUP_COMPLETED",
"IsPaymentAllowed": false,
"IsLiabilityShiftEligible": false
}
}🚫 Do not proceed if
Statusis notSETUP_COMPLETED. A failed setup means no valid 3DS session exists - calling CheckEnrollment against this reference will fail.
Store identifiers server-side. Keep Setup ReferenceID for CheckEnrollment / ValidateAuth (ConsumerAuth.RequestReference). Keep the Payer Authentication MerchantTxnID from this request for payment - use it as ThreeDSData.RequestReference (it often matches AuthSetup.ReferenceID, as in the samples below).
You can also provide a SecureTokenHolder.SecureToken instead of CardDetails if the card is already tokenised or comes from Hosted Payment Form / Flex - see 12. 3DS with Secure Token.
6. Device Data Collection
Who does this: Your front end. This is not an API call. Both the bundled and the separated flow use it.
Why: The issuer needs a fingerprint from the cardholder's browser (screen size, time zone, language). Your server cannot invent it. A hidden iframe collects it. The customer does not see the iframe.
How to keep checkout fast:
| Do this | Why |
|---|---|
Call PayerAuthSetup when the card number is entered, before Pay | The iframe can run while the customer finishes the form |
POST the hidden iframe as soon as you have AccessToken and DeviceDataCollectionUrl | Starting DDC at Pay adds the whole collection wait to the click |
On MessageType: "profile.completed", call the next API at once | Bundled: ENROLL_AND_PAY. Separated: CheckEnrollment. Do not sleep after the message |
| Keep a 10 second timer only as a fallback | If the message never arrives, continue anyway. Clear the timer when the message does arrive so you do not call the next API twice |
Always send DeviceInformation on ENROLL_AND_PAY | That field is required for bundled enroll. On separated CheckEnrollment it is the fallback when DDC timed out |
Ignore message events whose event.origin is not Cardinal. Do not store the callback. The next API does not need Session Id or Status from it.
| Environment | Origin |
|---|---|
| Test / sandbox | https://centinelapistag.cardinalcommerce.com |
| Production | https://centinelapi.cardinalcommerce.com |
| Cardinal trusted client | https://client.cardinaltrusted.com |
// Start as soon as PayerAuthSetup returns. Continue once, not twice.
let settled = false;
const timeoutId = window.setTimeout(() => proceed('timeout'), 10000);
function proceed(reason) {
if (settled) return;
settled = true;
window.clearTimeout(timeoutId);
window.removeEventListener('message', onMessage);
// Bundled: ENROLL_AND_PAY. Separated: CheckEnrollment.
notifyServerDdcComplete(reason);
}
const iframe = document.createElement('iframe');
iframe.name = 'ddc-iframe';
iframe.style.display = 'none';
document.body.appendChild(iframe);
const form = document.createElement('form');
form.method = 'POST';
form.action = deviceDataCollectionUrl; // from PayerAuthSetup
form.target = 'ddc-iframe';
const input = document.createElement('input');
input.type = 'hidden';
input.name = 'JWT';
input.value = accessToken; // from PayerAuthSetup
form.appendChild(input);
document.body.appendChild(form);
form.submit();
const CARDINAL_ORIGINS = new Set([
'https://centinelapistag.cardinalcommerce.com',
'https://centinelapi.cardinalcommerce.com',
'https://client.cardinaltrusted.com'
]);
function onMessage(event) {
if (!CARDINAL_ORIGINS.has(event.origin)) return;
let data = event.data;
if (typeof data === 'string') {
try { data = JSON.parse(data); } catch (err) { return; }
}
if (data?.MessageType === 'profile.completed') proceed('postMessage');
}
window.addEventListener('message', onMessage);Example callback payload from Cardinal (none of this needs to be stored):
{
"MessageType": "profile.completed",
"Session Id": "f54ea591-51ac-48de-b908-eecf4ff6beff",
"Status": true
}ℹ️ If the 10 second fallback fires, still call the next API. For separated
CheckEnrollment, includeDeviceInformationso enrollment has a fingerprint. For bundledENROLL_AND_PAY,DeviceInformationis required on every enroll, including the fast path. Do not store the DDC callback.
7. Step 2 - Check Enrollment
Endpoint: POST /api-proxy-v1/proxy
When to call: As soon as Cardinal posts MessageType: "profile.completed", or when the 10 second DDC fallback fires. Do not add another delay. See Device Data Collection.
Send all card details, billing address, browser device information, and the ReferenceID from Step 1 as ConsumerAuth.RequestReference.
What Novatti does: Looks up the internal authentication referenceId stored from Step 1 (you never handle this internal ID), runs enrollment in the PCI/DSS Environment, and returns the decision.
// Request
{
"Header": {
"TransactionType": "CheckEnrollment",
"MerchantID": "your_merchant_id",
"UserID": "123",
"Version": "2"
},
"Transaction": {
"MerchantTxnID": "3DS-1747895291",
"Currency": "AUD",
"Amount": "29000" // amount × 1000 (e.g. 29.00 → 29000)
},
"CardDetails": {
"CardNumber": "4000000000002503", // sandbox test card - successful challenge
"CardExpiryMonth": "01",
"CardExpiryYear": "2029"
},
"Customer": {
"EmailAddress": "test@novatti.com",
"TelNo": "4158880000",
"IPAddress": "127.0.0.1"
},
"BillingAddress": {
"CustomerName": "Card Holder Name",
"Street1": "Level 3, 461 Bourke Street",
"City": "Melbourne",
"State": "VIC",
"Zip": "3000",
"Country": "AU"
},
"DeviceInformation": { // optional - supply if DDC failed
"IPAddress": "127.0.0.1",
"HttpAcceptContent": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"HttpBrowserLanguage": "en-US",
"HttpBrowserJavaEnabled": "N",
"HttpBrowserJavaScriptEnabled": "Y",
"HttpBrowserColorDepth": "24",
"HttpBrowserScreenHeight": "864",
"HttpBrowserScreenWidth": "1536",
"HttpBrowserTimeDifference": "300",
"UserAgentBrowserValue": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) ..."
},
"ConsumerAuth": {
"RequestReference": "3DS-1747895291",
"ReturnUrl": "https://yoursite.com/3ds/challenge-return"
}
}Two possible outcomes
Check EnrollmentResult.ChallengeRequired in the response to determine the next step.
✓ Frictionless - ChallengeRequired: "N"
Authentication is complete. IsPaymentAllowed: true. Skip the challenge iframe and ValidateAuth (Step 3) and go directly to 11. Final Step - OneStepPaymentWith3DS with ChannelType: "05".
{
"Result": {
"ResponseCode": "1000",
"ResponseMessage": "Request successful"
},
"EnrollmentResult": {
"Status": "AUTHENTICATION_SUCCESSFUL",
"ChallengeRequired": "N",
"RequestReference": "3DS-1747895291"
},
"PayerAuthentication": {
"Status": "AUTHENTICATION_SUCCESSFUL",
"IsPaymentAllowed": true,
"IsLiabilityShiftEligible": true
}
}⚠️ Challenge required - ChallengeRequired: "Y"
The issuer requires identity verification. IsPaymentAllowed: false. Treat 1133 / ENROLLMENT_CHALLENGE_REQUIRED as expected (not a hard failure). Proceed to the Challenge Path - POST AccessToken as JWT to StepUpUrl (ACSUrl / Pareq are informational only).
{
"Result": {
"ResponseCode": "1133",
"ResponseMessage": "3DS challenge required"
},
"EnrollmentResult": {
"Status": "PENDING_AUTHENTICATION",
"ChallengeRequired": "Y",
"StepUpUrl": "https://centinelapistag.cardinalcommerce.com/V2/Cruise/StepUp",
"AccessToken": "eyJhbGci...",
"Pareq": "eyJtZXNz...",
"ACSUrl": "https://0merchantacsstag.cardinalcommerce.com/MerchantACSWeb/creq.jsp",
"RequestReference": "3DS-1747895291"
},
"PayerAuthentication": {
"Status": "ENROLLMENT_CHALLENGE_REQUIRED",
"IsPaymentAllowed": false,
"IsLiabilityShiftEligible": false
}
}8. Frictionless Path: Proceed to Payment
If ChallengeRequired: "N", authentication is already complete. Skip the challenge iframe and ValidateAuth (Step 3) and go directly to 11. Final Step - OneStepPaymentWith3DS with:
Transaction.ChannelType: "05"ThreeDSData.RequestReference= the Payer AuthenticationMerchantTxnIDfrom Step 1
Novatti will automatically retrieve the authentication values from the 3DS session record and include them in the authorisation request in the PCI/DSS Environment.
9. Challenge Path - Step-Up iframe (Browser)
Who does this: Your front end - this is not an API call. Only required when ChallengeRequired: "Y".
Why this step exists: The card issuer has decided they want to verify the cardholder directly - typically via OTP (SMS code), a banking app push notification, or biometric verification. This happens inside an ACS (Access Control Server) iframe served by the issuer's bank. You render the iframe; the verification happens entirely between the cardholder and their bank.
How to implement it: Create a visible iframe and POST the enrollment AccessToken as a hidden JWT field to the StepUpUrl from the CheckEnrollment response. Cardinal opens the issuer ACS using fields embedded in the JWT. When complete, Cardinal POSTs back to your ReturnUrl. Do not use ACSUrl as the form action - posting to ACS directly often lands on Cardinal TermURL with a blank page. ACSUrl and Pareq are informational only.
<!-- Render visible iframe for cardholder challenge -->
<iframe id="step-up-iframe" name="step-up-iframe" width="400" height="400"></iframe>
<form method="POST" action="{StepUpUrl}" target="step-up-iframe" id="step-up-form">
<input type="hidden" name="JWT" value="{AccessToken}" />
<input type="hidden" name="MD" value="{your session reference}" />
</form>
<script>document.getElementById('step-up-form').submit();</script>ℹ️ Your
ReturnUrlhandler receives a POST from Cardinal with aJWTfield after the challenge. The iframenamemust match the formtarget. Respond with a small HTML page that callswindow.parent.postMessageto notify your parent window, then call ValidateAuth from your server (Step 3).
10. Step 3 - Validate Authentication (Challenge path only)
Endpoint: POST /api-proxy-v1/proxy
When to call: After the cardholder completes the challenge and your ReturnUrl handler receives the ACS postback. Call this from your server - do not call it from the browser or on frictionless flows.
What Novatti does: Verifies the challenge result in the PCI/DSS Environment and stores the final CAVV, ECI, and XID values against the RequestReference. Returns IsPaymentAllowed: true if the challenge passed.
// Request
{
"Header": {
"TransactionType": "ValidateAuth",
"MerchantID": "your_merchant_id",
"UserID": "123",
"Version": "2"
},
"Transaction": {
"MerchantTxnID": "3DS-1747895291"
},
"CardDetails": {
"CardNumber": "4000000000002503", // sandbox test card - successful challenge
"CardExpiryMonth": "01",
"CardExpiryYear": "2029"
},
"ConsumerAuth": {
"RequestReference": "3DS-1747895291"
}
}// Response
{
"Result": {
"ResponseCode": "1000",
"ResponseMessage": "Request successful"
},
"AuthValidation": {
"RequestReference": "3DS-1747895291",
"CAVV": "AJkBBkhgQQAAAE4gSEJydQAAAAA=",
"ECI": "05",
"XID": "AAIBBYNoEwAAACcKhAJkdQAAAAA=",
"PAResStatus": "Y",
"VEResEnrolled": "Y",
"SpecificationVersion": "2.1.0"
},
"PayerAuthentication": {
"Status": "VALIDATION_SUCCESSFUL",
"IsPaymentAllowed": true,
"IsLiabilityShiftEligible": true
}
}🚫 Do not call OneStepPayment if
IsPaymentAllowedisfalse. This means the challenge failed, the cardholder cancelled, or authentication timed out. Inform the customer and allow them to retry or use a different payment method.
11. Final Step - OneStepPaymentWith3DS
Endpoint: POST /api-proxy-v1/proxy
Use this endpoint with ThreeDSData. Include the Payer Authentication MerchantTxnID from Step 1 as ThreeDSData.RequestReference and the appropriate ChannelType. Novatti looks up the CAVV, ECI, and XID from the stored 3DS session and includes them in the authorisation automatically. This section shows CardDetails; for tokenised cards or Hosted Payment Form / Flex see 12. 3DS with Secure Token.
// Request
{
"Header": {
"TransactionType": "OneStepPayment",
"MerchantID": "your_merchant_id",
"UserID": "123",
"Version": "2"
},
"Transaction": {
"MerchantTxnID": "PAY-1747895292",
"Currency": "AUD",
"Amount": "29000",
"ChannelType": "05",
"SurchargeAction": "APPLY"
},
"CardDetails": {
"CardHolder": "Card Holder Name",
"CardNumber": "4000000000002503", // sandbox test card - successful challenge
"CardExpiryMonth": "01",
"CardExpiryYear": "2029",
"CardCVV": "111"
},
"ThreeDSData": {
"RequestReference": "3DS-1747895291"
}
}ℹ️ This endpoint only accepts
ChannelType: "05"or"06". Do not sendThreeDSData.Actionhere.ThreeDSData.RequestReferenceis always required. Bundled 3DS usesOneStepPaymentwithChannelType: "07"andAction- see Bundled 3DS. For non-3DS payments, omitThreeDSDataand use the standardOneStepPaymentendpoints.
12. 3DS with Secure Token
The samples above use raw CardDetails on the separated flow. If the card is already tokenised (Hosted Payment Form / Flex, or a Tokenize call), use SecureTokenHolder.SecureToken instead. The separated sequence is the same - only the payment credential block changes. Do not send CardDetails and SecureTokenHolder together on the separated flow.
Bundled card-on-file is different: send SecureTokenHolder and a CardDetails object that contains only CardCVV, on both ENROLL_AND_PAY and VALIDATE_AND_PAY. A Hosted Payment Fields transient token does not need CVV. See Bundled 3DS.
| CardDetails (separated flow) | Secure Token (separated flow) | |
|---|---|---|
| Credential | CardDetails (PAN / expiry; CVV on payment) | SecureTokenHolder.SecureToken only |
| 3DS steps | Setup → DDC → Enroll → (Step-Up / Validate) → Pay | Same sequence |
| Payment after 3DS | Card + CVV + ThreeDSData + ChannelType 05/06 | Token + ThreeDSData + 05/06; no CVV |
Responses (AuthSetup, EnrollmentResult, AuthValidation, PayerAuthentication) are the same as in the CardDetails path - only the request credential differs. Browser steps (Device Data Collection and Step-Up) are unchanged.
PayerAuthSetup - request
{
"Header": {
"TransactionType": "PayerAuthSetup",
"MerchantID": "your_merchant_id",
"UserID": "123",
"Version": "2"
},
"Transaction": {
"MerchantTxnID": "3DS-1747895291"
},
"SecureTokenHolder": {
"SecureToken": "eyJhbGci..." // Transient Token (HPF) or Tokenized Card
}
}CheckEnrollment - request
{
"Header": {
"TransactionType": "CheckEnrollment",
"MerchantID": "your_merchant_id",
"UserID": "123",
"Version": "2"
},
"Transaction": {
"MerchantTxnID": "3DS-1747895291",
"Currency": "AUD",
"Amount": "29000"
},
"SecureTokenHolder": {
"SecureToken": "eyJhbGci..." // Transient Token (HPF) or Tokenized Card
},
"Customer": {
"EmailAddress": "test@novatti.com",
"TelNo": "4158880000",
"IPAddress": "127.0.0.1"
},
"BillingAddress": {
"CustomerName": "Card Holder Name",
"Street1": "Level 3, 461 Bourke Street",
"City": "Melbourne",
"State": "VIC",
"Zip": "3000",
"Country": "AU"
},
"DeviceInformation": { // optional - supply if DDC failed
"IPAddress": "127.0.0.1",
"HttpAcceptContent": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"HttpBrowserLanguage": "en-US",
"HttpBrowserJavaEnabled": "N",
"HttpBrowserJavaScriptEnabled": "Y",
"HttpBrowserColorDepth": "24",
"HttpBrowserScreenHeight": "864",
"HttpBrowserScreenWidth": "1536",
"HttpBrowserTimeDifference": "300",
"UserAgentBrowserValue": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) ..."
},
"ConsumerAuth": {
"RequestReference": "3DS-1747895291",
"ReturnUrl": "https://yoursite.com/3ds/challenge-return"
}
}ValidateAuth - request (challenge path only)
{
"Header": {
"TransactionType": "ValidateAuth",
"MerchantID": "your_merchant_id",
"UserID": "123",
"Version": "2"
},
"Transaction": {
"MerchantTxnID": "3DS-1747895291"
},
"SecureTokenHolder": {
"SecureToken": "eyJhbGci..." // Transient Token (HPF) or Tokenized Card
},
"ConsumerAuth": {
"RequestReference": "3DS-1747895291"
}
}OneStepPayment - request (after 3DS)
{
"Header": {
"TransactionType": "OneStepPayment",
"MerchantID": "your_merchant_id",
"UserID": "123",
"Version": "2"
},
"Transaction": {
"MerchantTxnID": "PAY-1747895292",
"Currency": "AUD",
"Amount": "29000",
"ChannelType": "05",
"SurchargeAction": "APPLY"
},
"SecureTokenHolder": {
"SecureToken": "eyJhbGci..." // Transient Token (HPF) or Tokenized Card
},
"ThreeDSData": {
"RequestReference": "3DS-1747895291"
}
}ℹ️ After a successful 3DS authentication, post-3DS
OneStepPaymentwithSecureTokenHolderand ChannelType05/06does not require CVV - authentication already completed via 3DS.
13. ChannelType Selection Reference
ChannelType tells the payment network which 3DS path you are on.
| ChannelType | When to use | PAResStatus | Liability shift? | ThreeDSData |
|---|---|---|---|---|
07 | Bundled 3DS. Required when ThreeDSData.Action is ENROLL_AND_PAY or VALIDATE_AND_PAY. Also used for standard SSL eCommerce with no 3DS (Action omitted). | Decided inside the bundled call. Read AuthenticationData.PAResStatus and PayerAuthentication.IsLiabilityShiftEligible on the response. | Only when IsLiabilityShiftEligible is true | RequestReference and Action required for bundled; omit both for plain eCommerce |
05 | Separated flow only. 3DS fully authenticated (frictionless or challenge passed), then OneStepPaymentWith3DS | Y | Yes - full liability shift | RequestReference only. Do not send Action |
06 | Separated flow only. 3DS attempted, then OneStepPaymentWith3DS | A | Partial - scheme-dependent | RequestReference only. Do not send Action |
02 | Recurring payment | N/A | No | Omit |
08 | Stored credential (MIT) | N/A | No | Omit |
🚫 Do not attempt payment if authentication failed (
PAResStatus: "N"). There is no valid channel type for a failed authentication - the authorisation will be declined and no liability shift applies. Log the failure and ask the customer to use a different payment method or retry.
14. Integration Checklist
Bundled
| # | Item | Notes |
|---|---|---|
| 1 | Start PayerAuthSetup and the DDC iframe when the card number is entered | Call ENROLL_AND_PAY on profile.completed, or at 10 seconds if that message never arrives. Do not add another wait. See Device Data Collection |
| 2 | Keep two ids | Setup MerchantTxnID / ReferenceID → ThreeDSData.RequestReference. A different payment MerchantTxnID is reused on VALIDATE_AND_PAY |
| 3 | Call ENROLL_AND_PAY with ChannelType: "07", ConsumerAuth.ReturnUrl, and DeviceInformation | TransactionType remains OneStepPayment |
| 4 | Frictionless: stop when ResponseCode is 1000 and AuthenticationData.Outcome is AUTHENTICATION_SUCCESSFUL with TransactionStatus PAID or AUTHORIZED | Do not call VALIDATE_AND_PAY or OneStepPaymentWith3DS |
| 5 | Do not treat 1133 / THREEDS_PENDING as a failed payment | Run the step-up iframe, then VALIDATE_AND_PAY with the same payment id, amount, and currency |
| 6 | Read liability shift from PayerAuthentication.IsLiabilityShiftEligible when that object is present | Bundled authentication can succeed without a shift |
| 7 | Card and card-on-file: send CVV on both bundled calls. Hosted Payment Fields transient token: do not send CVV | See Bundled 3DS |
Separated
| # | Item | Notes |
|---|---|---|
| 1 | Call PayerAuthSetup early - as the card number is entered | Minimises checkout latency |
| 2 | Pass AccessToken and DeviceDataCollectionUrl to your front end | Required to render the DDC iframe |
| 3 | Continue on profile.completed. Use 10 seconds only if that message never arrives | Do not sleep after the message. Include DeviceInformation if the fallback fired |
| 4 | Store Setup ReferenceID and Payer Auth MerchantTxnID server-side throughout the session | ReferenceID → CheckEnrollment / ValidateAuth ConsumerAuth.RequestReference; MerchantTxnID → payment ThreeDSData.RequestReference |
| 5 | Include ConsumerAuth.ReturnUrl in CheckEnrollment | Required even if frictionless is expected |
| 6 | Check ChallengeRequired in the CheckEnrollment response | Drives the frictionless vs. challenge branch |
| 7 | Challenge path: POST JWT to StepUpUrl in a named iframe | Not ACSUrl; ACSUrl/Pareq are informational only |
| 8 | Only call ValidateAuth on the challenge path, after the ACS postback | Do not call it on frictionless flows |
| 9 | Only call OneStepPaymentWith3DS when IsPaymentAllowed: true | Check after both CheckEnrollment (frictionless) and ValidateAuth (challenge) |
| 10 | Set ChannelType: "05" for PAResStatus: "Y", "06" for PAResStatus: "A" | Do not send ThreeDSData.Action on this call |
| 11 | Always include ThreeDSData.RequestReference in OneStepPaymentWith3DS | Set to Payer Auth MerchantTxnID from Setup - required for ChannelType 05/06 |
| 12 | Test against sandbox with the Novatti 3DS test cards | Use card 4000000000002503 for a successful challenge flow |
| 13 | Tokenised / HPF-Flex: use SecureTokenHolder instead of CardDetails | Post-3DS token pay has no CVV - see 12. 3DS with Secure Token |
Novatti API Documentation · 3DS Integration Guide · Last updated September 2026