{"id":9663,"date":"2024-03-19T16:46:22","date_gmt":"2024-03-19T15:46:22","guid":{"rendered":"https:\/\/docs.centralpay.com\/documentation\/developpeurs\/card-payment\/card-token\/"},"modified":"2025-12-08T16:08:27","modified_gmt":"2025-12-08T15:08:27","slug":"card-token","status":"publish","type":"docs","link":"https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/card-token\/","title":{"rendered":"Card token"},"content":{"rendered":"\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/docs.centralpay.com\/documentation\/documentation\/transaction-par-carte\/formulaire-de-paiement\/\">See more about Card Token<\/a><\/div>\n<\/div>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>The Json &#8220;CardToken&#8221; object<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The \u00ab CardToken \u00bb object represents a debit\/credit card token.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Merchants usually want to be able to charge payment cards, IBAN or other without having to store sensitive data on their servers.<br>Token.js makes this easy in the browser, but you can use the same technique in other environments with our token API.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tokens can be created with your publishable API key, which can safely be embedded in downloadable applications like iPhone and Android apps. You can then use a token anywhere in our API when a credit\/debit card, bank account&nbsp;or any personal ID number is accepted.<\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<pre class=\"wp-block-preformatted\">You need to add a header \"Origin\" with an URL previously added in your Back Office as an Authorized Custom form Host.<br>For your tests, you can use the origin : https:\/\/example.centralpay.net.<\/pre>\n<\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><strong><strong><strong><strong><strong><div id=\"wp-swagger-ui-container-live_6a7f06771ae98\"><\/div><script>\n\t\t\tjQuery(document).ready( function($) {\n\t\t\t\twindow.live_6a7f06771ae98 = SwaggerUIBundle({\n\t\t\t\t\turl: \"https:\/\/docs.centralpay.com\/wp-content\/Swagger\/core-api\/openapi_Card Token.yaml\",\n\t\t\t\t\tdom_id: \"#wp-swagger-ui-container-live_6a7f06771ae98\",\n\t\t\t\t\tdeepLinking: true,\n\t\t\t\t\tpresets: [\n\t\t\t\t\t  SwaggerUIBundle.presets.apis,\n\t\t\t\t\t  \/\/SwaggerUIStandalonePreset\n\t\t\t\t  \t],\n\t\t\t\t\tplugins: [\n\t\t\t\t\t\tSwaggerUIBundle.plugins.DownloadUrl\n\t\t\t\t\t],\n\t\t\t\t\t\/\/layout: \"StandaloneLayout\"\n\t\t\t  \t});\n\n\t\t\t\twindow.live_6a7f06771ae98.load();\n\t\t\t\t\n\t\t\t});\n\t\t\t<\/script><\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Json &#8220;CardToken&#8221; object The \u00ab CardToken \u00bb object represents a debit\/credit card token. Merchants usually want to be able to charge payment cards, IBAN or other without having to store sensitive data on their servers.Token.js makes this easy in the browser, but you can use the same technique in other environments with our token [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":9504,"menu_order":6,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"doc_badge":[],"class_list":["post-9663","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Card token - CentralPay Documentation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/card-token\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Card token - CentralPay Documentation\" \/>\n<meta property=\"og:description\" content=\"The Json &#8220;CardToken&#8221; object The \u00ab CardToken \u00bb object represents a debit\/credit card token. Merchants usually want to be able to charge payment cards, IBAN or other without having to store sensitive data on their servers.Token.js makes this easy in the browser, but you can use the same technique in other environments with our token [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/card-token\/\" \/>\n<meta property=\"og:site_name\" content=\"CentralPay Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-08T15:08:27+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/documentation\\\/developpeurs\\\/card-token\\\/\",\"url\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/documentation\\\/developpeurs\\\/card-token\\\/\",\"name\":\"Card token - CentralPay Documentation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/#website\"},\"datePublished\":\"2024-03-19T15:46:22+00:00\",\"dateModified\":\"2025-12-08T15:08:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/documentation\\\/developpeurs\\\/card-token\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/documentation\\\/developpeurs\\\/card-token\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/documentation\\\/developpeurs\\\/card-token\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"D\u00e9veloppeurs\",\"item\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/documentation\\\/developpeurs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Card token\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/\",\"name\":\"CentralPay Documentation\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/#organization\",\"name\":\"CentralPay Documentation\",\"url\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/docs.centralpay.com\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo-centralpay-2023.png\",\"contentUrl\":\"https:\\\/\\\/docs.centralpay.com\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo-centralpay-2023.png\",\"width\":2382,\"height\":370,\"caption\":\"CentralPay Documentation\"},\"image\":{\"@id\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Card token - CentralPay Documentation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/card-token\/","og_locale":"en_US","og_type":"article","og_title":"Card token - CentralPay Documentation","og_description":"The Json &#8220;CardToken&#8221; object The \u00ab CardToken \u00bb object represents a debit\/credit card token. Merchants usually want to be able to charge payment cards, IBAN or other without having to store sensitive data on their servers.Token.js makes this easy in the browser, but you can use the same technique in other environments with our token [&hellip;]","og_url":"https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/card-token\/","og_site_name":"CentralPay Documentation","article_modified_time":"2025-12-08T15:08:27+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/card-token\/","url":"https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/card-token\/","name":"Card token - CentralPay Documentation","isPartOf":{"@id":"https:\/\/docs.centralpay.com\/en\/#website"},"datePublished":"2024-03-19T15:46:22+00:00","dateModified":"2025-12-08T15:08:27+00:00","breadcrumb":{"@id":"https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/card-token\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/card-token\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/card-token\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/docs.centralpay.com\/en\/"},{"@type":"ListItem","position":2,"name":"D\u00e9veloppeurs","item":"https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/"},{"@type":"ListItem","position":3,"name":"Card token"}]},{"@type":"WebSite","@id":"https:\/\/docs.centralpay.com\/en\/#website","url":"https:\/\/docs.centralpay.com\/en\/","name":"CentralPay Documentation","description":"","publisher":{"@id":"https:\/\/docs.centralpay.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.centralpay.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/docs.centralpay.com\/en\/#organization","name":"CentralPay Documentation","url":"https:\/\/docs.centralpay.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.centralpay.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/docs.centralpay.com\/wp-content\/uploads\/2023\/07\/logo-centralpay-2023.png","contentUrl":"https:\/\/docs.centralpay.com\/wp-content\/uploads\/2023\/07\/logo-centralpay-2023.png","width":2382,"height":370,"caption":"CentralPay Documentation"},"image":{"@id":"https:\/\/docs.centralpay.com\/en\/#\/schema\/logo\/image\/"}}]}},"author_avatar":"https:\/\/secure.gravatar.com\/avatar\/0ab6fa93b0f18fc2235a0e635e81fc14b314e2bb1768930c4ac7606e1f34f470?s=96&d=mm&r=g","author_name":"centralpay_doc","_links":{"self":[{"href":"https:\/\/docs.centralpay.com\/en\/wp-json\/wp\/v2\/docs\/9663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.centralpay.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/docs.centralpay.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/docs.centralpay.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.centralpay.com\/en\/wp-json\/wp\/v2\/comments?post=9663"}],"version-history":[{"count":25,"href":"https:\/\/docs.centralpay.com\/en\/wp-json\/wp\/v2\/docs\/9663\/revisions"}],"predecessor-version":[{"id":14587,"href":"https:\/\/docs.centralpay.com\/en\/wp-json\/wp\/v2\/docs\/9663\/revisions\/14587"}],"up":[{"embeddable":true,"href":"https:\/\/docs.centralpay.com\/en\/wp-json\/wp\/v2\/docs\/9504"}],"wp:attachment":[{"href":"https:\/\/docs.centralpay.com\/en\/wp-json\/wp\/v2\/media?parent=9663"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/docs.centralpay.com\/en\/wp-json\/wp\/v2\/doc_tag?post=9663"},{"taxonomy":"doc_badge","embeddable":true,"href":"https:\/\/docs.centralpay.com\/en\/wp-json\/wp\/v2\/doc_badge?post=9663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}