{"templateId":"markdown","versions":[{"version":"v3","label":"v3","link":"/products/tokens/detokenize","default":true,"active":true,"folderId":"13618f6a"},{"version":"v2","label":"v2","link":"/products/tokens/v2/detokenize","default":false,"active":false,"folderId":"13618f6a"},{"version":"v1","label":"v1","link":"/products/tokens/v1/detokenize","default":false,"active":false,"folderId":"13618f6a"}],"sharedDataIds":{"sidebar":"sidebar-products/tokens/sidebars.yaml","current-catalog-info":"current-catalog-info-/products/tokens/openapi"},"props":{"metadata":{"markdoc":{"tagList":["partial","admonition","tabs","tab","code-snippet"]},"custom_product":"Tokens","type":"markdown"},"seo":{"title":"Detokenize","description":"Worldpay for Developers - docs, code examples, resources and tools. Everything you need to build your omnichannel payment solution.","siteUrl":"https://docs.worldpay-bsh.securedataplatform.co.uk","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-bsh.securedataplatform.co.uk/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/**/*"]},{"title":"Payment Queries API","description":"Querying your payments data, based on a variety of parameters.","includeFiles":["products/payment-queries/@v1/**/*"]},{"title":"Card BIN Data API","description":"Provides detailed information about a card.","includeFiles":["products/card-bin/@v1/**/*"]},{"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/**/*"]},{"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/**/*"]},{"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/**/*"]},{"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/**/*"]},{"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/**/*"]},{"title":"Card Verifications API","description":"Verify your customer's card to maximize your authentication rates.","includeFiles":["products/card-verifications/@v6/**/*"]},{"title":"Account Payouts API","description":"Send funds to your customer's bank accounts and search for payouts using parameters.","includeFiles":["products/account-payouts/@20250101/**/*"]},{"title":"APMs","description":"Pay using eWallets, bank transfers, direct debits, local card schemes, Postpay and eInvoice/ Buy Now Pay Later.","includeFiles":["products/apms/@20240701/**/*"]},{"title":"Balance API","description":"Request your account details for a single account or all accounts under an entity.","includeFiles":["products/balance/@20250101/**/*"]},{"title":"Card Payouts API","description":"Send funds to your customer's cards.","includeFiles":["products/card-payouts/@v4/**/*"]},{"title":"Events (Webhooks)","description":"Receive status updates from Access Worldpay by setting up a webhook.","includeFiles":["products/events/@v1/**/*"]},{"title":"FX API","description":"Manage Foreign Exchange (FX) on your payments.","includeFiles":["products/fx/@v1/**/*"]},{"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/**/*"]},{"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/**/*"]},{"title":"Parties API","description":"Create parties, manage your payout instruments and beneficial owners and carry out identity verification checks.","includeFiles":["products/parties/@20250101/**/*"]},{"title":"SCA Exemptions API","description":"Maximize a frictionless checkout experience by using issuer data insights to apply exemptions.","includeFiles":["products/sca-exemptions/@v1/**/*"]},{"title":"Split Payments API","description":"Divide funds from a single payment amongst yourself and your parties/sellers.","includeFiles":["products/split-payments/@20250625/**/*"]},{"title":"Statements API","description":"Retrieve your account statement and see individual entries for all credits and debits.","includeFiles":["products/statements/@20250101/**/*"]},{"title":"Transfers API","description":"Transfer funds from source account to target account.","includeFiles":["products/transfers/@20250101/**/*"]},{"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/**/*"]}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Last updated"]},": 28 August 2026 | ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/tokens/changelog/"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Change log"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"detokenize","__idx":0},"children":["Detokenize"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Retrieve the underlying card numbers stored within the token."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Important"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Detokenizing exposes your business to high levels of PCI auditing, required to remain PCI compliant."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"prerequisite-steps","__idx":1},"children":["Prerequisite steps"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Please contact your account manager to request credentials for detokenization. You will receive a new set of basic authentication credentials, which are only usable for detokenization. You must maintain another set of API credentials if you wish to undertake other actions through Access Worldpay."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"token-inquiry","__idx":2},"children":["Token inquiry"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To retrieve the data stored in a token, send a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET"]}," request to the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tokens:token"]}," action link returned in the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/tokens/create-a-token#responses"},"children":["response"]}," of your ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/tokens/create-a-token#create-a-card-token-request"},"children":["create a token"]}," request. Ensure you use the API credentials provided for this purpose."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Do this if you want to collect raw card details, e.g., in advance of a token migration."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"token-inquiry-request","__idx":3},"children":["Token inquiry request"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://try.access.worldpay-bsh.securedataplatform.co.uk/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Alternatively, you can use the Token ID lookup, or the Token ID and Namespace lookup."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Adapt the Accept header to also pass masked = false, as follows: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Accept:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'application/vnd.worldpay.tokens-v3.hal+json; masked=false'"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You do not need to submit a request body for this request."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"response","__idx":4},"children":["Response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The response status is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["200 OK"]},". You receive links to your next available actions in your response. If the token is in a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["namespace"]},", you also receive the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["namespace"]}," attribute."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Sending your standard API credentials, in place of those provided for detokenization, returns a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["403 Forbidden"]}," response status."]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Card token","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"./examples/responses/detokenized-card-token.yaml","language":"json","header":{"controls":{"copy":{}}},"lang":"json","source":"  {\n  \"tokenPaymentInstrument\": {\n    \"type\": \"card/tokenized\",\n    \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/tokens/eyJrIjoxLCJkIjoia0gvT2xpdDV3WnpOZG1GTWpwemtXaGdPVU5iVmZ0Rm5TUDZuK3N1Mm5abnZtYjM3RXppMy84N2J6ZWlXYkhyUiJ9\"\n  },\n  \"tokenId\": \"9925760692793807595\",\n  \"description\": \"Token Description\",\n  \"tokenExpiryDateTime\": \"2030-01-23T10:57:01Z\",\n  \"namespace\": \"my-authenticated-shopper\",\n  \"paymentInstrument\": {\n    \"type\": \"card/front\",\n    \"cardNumber\": \"4444333322221111\",\n    \"cardHolderName\": \"Card Holder Name\",\n    \"cardExpiryDate\": {\n      \"month\": 5,\n      \"year\": 2035\n    },\n    \"bin\": \"444433\",\n    \"brand\": \"VISA\",\n    \"fundingType\": \"credit\",\n    \"billingAddress\": {\n      \"address1\": \"Address 1\",\n      \"address2\": \"Address 2\",\n      \"address3\": \"Address 3\",\n      \"postalCode\": \"Postal Code\",\n      \"city\": \"City\",\n      \"state\": \"State\",\n      \"countryCode\": \"XX\"\n    }\n  },\n  \"_links\": {\n    \"tokens:token\": {\n      \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/tokens/eyJrIjoxLCJkIjoia0gvT2xpdDV3WnpOZG1GTWpwemtXaGdPVU5iVmZ0Rm5TUDZuK3N1Mm5abnZtYjM3RXppMy84N2J6ZWlXYkhyUiJ9\"\n    },\n    \"tokens:description\": {\n      \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/tokens/eyJrIjoxLCJkIjoia0gvT2xpdDV3WnpOZG1GTWpwemtXaGdPVU5iVmZ0Rm5TUDZuK3N1Mm5abXlBdGFNaFRIdE1Oc2lybUZQeWFWOTFMR3BqVW1LaDBPdUsrYkczWEdWWWc9PSJ9\"\n    },\n    \"tokens:cardHolderName\": {\n      \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/tokens/eyJrIjoxLCJkIjoia0gvT2xpdDV3WnpOZG1GTWpwemtXaGdPVU5iVmZ0Rm5TUDZuK3N1Mm5abGFqUW1IQ2k5NWk0SEx3U0JrYWdHSWlTdTNNRkZ2V0NPN09FekprQW15cjlZRk1ySXhqaU1GV1EybnhhMFlpOE09In0\"\n    },\n    \"tokens:cardExpiryDate\": {\n      \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/tokens/eyJrIjoxLCJkIjoia0gvT2xpdDV3WnpOZG1GTWpwemtXaGdPVU5iVmZ0Rm5TUDZuK3N1Mm5abGFqUW1IQ2k5NWk0SEx3U0JrYWdHSWlTdTNNRkZ2V0NPN09FekprQW15cnhJbEp4ZXFaWHZERExEMk9CYU5iRE09In0\"\n    },\n    \"tokens:billingAddress\": {\n      \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/tokens/eyJrIjoxLCJkIjoia0gvT2xpdDV3WnpOZG1GTWpwemtXaGdPVU5iVmZ0Rm5TUDZuK3N1Mm5abGFqUW1IQ2k5NWk0SEx3U0JrYWdHSVdVYnFxcG4zdVdMalNSblJLSHJNTmZRVWlIN2ZxaU9kazlrYnNueU50Tjg9In0\"\n    },\n    \"tokens:schemeTransactionReference\": {\n      \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/tokens/eyJrIjoxLCJkIjoia0gvT2xpdDV3WnpOZG1GTWpwemtXaGdPVU5iVmZ0Rm5TUDZuK3N1Mm5abGFqUW1IQ2k5NWk0SEx3U0JrYWdHSVBHS21Ndld4RDdJS040aThMdW1TQ05xa0FrRkw2NW00aFJxd2dqQWgrSDJaZWo0TEVuZng4bFF3ZnZyVzZLZEoifQ\"\n    },\n    \"tokens:networkToken\": {\n      \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/tokens/network\"\n    },\n    \"curies\": [\n      {\n        \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/rels/tokens/{rel}.json\",\n        \"name\": \"tokens\",\n        \"templated\": true\n      }\n    ]\n  }\n }\n"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Wallet token","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"./examples/responses/example-detokenized-wallet-token.yaml","language":"json","header":{"controls":{"copy":{}}},"lang":"json","source":"  {\n    \"tokenPaymentInstrument\": {\n      \"type\": \"card/tokenized\",\n      \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ\"\n    },\n    \"tokenId\": \"9902480679618049603\",\n    \"description\": \"Test Token Description\",\n    \"tokenExpiryDateTime\": \"2021-06-24T09:19:35Z\",\n    \"paymentInstrument\": {\n      \"type\": \"card/network\",\n      \"cardNumber\": \"4818000000006530\",\n      \"last4Digits\": \"6530\",\n      \"networkType\": \"GOOGLEPAY\",\n      \"brand\": \"VISA\",\n      \"cardExpiryDate\": {\n        \"month\": 5,\n        \"year\": 2035\n      }\n    },\n    \"_links\": {\n      \"tokens:token\": {\n        \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ\"\n      },\n      \"tokens:description\": {\n        \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0MWJVbkh1WTFGZExUNXJxc04va1ZoTFVzYW1OU1lxSFE2NHI1c2JkY1pWaSJ9\"\n      },\n      \"tokens:cardExpiryDate\": {\n        \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0d3ltd21ieGo3TlZLYzRYSkExOUhSdUpLN2N3VVc5WUk3czRUTW1RQ2JLdkVpVW5GNnBsZThNTXNQWTRGbzFzTXc9PSJ9\"\n      },\n      \"tokens:schemeTransactionReference\": {\n        \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/tokens/eyJrIjoxLCJkIjoiSENXWFZQZjNIZ1V3dnpDMElJZS9Zdmc4M0pYM3dDWEJTVnQrWVlacXdDUXFFKzhzaC8xNSs2d3NkTTdFWUFNVU9tdXBmUlZGeVNDY2dPMkhKV2NIcGc9PSJ9\"\n      },\n      \"curies\": [\n        {\n          \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/rels/tokens/{rel}.json\",\n          \"name\": \"tokens\",\n          \"templated\": true\n        }\n      ]\n    }\n  }\n"},"children":[]}]}]}]},"headings":[{"value":"Detokenize","id":"detokenize","depth":1},{"value":"Prerequisite steps","id":"prerequisite-steps","depth":2},{"value":"Token inquiry","id":"token-inquiry","depth":2},{"value":"Token inquiry request","id":"token-inquiry-request","depth":3},{"value":"Response","id":"response","depth":4}],"frontmatter":{"seo":{"title":"Detokenize"}},"lastModified":"2026-09-04T15:22:38.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/tokens/detokenize","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}