{"templateId":"markdown","versions":[{"version":"20261201","label":"(Preview) 2026-12-01","link":"/products/3ds/20261201/web/device-data","default":false,"active":false,"folderId":"9e210f12"},{"version":"v1","label":"v1","link":"/products/3ds/v1/web/device-data","default":false,"active":false,"folderId":"9e210f12"},{"version":"v2","label":"v2","link":"/products/3ds/v2/web/device-data","default":false,"active":true,"folderId":"9e210f12"},{"version":"v3","label":"v3 (Latest)","link":"/products/3ds/web/device-data","default":true,"active":false,"folderId":"9e210f12"}],"sharedDataIds":{"sidebar":"sidebar-products/3ds/sidebars.yaml","current-catalog-info":"current-catalog-info-/products/3ds/openapi","oas-products/3ds/@v2/openapi.yaml":"oas-products/3ds/@v2/openapi.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition","partial","tabs","tab","code-snippet","openapi-code-sample"]},"custom_product":"3DS","type":"markdown"},"seo":{"title":"Device Data","description":"Worldpay for Developers - docs, code examples, resources and tools. Everything you need to build your omnichannel payment solution.","siteUrl":"https://docs.worldpay.com/access","image":"/access/assets/worldpay-logo-light.21b7daf79984773a9fcd7d4fbcb07ae5289dfffd6023c4c3dca720c7058e53dc.33f780a6.svg","keywords":"documentation, api, openapi, sdks, developer, payments, json, payouts, 3ds","jsonLd":{"@context":"https://schema.org","@type":"Organization","url":"https://docs.worldpay.com/access","name":"Worldpay"},"meta":[{"name":"google-site-verification","content":"zjziIKaP3ImsqsfhYnEBnq1R85UabiSwl7HTXuwtZuo"},{"name":"doc_product","content":"Access"},{"name":"doc_category","content":"Documentation"}],"llmstxt":{"hide":false,"sections":[{"title":"Payments API","description":"Payment orchestration API combining fraud assessment, 3ds authentication, SCA exemptions, Worldpay Token creation and a card or wallet based payment.","includeFiles":["products/payments/@20240601/**/*"],"excludeFiles":[]},{"title":"Payment Queries API","description":"Querying your payments data, based on a variety of parameters.","includeFiles":["products/payment-queries/@v1/**/*"],"excludeFiles":[]},{"title":"Card BIN Data API","description":"Provides detailed information about a card.","includeFiles":["products/card-bin/@v1/**/*"],"excludeFiles":[]},{"title":"3DS Authentication API","description":"Request 3DS authentication to protect against fraud, be SCA compliant and to shift liability using this standalone API.","includeFiles":["products/3ds/@v3/**/*"],"excludeFiles":[]},{"title":"FraudSight API","description":"Request a risk assessment and receive a response with an outcome (e.g. lowRisk) using this standalone API.","includeFiles":["products/fraudsight/@v1/**/*"],"excludeFiles":[]},{"title":"Checkout SDK","description":"Integrate using our clientside SDKs for both web and native devices. Benefit from SAQ-A/PCI-SSF compliance.","includeFiles":["products/checkout/web/@v2/**/*","products/checkout/ios/@v4/**/*","products/checkout/android/@v4/**/*","products/checkout/react-native/@v3/**/*","products/checkout/flutter/@v1/**/*"],"excludeFiles":[]},{"title":"Tokens API","description":"Minimizes the exposure of sensitive card details and increases the security of your customer's card details.","includeFiles":["products/tokens/@v3/**/*"],"excludeFiles":[]},{"title":"Card Payments API","description":"Request a card payment using this standalone API, requires separate requests for 3DS, Fraud assessment etc.","includeFiles":["products/card-payments/@v7/**/*"],"excludeFiles":[]},{"title":"Card Verifications API","description":"Verify your customer's card to maximize your authentication rates.","includeFiles":["products/card-verifications/@v6/**/*"],"excludeFiles":[]},{"title":"Account Payouts API","description":"Send funds to your customer's bank accounts and search for payouts using parameters.","includeFiles":["products/account-payouts/@20250101/**/*"],"excludeFiles":[]},{"title":"APMs","description":"Pay using eWallets, bank transfers, direct debits, local card schemes, Postpay and eInvoice/ Buy Now Pay Later.","includeFiles":["products/apms/@20240701/**/*"],"excludeFiles":[]},{"title":"Balance API","description":"Request your account details for a single account or all accounts under an entity.","includeFiles":["products/balance/@20250101/**/*"],"excludeFiles":[]},{"title":"Card Payouts API","description":"Send funds to your customer's cards.","includeFiles":["products/card-payouts/@v4/**/*"],"excludeFiles":[]},{"title":"Events (Webhooks)","description":"Receive status updates from Access Worldpay by setting up a webhook.","includeFiles":["products/events/@v1/**/*"],"excludeFiles":[]},{"title":"FX API","description":"Manage Foreign Exchange (FX) on your payments.","includeFiles":["products/fx/@v1/**/*"],"excludeFiles":[]},{"title":"Hosted Payment Pages (HPP) API","description":"Our low-code option to take payments securely at the lowest PCI compliance level - SAQ A.","includeFiles":["products/hosted-payment-pages/@v1/**/*"],"excludeFiles":[]},{"title":"Money Transfers API","description":"Money Transfer OCTs (Original Credit Transaction) allow funds to be pushed to an eligible card in 30 minutes or less.","includeFiles":["products/money-transfers/@v1/**/*"],"excludeFiles":[]},{"title":"Parties API","description":"Create parties, manage your payout instruments and beneficial owners and carry out identity verification checks.","includeFiles":["products/parties/@20250101/**/*"],"excludeFiles":[]},{"title":"SCA Exemptions API","description":"Maximize a frictionless checkout experience by using issuer data insights to apply exemptions.","includeFiles":["products/sca-exemptions/@v1/**/*"],"excludeFiles":[]},{"title":"Split Payments API","description":"Divide funds from a single payment amongst yourself and your parties/sellers.","includeFiles":["products/split-payments/@20250625/**/*"],"excludeFiles":[]},{"title":"Statements API","description":"Retrieve your account statement and see individual entries for all credits and debits.","includeFiles":["products/statements/@20250101/**/*"],"excludeFiles":[]},{"title":"Transfers API","description":"Transfer funds from source account to target account.","includeFiles":["products/transfers/@20250101/**/*"],"excludeFiles":[]},{"title":"Verified Tokens API","description":"Verified Tokens ensures that your customer's payment details are valid and CIT compliant when creating a token.","includeFiles":["products/verified-tokens/@v3/**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":["openapi"],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Important"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["We have released a new version. Documentation for our latest version can be found ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/3ds/"},"children":["here"]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Last updated"]},": 09 June 2026 | ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/3ds/changelog/"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Change log"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"device-data","__idx":0},"children":["Device Data"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The card issuer uses Device Data Collection (DDC) to fingerprint the customer's device."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Along with the risk data in the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/3ds/v2/web/authentication"},"children":["authentication"]}," request, it's used to decide if a ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/3ds/v2/web/challenge-verification"},"children":["challenge"]}," is needed or if the authentication can be frictionless (no challenge displayed to your customer). This step is required for the authentication to use 3DS2."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"device-data-initialization","__idx":1},"children":["Device data initialization"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST"]}," your device data initialization request to the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["3ds:deviceDataInitialize"]}," action link."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This request creates a JSON Web Token (JWT) that is used as part of the Device Data Collection (DDC) form. The DDC form also requires the first six digits of your customer's card number (BIN). The BIN can be returned if a token resource is provided, see ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["JWT + BIN (token)"]}," request."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For consistency of integration you can also provide the full card number ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["JWT + BIN (card)"]},". It will be truncated to become the BIN in the response."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"device-data-initialization-example-request","__idx":2},"children":["Device data initialization example request"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["POST  ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://try.access.worldpay.com/verifications/customers/3ds/deviceDataInitialization"]}]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"label":"JWT only","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../code/ddc-jwt-request.json","language":"json","header":{"controls":{"copy":{}}},"lang":"json","source":"{\n    \"transactionReference\": \"unique-transactionReference\",\n    \"merchant\": {\n        \"entity\": \"default\"\n    }\n}"},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"label":"JWT + BIN (token)","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../code/ddc-jwt-request-bin-token.json","language":"json","header":{"controls":{"copy":{}}},"lang":"json","source":"{\n    \"transactionReference\": \"unique-transactionReference\",\n    \"merchant\": {\n        \"entity\": \"default\"\n    },\n    \"paymentInstrument\": {\n        \"type\": \"card/tokenized\",\n        \"href\": \"https://try.access.worldpay.com/tokens/MTIzNDU2Nzg5MDEyMzQ1Ng\"\n    }\n}"},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"label":"JWT + BIN (card)","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../code/ddc-jwt-request-bin-card.json","language":"json","header":{"controls":{"copy":{}}},"lang":"json","source":"{\n    \"transactionReference\": \"unique-transactionReference\",\n    \"merchant\": {\n        \"entity\": \"default\"\n    },\n    \"paymentInstrument\": {\n        \"type\": \"card/front\",\n        \"cardHolderName\": \"Sherlock Holmes\",\n        \"cardNumber\": \"4444333322221111\",\n        \"cardExpiryDate\": {\n            \"month\": 5,\n            \"year\": 2035\n        }\n    }\n}"},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"label":"JWT + BIN (Google Pay token)","disable":false},"children":[{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Best practice"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developers.google.com/pay/api/web/reference/request-objects#CardParameters"},"children":["Set ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["assuranceDetails"]}," to \"true\""]}," in your request when integrating with the Google Pay API, to avoid attempting authentication on an SCA compliant token. A response containing ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"cardHolderAuthenticated\": true"]}," indicates that authentication is not required and you can proceed directly to the authorization and reduce friction in your payment flow."]}]},{"$$mdtype":"Tag","name":"OpenApiCodeSample","attributes":{"descriptionFile":"oas-products/3ds/@v2/openapi.yaml","operationId":"deviceDataInitialize","exampleKey":"Initialize the device data collection for Google Pay","parameters":{},"environments":{}},"children":[]}]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":["Parameter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Mandatory"},"children":["Mandatory"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transactionReference"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✅"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A ",{"$$mdtype":"Tag","name":"b","attributes":{},"children":["unique"]}," reference for device data JWT request. for example, e-commerce order code."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["merchant.entity"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✅"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Used to route the request in Access Worldpay, created as part of on-boarding."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["paymentInstrument.type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["❌"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["An identifier for the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["paymentInstrument"]}," being used.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}," : ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["card/front"]}," ",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#device-data-initialization-example-request"},"children":["JWT + BIN (card)"]}," above"]}]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}," : ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["card/tokenized"]}," ",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[" See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#device-data-initialization-example-request"},"children":["JWT + BIN (token)"]}," above"]}]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["card/wallet+googlepay"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#device-data-initialization-example-request"},"children":["JWT + BIN (Google Pay token)"]}]}]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"device-data-initialization-response","__idx":3},"children":["Device data initialization response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To understand what these outcomes mean and how to reproduce them for testing purposes see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/3ds/v2/testing"},"children":["3DS testing"]}]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"label":"JWT + BIN","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../code/ddc-jwt-response-initialized.json","language":"json","header":{"controls":{"copy":{}}},"lang":"json","source":"{\n    \"outcome\": \"initialized\",\n    \"transactionReference\": \"unique-transactionReference\",\n    \"deviceDataCollection\": {\n        \"jwt\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJPcmdVbml0SWQiOiJPcmdVbml0IiwiaXNzIjoiYXBpSWQiLCJleHAiOjE1NjI5MjMzNDYsImlhdCI6MTU2MjkyMzQwNiwianRpIjoiYTAzMWVhOGEtN2E0Zi00YTQwLWI1NjMtOTUzMzYzMzVhZGNmIn0.0IK74OIXBxFsxqeOURJz1TFnz14ZTbFJTdTWo9cHUJQ\",\n        \"url\": \"https://ddcUrl.example.com\",\n        \"bin\": \"555555\"\n    },\n    \"_links\": {\n        \"3ds:authenticate\": {\n            \"href\": \"https://try.access.worldpay.com/verifications/customers/3ds/authentication\"\n        },\n        \"curies\": [{\n            \"href\": \"https://try.access.worldpay.com/rels/verifications/customers/3ds/{rel}\",\n            \"templated\": true,\n            \"name\": \"3ds\"\n        }]\n    }\n}"},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"label":"Google Pay token already authenticated","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../code/authentication-response-already-authenticated.json","language":"json","header":{"controls":{"copy":{}}},"lang":"json","source":"{\n  \"outcome\": \"alreadyAuthenticated\",\n  \"transactionReference\": \"Memory265-13/08/1876\"\n}"},"children":[]}]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":["Parameter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deviceDataCollection.jwt"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A digitally signed token that contains additional details required for DDC. ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Expires in 10 minutes for both Try and Production."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deviceDataCollection.url"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST"]}," action on the DDC form. Used to redirect to the issuers DDC page."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deviceDataCollection.bin"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["First six digits of the card number (Bank Identification Number), used as part of DDC. Returned if a token resource or card number is included in the request."]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In case of an error, you can get further information in our ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/reference/worldpay-error-responses"},"children":["error reference"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"device-data-collection-ddc","__idx":4},"children":["Device Data Collection (DDC)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Once you have the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["JWT"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BIN"]}," you can create and submit the DDC form."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Create an iframe with an automatic form post in order for the issuer to collect the customer's browser device data (fingerprint). A ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SessionId"]}," representing this collection is then used as part of the risk analysis by the issuer in the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/3ds/v2/web/authentication"},"children":["authentication request"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"device-data-collection-form","__idx":5},"children":["Device Data Collection form"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Here's an example of how you would set-up the DDC form in an iframe."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"<iframe height=\"1\" width=\"1\" style=\"display: none;\">\n\n    <!-- Set the action to the value in the 'deviceDataCollection.url' from the device data initialization response --->\n    <form id=\"collectionForm\" name=\"devicedata\" method=\"POST\" action=\"https://ddcUrl.example.com\">\n\n      <input type=\"hidden\" name=\"Bin\" value=\"555555\" />\n      <!-- Use value from 'deviceDataCollection.bin' from the device data initialization response or add the card number -->\n\n      <!-- Set to the value of 'deviceDataCollection.jwt' from the device data initialization response  --->\n      <input type=\"hidden\" name=\"JWT\" value=\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJPcmdVbml0SWQiOiJPcmdVbml0IiwiaXNzIjoiYXBpSWQiLCJleHAiOjE1NjI5MjMzNDYsImlhdCI6MTU2MjkyMzQwNiwianRpIjoiYTAzMWVhOGEtN2E0Zi00YTQwLWI1NjMtOTUzMzYzMzVhZGNmIn0.0IK74OIXBxFsxqeOURJz1TFnz14ZTbFJTdTWo9cHUJQ\" />\n\n      <script>\n      window.onload = function() {\n        document.getElementById('collectionForm').submit();\n      }\n      </script>\n\n    </form>\n</iframe>\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"device-data-collection-postmessage","__idx":6},"children":["Device Data Collection postMessage"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Once the DDC form is submitted and is successfully sent to the card issuer, you are notified via a ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage"},"children":["postMessage"]}," event."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For security, verify the sender's identity using the postMessage ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["origin"]}," property as detailed ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage"},"children":["here"]},"."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Environment"},"children":["Environment"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Origin"},"children":["Origin"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Try"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["https://secure-test.worldpay.com/"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Production"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["https://centinelapi.cardinalcommerce.com"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["An example postMessage response:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"{\n  \"MessageType\": \"profile.completed\",\n  \"SessionId\": \"0_3XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXX6b5\",\n  \"Status\": true\n}\n"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Key"},"children":["Key"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Value"},"children":["Value"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["messageType"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["profile.completed"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SessionId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["UUID, not present or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["undefined"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Status"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," - Use the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SessionId"]}," value in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deviceData.collectionReference"]}," as part of the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/3ds/v2/web/authentication"},"children":["Authentication request"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["false -  SessionId is empty. Either retry DDC or send the authentication request without the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deviceData.collectionReference"]},". This downgrades the authentication to 3DS1."]}]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If no postMessage is provided either retry DDC or send the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/3ds/v2/web/authentication"},"children":["Authentication request"]}," without the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deviceData.collectionReference"]},". This downgrades the authentication to 3DS1."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next steps"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/3ds/v2/web/authentication"},"children":["Authentication"]}]}]},"headings":[{"value":"Device Data","id":"device-data","depth":1},{"value":"Device data initialization","id":"device-data-initialization","depth":2},{"value":"Device data initialization example request","id":"device-data-initialization-example-request","depth":2},{"value":"Device data initialization response","id":"device-data-initialization-response","depth":3},{"value":"Device Data Collection (DDC)","id":"device-data-collection-ddc","depth":3},{"value":"Device Data Collection form","id":"device-data-collection-form","depth":3},{"value":"Device Data Collection postMessage","id":"device-data-collection-postmessage","depth":3}],"frontmatter":{"seo":{"title":"Device Data"}},"lastModified":"2026-06-09T12:04:09.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/3ds/v2/web/device-data","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}