{"templateId":"markdown","versions":[{"version":"v1","label":"v1","link":"/products/tokens/v1/query-and-update-tokens","default":false,"active":true,"folderId":"13618f6a"},{"version":"v2","label":"v2","link":"/products/tokens/v2/query-and-update-tokens","default":false,"active":false,"folderId":"13618f6a"},{"version":"v3","label":"v3","link":"/products/tokens/query-and-update-tokens","default":true,"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","code-snippet"]},"custom_product":"Tokens","type":"markdown"},"seo":{"title":"Query and update tokens","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":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Last updated"]},": 12 May 2025 | ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/access/products/tokens/changelog/"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Change log"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"query-and-update-tokens","__idx":0},"children":["Query and update tokens"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Find and change the details of your customer's tokens."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"token-inquiry","__idx":1},"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":"a","attributes":{"href":"/access/products/tokens/v1/create-a-token#responses"},"children":["response"]}," of your ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/access/products/tokens/v1/create-a-token#create-a-token-request"},"children":["create a token"]}," request."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Do this if you want to display the tokenized card details to your customer on a payment page, or if you need the next available action links in order to update your customer's details."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["By default, all sensitive PCI details are masked in the response. If you wish the raw card details to be returned in the response, see ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/access/products/tokens/v1/detokenize"},"children":["detokenize"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If the token is in a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["namespace"]},", the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["namespace"]}," attribute is also returned. To retrieve all tokens in the same ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["namespace"]},", you must send a ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"#token-namespace-inquiry-request"},"children":["namespace token inquiry"]}," request."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"token-inquiry-request","__idx":2},"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.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["No request body is needed for this request."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"response","__idx":3},"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."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"./code/token-response.json","language":"json","header":{"controls":{"copy":{}}},"lang":"json","source":"{\r\n    \"tokenPaymentInstrument\": {\r\n        \"type\": \"card/tokenized\",\r\n        \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ\"\r\n    },\r\n    \"tokenId\": \"9902480679618049603\",\r\n    \"description\": \"Test Token Description\",\r\n    \"tokenExpiryDateTime\": \"2021-06-24T09:19:35Z\",\r\n    \"paymentInstrument\": {\r\n        \"type\": \"card/masked\",\r\n        \"cardNumber\": \"4444********1111\",\r\n        \"cardHolderName\": \"Testy McTester\",\r\n        \"cardExpiryDate\": {\r\n            \"month\": 5,\r\n            \"year\": 2035\r\n        },\r\n        \"billingAddress\": {\r\n            \"address1\": \"Worldpay\",\r\n            \"address2\": \"1 Milton Road\",\r\n            \"address3\": \"The Science Park\",\r\n            \"postalCode\": \"CB4 0WE\",\r\n            \"city\": \"Cambridge\",\r\n            \"state\": \"Cambridgeshire\",\r\n            \"countryCode\": \"GB\"\r\n        }\r\n    },\r\n    \"_links\": {\r\n        \"tokens:token\": {\r\n            \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ\"\r\n        },\r\n        \"tokens:description\": {\r\n            \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0MWJVbkh1WTFGZExUNXJxc04va1ZoTFVzYW1OU1lxSFE2NHI1c2JkY1pWaSJ9\"\r\n        },\r\n        \"tokens:cardHolderName\": {\r\n            \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0d3ltd21ieGo3TlZLYzRYSkExOUhSdUpLN2N3VVc5WUk3czRUTW1RQ2JLdjFnVXlzakdPSXdWWkRhZkZyUmlMd3c9PSJ9\"\r\n        },\r\n        \"tokens:cardExpiryDate\": {\r\n            \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0d3ltd21ieGo3TlZLYzRYSkExOUhSdUpLN2N3VVc5WUk3czRUTW1RQ2JLdkVpVW5GNnBsZThNTXNQWTRGbzFzTXc9PSJ9\"\r\n        },\r\n        \"tokens:billingAddress\": {\r\n            \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0d3ltd21ieGo3TlZLYzRYSkExOUhSdFpSdXFxbWZlNVl1TkpHZEVvZXN3MTlCU0lmdCtxSTUyVDJSdXlmSTIwM3c9PSJ9\"\r\n        },\r\n        \"tokens:schemeTransactionReference\": {\r\n            \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiSENXWFZQZjNIZ1V3dnpDMElJZS9Zdmc4M0pYM3dDWEJTVnQrWVlacXdDUXFFKzhzaC8xNSs2d3NkTTdFWUFNVU9tdXBmUlZGeVNDY2dPMkhKV2NIcGc9PSJ9\"\r\n        },\r\n        \"curies\": [{\r\n            \"href\": \"https://try.access.worldpay.com/rels/tokens/{rel}.json\",\r\n            \"name\": \"tokens\",\r\n            \"templated\": true\r\n        }]\r\n    }\r\n}"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"token-namespace-inquiry-request","__idx":4},"children":["Token namespace inquiry request"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Query the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tokens:tokens"]}," action link from the tokens root resource with the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["namespace"]}," as a query parameter."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://try.access.worldpay.com/tokens?namespace=my-namespace"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Remember"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Replace ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["my-namespace"]}," in the URL with the token namespace."]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["No request body is needed for this request."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"response-1","__idx":5},"children":["Response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The response status is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["200 OK"]}," and you receive an embedded list of tokens in the given namespace. Each token has its own links to its next available actions."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"./code/retrieve-namespace-tokens-response.json","language":"json","header":{"controls":{"copy":{}}},"lang":"json","source":"{\n    \"_embedded\": {\n        \"tokens\": [{\n                \"tokenPaymentInstrument\": {\n                    \"type\": \"card/tokenized\",\n                    \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiVzFTTDVldnlHZHpaZDQ4Z0hhczRGWEhtU1hZcmdRVVpvLyt2L0lFdkxqRFAwR1pkS2hFUHFMSmFiVmp4ZitXMVdWVGh3SEFXOUhJaUYwWHhmYW5lY3c9PSJ9\"\n                },\n                \"tokenId\": \"9902480679618049603\",\n                \"description\": \"Test Token Description\",\n                \"tokenExpiryDateTime\": \"2021-06-24T14:12:30Z\",\n                \"namespace\": \"my-namespace\",\n                \"paymentInstrument\": {\n                    \"type\": \"card/masked\",\n                    \"cardNumber\": \"4444********1111\",\n                    \"cardHolderName\": \"John Appleseed\",\n                    \"cardExpiryDate\": {\n                        \"month\": 5,\n                        \"year\": 2035\n                    },\n                    \"billingAddress\": {\n                        \"address1\": \"Worldpay\",\n                        \"address2\": \"1 Milton Road\",\n                        \"address3\": \"The Science Park\",\n                        \"postalCode\": \"CB4 0WE\",\n                        \"city\": \"Cambridge\",\n                        \"state\": \"Cambridgeshire\",\n                        \"countryCode\": \"GB\"\n                    }\n                },\n                \"_links\": {\n                    \"tokens:token\": {\n                        \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiVzFTTDVldnlHZHpaZDQ4Z0hhczRGWEhtU1hZcmdRVVpvLyt2L0lFdkxqRFAwR1pkS2hFUHFMSmFiVmp4ZitXMVdWVGh3SEFXOUhJaUYwWHhmYW5lY3c9PSJ9\"\n                    },\n                    \"tokens:description\": {\n                        \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiVzFTTDVldnlHZHpaZDQ4Z0hhczRGWEhtU1hZcmdRVVpvLyt2L0lFdkxqRFAwR1pkS2hFUHFMSmFiVmp4ZitXMXBDOGVSd3MydUJMSjVwRzVNanBqbGNxSGsrdytmcWwwRExsS0o3YjNsbkU9In0\"\n                    },\n                    \"tokens:cardHolderName\": {\n                        \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiVzFTTDVldnlHZHpaZDQ4Z0hhczRGWEhtU1hZcmdRVVpvLyt2L0lFdkxqRFAwR1pkS2hFUHFMSmFiVmp4ZitXMUlMK0ljWkcxS3ZuQW02RFh4ZjduaGRRYWhKQXYrcTlLdmdCTW1STGFLZzV3dW82bXo3WENkdTJKRzhmK3AyMjkifQ\"\n                    },\n                    \"tokens:cardExpiryDate\": {\n                        \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiVzFTTDVldnlHZHpaZDQ4Z0hhczRGWEhtU1hZcmdRVVpvLyt2L0lFdkxqRFAwR1pkS2hFUHFMSmFiVmp4ZitXMUlMK0ljWkcxS3ZuQW02RFh4ZjduaFJTdkM0dVZ5SWVwSGhVclE2R1VSNVQ3Z0R1VHFBRmVGbDJqOVl6UEh2aEYifQ\"\n                    },\n                    \"tokens:billingAddress\": {\n                        \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiVzFTTDVldnlHZHpaZDQ4Z0hhczRGWEhtU1hZcmdRVVpvLyt2L0lFdkxqRFAwR1pkS2hFUHFMSmFiVmp4ZitXMUlMK0ljWkcxS3ZuQW02RFh4ZjduaGR6YjhXVHZjclVJZnF4WllKZ0hpQm5RZy9aeVNxMHZKR0N6RXJPclpORGoifQ\"\n                    },\n                    \"tokens:schemeTransactionReference\": {\n                        \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiT2ZiMC94bFNRb1ZrY0hEbWtmaDFFQXNTTERJYnlXbXpqMU85VTUzK1RnclRVYkZoYjJxaVdqL1N5KzBtTUtTQ0toUHZMSWY5ZWZ1c0xIVE94R0FERkRwcnFYMFZSY2tnbklEdGh5Vm5CNlk9In0\"\n                    }\n                }\n            },\n            {\n                \"tokenPaymentInstrument\": {\n                    \"type\": \"card/tokenized\",\n                    \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiWmhkSnBTdzdDajlQSDZKVVI1SHhLVDZsM1FPRGxTamRNbjJxQUZ0YjRrM1AwR1pkS2hFUHFMSmFiVmp4ZitXMVdWVGh3SEFXOUhJaUYwWHhmYW5lY3c9PSJ9\"\n                },\n                \"tokenId\": \"9908329580648327627\",\n                \"description\": \"Test Token Description\",\n                \"tokenExpiryDateTime\": \"2021-06-24T14:12:26Z\",\n                \"namespace\": \"my-namespace\",\n                \"paymentInstrument\": {\n                    \"type\": \"card/masked\",\n                    \"cardHolderName\": \"John Appleseed\",\n                    \"cardNumber\": \"1111********4444\",\n                    \"cardExpiryDate\": {\n                        \"month\": 5,\n                        \"year\": 2035\n                    },\n                    \"billingAddress\": {\n                        \"address1\": \"Worldpay\",\n                        \"address2\": \"1 Milton Road\",\n                        \"address3\": \"The Science Park\",\n                        \"postalCode\": \"CB4 0WE\",\n                        \"city\": \"Cambridge\",\n                        \"state\": \"Cambridgeshire\",\n                        \"countryCode\": \"GB\"\n                    }\n                },\n                \"_links\": {\n                    \"tokens:token\": {\n                        \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiWmhkSnBTdzdDajlQSDZKVVI1SHhLVDZsM1FPRGxTamRNbjJxQUZ0YjRrM1AwR1pkS2hFUHFMSmFiVmp4ZitXMVdWVGh3SEFXOUhJaUYwWHhmYW5lY3c9PSJ9\"\n                    },\n                    \"tokens:description\": {\n                        \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiWmhkSnBTdzdDajlQSDZKVVI1SHhLVDZsM1FPRGxTamRNbjJxQUZ0YjRrM1AwR1pkS2hFUHFMSmFiVmp4ZitXMXBDOGVSd3MydUJMSjVwRzVNanBqbGNxSGsrdytmcWwwRExsS0o3YjNsbkU9In0\"\n                    },\n                    \"tokens:cardHolderName\": {\n                        \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiWmhkSnBTdzdDajlQSDZKVVI1SHhLVDZsM1FPRGxTamRNbjJxQUZ0YjRrM1AwR1pkS2hFUHFMSmFiVmp4ZitXMUlMK0ljWkcxS3ZuQW02RFh4ZjduaGRRYWhKQXYrcTlLdmdCTW1STGFLZzV3dW82bXo3WENkdTJKRzhmK3AyMjkifQ\"\n                    },\n                    \"tokens:cardExpiryDate\": {\n                        \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiWmhkSnBTdzdDajlQSDZKVVI1SHhLVDZsM1FPRGxTamRNbjJxQUZ0YjRrM1AwR1pkS2hFUHFMSmFiVmp4ZitXMUlMK0ljWkcxS3ZuQW02RFh4ZjduaFJTdkM0dVZ5SWVwSGhVclE2R1VSNVQ3Z0R1VHFBRmVGbDJqOVl6UEh2aEYifQ\"\n                    },\n                    \"tokens:billingAddress\": {\n                        \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiWmhkSnBTdzdDajlQSDZKVVI1SHhLVDZsM1FPRGxTamRNbjJxQUZ0YjRrM1AwR1pkS2hFUHFMSmFiVmp4ZitXMUlMK0ljWkcxS3ZuQW02RFh4ZjduaGR6YjhXVHZjclVJZnF4WllKZ0hpQm5RZy9aeVNxMHZKR0N6RXJPclpORGoifQ\"\n                    },\n                    \"tokens:schemeTransactionReference\": {\n                        \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiT2ZiMC94bFNRb1ZrY0hEbWtmaDFFQXNTTERJYnlXbXpqMU85VTUzK1RnclRVYkZoYjJxaVdqL1N5KzBtTUtTQ0toUHZMSWY5ZWZ1c0xIVE94R0FERkRwcnFYMFZSY2tnbklEdGh5Vm5CNlk9In0\"\n                    }\n                }\n            }\n        ]\n    },\n    \"_links\": {\n        \"tokens:tokens\": {\n            \"href\": \"https://try.access.worldpay.com/tokens{?tokenId,namespace}\",\n            \"templated\": true\n        },\n        \"resourceTree\": {\n            \"href\": \"https://try.access.worldpay.com/rels/tokens/resourceTree.json\"\n        },\n        \"curies\": [{\n            \"href\": \"https://try.access.worldpay.com/rels/tokens/{rel}.json\",\n            \"name\": \"tokens\",\n            \"templated\": true\n        }]\n    }\n}"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"update-token-details","__idx":6},"children":["Update token details"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To update the details in a token, send a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PUT"]}," request to one of the links returned in the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/access/products/tokens/v1/create-a-token#responses"},"children":["response"]}," of your ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/access/products/tokens/v1/create-a-token#create-a-token-request"},"children":["create a token"]}," request."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can update:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"#update-descriptions"},"children":["the token description"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"#update-cardholdername"},"children":["the cardholder name"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"#update-cardexpirydate"},"children":["the card expiry date"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"#update-billingaddress"},"children":["the billing address"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"#update-schemetransactionreference"},"children":["the scheme transaction reference"]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can only update one attribute at a time with a maximum of 10 updates in a rolling 30 day period."]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["cannot"]}," update the card number. Instead, you must send a new ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/access/products/tokens/v1/create-a-token"},"children":["create a token"]}," request."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"update-descriptions","__idx":7},"children":["Update descriptions"]},{"$$mdtype":"Tag","name":"details","attributes":{},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":["Update description example"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Send a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PUT"]}," request to the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tokens:description"]}," action link received in your create a token ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/access/products/tokens/v1/create-a-token#responses"},"children":["response"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"request","__idx":8},"children":["Request"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PUT"]},"  ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0MWJVbkh1WTFGZExUNXJxc04va1ZoTFVzYW1OU1lxSFE2NHI1c2JkY1pWaSJ9"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Request body:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"\"New token description\"\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Include the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["description"]}," in the JSON body. The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["description"]}," must be within quotation marks (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\" \""]},")."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"response-2","__idx":9},"children":["Response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The response status is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["204 No Content"]},"."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"update-cardholdername","__idx":10},"children":["Update cardHolderName"]},{"$$mdtype":"Tag","name":"details","attributes":{},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":["Update cardHolderName example"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Send a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PUT"]}," request to the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tokens:cardHolderName"]}," action link received in your create a token ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/access/products/tokens/v1/create-a-token#responses"},"children":["response"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"request-1","__idx":11},"children":["Request"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PUT"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0d3ltd21ieGo3TlZLYzRYSkExOUhSdUpLN2N3VVc5WUk3czRUTW1RQ2JLdjFnVXlzakdPSXdWWkRhZkZyUmlMd3c9PSJ9"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Request body:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"\"New name\"\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Include the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cardHolderName"]}," in the JSON body. The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cardHolderName"]}," must be within quotation marks (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\" \""]},")."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"response-3","__idx":12},"children":["Response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The response status is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["204 No Content"]},"."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"update-cardexpirydate","__idx":13},"children":["Update cardExpiryDate"]},{"$$mdtype":"Tag","name":"details","attributes":{},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":["Update cardExpiryDate example"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"request-2","__idx":14},"children":["Request"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Send a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PUT"]}," request to the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tokens:cardExpiryDate"]}," action link received in your create a token ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/access/products/tokens/create-a-token#responses"},"children":["response"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PUT"]},"  ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0d3ltd21ieGo3TlZLYzRYSkExOUhSdUpLN2N3VVc5WUk3czRUTW1RQ2JLdkVpVW5GNnBsZThNTXNQWTRGbzFzTXc9PSJ9"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Request body:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"{\n  \"month\": 5,\n  \"year\": 2023\n}\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Include both the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["month"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["date"]}," in the JSON body."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"response-4","__idx":15},"children":["Response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The response status is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["204 No Content"]},"."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"update-billingaddress","__idx":16},"children":["Update billingAddress"]},{"$$mdtype":"Tag","name":"details","attributes":{},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":["Update billingAddress example"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Send a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PUT"]}," request to the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tokens:billingAddress"]}," action link received in your create a token ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/access/products/tokens/v1/create-a-token#responses"},"children":["response"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"request-3","__idx":17},"children":["Request"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PUT"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0d3ltd21ieGo3TlZLYzRYSkExOUhSdFpSdXFxbWZlNVl1TkpHZEVvZXN3MTlCU0lmdCtxSTUyVDJSdXlmSTIwM3c9PSJ9"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Request body:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"{\n    \"address1\": \"ADDRESS 1\",\n    \"address2\": \"ADDRESS 2\",\n    \"address3\": \"ADDRESS 3\",\n    \"postalCode\": \"TE12 34ST\",\n    \"city\": \"TEST CITY\",\n    \"state\": \"TEST STATE\",\n    \"countryCode\": \"XX\"\n}\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You must include all the mandatory parameters in your update ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["billingAddress"]}," request. See the description of the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/access/products/tokens/v1/create-a-token#create-a-token-request"},"children":["create a token"]}," request parameters for more information."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Using this request, you can also add a billing address to a token which didn't previously include a billing address."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["cannot"]}," partially update a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["billingAddress"]},". You must send the complete ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["billingAddress"]}," when updating it."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"response-5","__idx":18},"children":["Response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The response status is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["204 No Content"]},"."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"update-schemetransactionreference","__idx":19},"children":["Update schemeTransactionReference"]},{"$$mdtype":"Tag","name":"details","attributes":{},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":["Update schemeTransactionReference example"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Send a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PUT"]}," request to the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tokens:schemeTransactionReference"]}," action link received in your create a token ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/access/products/tokens/v1/create-a-token#responses"},"children":["response"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"request-4","__idx":20},"children":["Request"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PUT"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiSENXWFZQZjNIZ1V3dnpDMElJZS9Zdmc4M0pYM3dDWEJTVnQrWVlacXdDUXFFKzhzaC8xNSs2d3NkTTdFWUFNVU9tdXBmUlZGeVNDY2dPMkhKV2NIcGc9PSJ9"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Request body:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"\"000000000000020005060720116005060\"\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Include the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["schemeTransactionReference"]}," in the JSON body. The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["schemeTransactionReference"]}," must be within quotation marks (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\" \""]},")."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For compliance with the Merchant Initiated Transaction (MIT) framework you should store the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["schemeTransactionReference"]}," created for the first payment. Alternatively, you can store the reference included in the most recent payment. You must consider that you can only make 10 updates in a rolling 30 days."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"response-6","__idx":21},"children":["Response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The response status is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["204 No Content"]},"."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"delete-tokens","__idx":22},"children":["Delete tokens"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To delete a token, send a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DELETE"]}," request to the token resource reference received in the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tokenPaymentInstrument"]}," object in your create a token ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/access/products/tokens/v1/create-a-token#responses"},"children":["response"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You might want to delete tokens if a customer has closed their account with you, or if the customer no longer wants their card details kept on file."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"request-5","__idx":23},"children":["Request"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DELETE"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["No request body is needed for this request."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"response-7","__idx":24},"children":["Response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The response status is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["204 No Content"]},"."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This action cannot be undone. Once we've received the request, the token is deleted."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"update-a-token-with-conflicts","__idx":25},"children":["Update a token with conflicts"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To resolve a token with a conflict, send a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PUT"]}," request with no request body to the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tokens:conflicts"]}," action link returned in the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/access/products/tokens/v1/create-a-token#responses"},"children":["conflict response"]}," when you ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"//products/tokens/@v1/create-a-token.md#create-a-token-request"},"children":["created the token"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This request replaces all conflicting fields in the existing token with data from your initial token request."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tokens:conflict"]}," action link is time-limited. Once it expires, it is no longer possible to use this link to update the original token."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"request-6","__idx":26},"children":["Request"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Send a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PUT"]}," request to the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tokens:conflicts"]}," link:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PUT"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0ODUrN2hvZ0cyK1JvQ3JKdUtFZnU5UTFsdTdwODVHTUcwYy92VW02MDlJd2pHQllvcW0zanhWQ3p3Zk9OUW9CYUZtQ1hNbFhwM3lhSXlkYVlNYWJnQUdQUHFpRVAxVXVpZHM2Y2tvTjEvOGNJdFQ0WkVlVEJIVWF6T1dlWTlQMkpnPT0ifQ"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["No request body is needed for this request."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"response-8","__idx":27},"children":["Response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The response status is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["204 No Content"]},"."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"token-id-look-up","__idx":28},"children":["Token ID look up"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you create tokens outside of Access Worldpay, you must use a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tokenId"]}," to look them up. Query the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tokens:tokens"]}," action link from the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/access/products/tokens/v1/get-started#query-the-tokens-root-resource"},"children":["tokens root resource"]},", with the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tokenId"]}," as a query parameter."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"token-id-look-up-request","__idx":29},"children":["Token ID look up request"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://try.access.worldpay.com/tokens?tokenId=9902480679618049603"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Remember"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Replace ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["9902480679618049603"]}," in the URL with the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tokenId"]}," you're trying to query."]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["No request body is needed for this request."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"response-9","__idx":30},"children":["Response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The response status is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["200 OK"]}," and you receive an embedded list containing exactly one token, if the token was found. Otherwise, an empty list is returned."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"./code/token-id-lookup-response.json","language":"json","header":{"controls":{"copy":{}}},"lang":"json","source":"{\n    \"_embedded\": {\n        \"tokens\": [{\n            \"tokenPaymentInstrument\": {\n                \"type\": \"card/tokenized\",\n                \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiVzFTTDVldnlHZHpaZDQ4Z0hhczRGWEhtU1hZcmdRVVpvLyt2L0lFdkxqRFAwR1pkS2hFUHFMSmFiVmp4ZitXMVdWVGh3SEFXOUhJaUYwWHhmYW5lY3c9PSJ9\"\n            },\n            \"tokenId\": \"9902480679618049603\",\n            \"description\": \"Test Token Description\",\n            \"tokenExpiryDateTime\": \"2021-06-24T14:12:30Z\",\n            \"paymentInstrument\": {\n                \"type\": \"card/masked\",\n                \"cardNumber\": \"4444********1111\",\n                \"cardHolderName\": \"John Appleseed\",\n                \"cardExpiryDate\": {\n                    \"month\": 5,\n                    \"year\": 2035\n                },\n                \"billingAddress\": {\n                    \"address1\": \"Worldpay\",\n                    \"address2\": \"1 Milton Road\",\n                    \"address3\": \"The Science Park\",\n                    \"postalCode\": \"CB4 0WE\",\n                    \"city\": \"Cambridge\",\n                    \"state\": \"Cambridgeshire\",\n                    \"countryCode\": \"GB\"\n                }\n            },\n            \"_links\": {\n                \"tokens:token\": {\n                    \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiVzFTTDVldnlHZHpaZDQ4Z0hhczRGWEhtU1hZcmdRVVpvLyt2L0lFdkxqRFAwR1pkS2hFUHFMSmFiVmp4ZitXMVdWVGh3SEFXOUhJaUYwWHhmYW5lY3c9PSJ9\"\n                },\n                \"tokens:description\": {\n                    \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiVzFTTDVldnlHZHpaZDQ4Z0hhczRGWEhtU1hZcmdRVVpvLyt2L0lFdkxqRFAwR1pkS2hFUHFMSmFiVmp4ZitXMXBDOGVSd3MydUJMSjVwRzVNanBqbGNxSGsrdytmcWwwRExsS0o3YjNsbkU9In0\"\n                },\n                \"tokens:cardHolderName\": {\n                    \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiVzFTTDVldnlHZHpaZDQ4Z0hhczRGWEhtU1hZcmdRVVpvLyt2L0lFdkxqRFAwR1pkS2hFUHFMSmFiVmp4ZitXMUlMK0ljWkcxS3ZuQW02RFh4ZjduaGRRYWhKQXYrcTlLdmdCTW1STGFLZzV3dW82bXo3WENkdTJKRzhmK3AyMjkifQ\"\n                },\n                \"tokens:cardExpiryDate\": {\n                    \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiVzFTTDVldnlHZHpaZDQ4Z0hhczRGWEhtU1hZcmdRVVpvLyt2L0lFdkxqRFAwR1pkS2hFUHFMSmFiVmp4ZitXMUlMK0ljWkcxS3ZuQW02RFh4ZjduaFJTdkM0dVZ5SWVwSGhVclE2R1VSNVQ3Z0R1VHFBRmVGbDJqOVl6UEh2aEYifQ\"\n                },\n                \"tokens:billingAddress\": {\n                    \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiVzFTTDVldnlHZHpaZDQ4Z0hhczRGWEhtU1hZcmdRVVpvLyt2L0lFdkxqRFAwR1pkS2hFUHFMSmFiVmp4ZitXMUlMK0ljWkcxS3ZuQW02RFh4ZjduaGR6YjhXVHZjclVJZnF4WllKZ0hpQm5RZy9aeVNxMHZKR0N6RXJPclpORGoifQ\"\n                },\n                \"tokens:schemeTransactionReference\": {\n                    \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiSENXWFZQZjNIZ1V3dnpDMElJZS9Zdmc4M0pYM3dDWEJTVnQrWVlacXdDUXFFKzhzaC8xNSs2d3NkTTdFWUFNVU9tdXBmUlZGeVNDY2dPMkhKV2NIcGc9PSJ9\"\n                }\n            }\n        }]\n    },\n    \"_links\": {\n        \"tokens:tokens\": {\n            \"href\": \"https://try.access.worldpay.com/tokens{?tokenId,namespace}\",\n            \"templated\": true\n        },\n        \"resourceTree\": {\n            \"href\": \"https://try.access.worldpay.com/rels/tokens/resourceTree.json\"\n        },\n        \"curies\": [{\n            \"href\": \"https://try.access.worldpay.com/rels/tokens/{rel}.json\",\n            \"name\": \"tokens\",\n            \"templated\": true\n        }]\n    }\n}"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If your token is in a namespace, then ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["namespace"]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["must"]}," be included as a request parameter."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"token-id-and-namespace-look-up-request","__idx":31},"children":["Token ID and namespace look up request"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://try.access.worldpay.com/tokens?tokenId=9902480679618049603&namespace=my-namespace"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Remember"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Replace ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["9902480679618049603"]}," in the URL with the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tokenId"]}," you're trying to query and replace ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["my-namespace"]}," with the token namespace."]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["No request body is needed for this request."]}]}]},"headings":[{"value":"Query and update tokens","id":"query-and-update-tokens","depth":1},{"value":"Token inquiry","id":"token-inquiry","depth":2},{"value":"Token inquiry request","id":"token-inquiry-request","depth":3},{"value":"Response","id":"response","depth":4},{"value":"Token namespace inquiry request","id":"token-namespace-inquiry-request","depth":2},{"value":"Response","id":"response-1","depth":4},{"value":"Update token details","id":"update-token-details","depth":2},{"value":"Update descriptions","id":"update-descriptions","depth":3},{"value":"Request","id":"request","depth":4},{"value":"Response","id":"response-2","depth":4},{"value":"Update cardHolderName","id":"update-cardholdername","depth":3},{"value":"Request","id":"request-1","depth":4},{"value":"Response","id":"response-3","depth":4},{"value":"Update cardExpiryDate","id":"update-cardexpirydate","depth":3},{"value":"Request","id":"request-2","depth":4},{"value":"Response","id":"response-4","depth":4},{"value":"Update billingAddress","id":"update-billingaddress","depth":3},{"value":"Request","id":"request-3","depth":4},{"value":"Response","id":"response-5","depth":4},{"value":"Update schemeTransactionReference","id":"update-schemetransactionreference","depth":3},{"value":"Request","id":"request-4","depth":4},{"value":"Response","id":"response-6","depth":4},{"value":"Delete tokens","id":"delete-tokens","depth":2},{"value":"Request","id":"request-5","depth":3},{"value":"Response","id":"response-7","depth":4},{"value":"Update a token with conflicts","id":"update-a-token-with-conflicts","depth":2},{"value":"Request","id":"request-6","depth":4},{"value":"Response","id":"response-8","depth":4},{"value":"Token ID look up","id":"token-id-look-up","depth":2},{"value":"Token ID look up request","id":"token-id-look-up-request","depth":3},{"value":"Response","id":"response-9","depth":3},{"value":"Token ID and namespace look up request","id":"token-id-and-namespace-look-up-request","depth":3}],"frontmatter":{"seo":{"title":"Query and update tokens"}},"lastModified":"2026-05-01T12:24:21.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/tokens/v1/query-and-update-tokens","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}