{"title":"Authorise using details stored with a third party","category":"default","creationDate":1776961627,"content":"<div class=\"sc-notice warning\"><div>\n<p><strong>Adyen is no longer developing the Classic API integration<\/strong><\/p>\n<p>This page is for the Classic API (<code>\/authorise<\/code>) integration, which we no longer accept new integrations with. <\/p>\n<p>We strongly recommend migrating to the newer <a href=\"\/online-payments\/network-tokenization\">Network tokenization<\/a> integration. To use this newer integration, you must also <a href=\"\/pt\/online-payments\/upgrade-your-integration\/migrate-to-checkout-api\">migrate to the Checkout API<\/a>.<\/p>\n<\/div><\/div>\n<p>When you store payment details with a third party, you can use these details to authorise payments.\u00a0<\/p>\n<h2 id=\"initial-card-on-filesubscription-payments\">Initial Card on file\/Subscription payments<\/h2>\n<p>The following fields must be passed in a Card-on-File\/Subscription payment request:<\/p>\n<ul>\n<li><code>amount<\/code><\/li>\n<li><code>shopperInteraction<\/code>: set to\u00a0<strong>Ecommerce<\/strong> for the <em>initial<\/em> payment or set to <strong>ContAuth<\/strong> for <em>subsequent<\/em> payments.<\/li>\n<li><code>recurringProcessingModel<\/code>: set to <strong>Subscription<\/strong> for payments that recur on a fixed schedule, and <strong>Card On File<\/strong> for payments that do not occur on a fixed schedule.<\/li>\n<\/ul>\n<pre><code class=\"language-json\">{\n   \"card\":{\n      \"number\":\"4111111111111111\",\n      \"expiryMonth\":\"8\",\n      \"expiryYear\":\"2018\",\n      \"cvc\":\"737\",\n      \"holderName\":\"John Smith\"\n   },\n   \"amount\":{\n      \"value\":2000,\n      \"currency\":\"EUR\"\n   },\n   \"reference\":\"Your Reference Here\",\n   \"merchantAccount\":\"YOUR_MERCHANT_ACCOUNT\",\n   \"shopperEmail\":\"s.hopper@test.com\",\n   \"shopperInteraction\":\"Ecommerce\",\n   \"shopperIP\":\"61.294.12.12\",\n   \"recurringProcessingModel\":\"Subscription\"\n}<\/code><\/pre>\n<h3 id=\"subsequent-payments\">Subsequent payments<\/h3>\n<pre><code class=\"language-json\">{\n   \"card\":{\n      \"number\":\"4111111111111111\",\n      \"expiryMonth\":\"8\",\n      \"expiryYear\":\"2018\",\n      \"cvc\":\"737\",\n      \"holderName\":\"John Smith\"\n   },\n   \"amount\":{\n      \"value\":2000,\n      \"currency\":\"EUR\"\n   },\n   \"reference\":\"Your Reference Here\",\n   \"merchantAccount\":\"YOUR_MERCHANT_ACCOUNT\",\n   \"shopperEmail\":\"s.hopper@test.com\",\n   \"shopperInteraction\":\"ContAuth\",\n   \"shopperIP\":\"61.294.12.12\",\n   \"recurringProcessingModel\":\"Subscription\"\n}<\/code><\/pre>","url":"https:\/\/docs.adyen.com\/pt\/online-payments\/classic-integrations\/classic-api-integration\/tokenization\/authorise-using-details-stored-with-a-third-party","articleFields":{"id":"42830990","type":"page","_expandable":{"operations":""},"status":"current","sitemap":{"priority":0.3},"parameters":{"anchor_new":"<a href=\"\/online-payments\/network-tokenization\">Network tokenization<\/a>","parent_page":"Classic API (<code>\/authorise<\/code>)","new_desc":"integrating using our Checkout APIs"}},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/online-payments\/classic-integrations\/classic-api-integration\/tokenization\/authorise-using-details-stored-with-a-third-party","title":"Authorise using details stored with a third party","content":"\nAdyen is no longer developing the Classic API integration\nThis page is for the Classic API (\/authorise) integration, which we no longer accept new integrations with. \nWe strongly recommend migrating to the newer Network tokenization integration. To use this newer integration, you must also migrate to the Checkout API.\n\nWhen you store payment details with a third party, you can use these details to authorise payments.\u00a0\nInitial Card on file\/Subscription payments\nThe following fields must be passed in a Card-on-File\/Subscription payment request:\n\namount\nshopperInteraction: set to\u00a0Ecommerce for the initial payment or set to ContAuth for subsequent payments.\nrecurringProcessingModel: set to Subscription for payments that recur on a fixed schedule, and Card On File for payments that do not occur on a fixed schedule.\n\n{\n   \"card\":{\n      \"number\":\"4111111111111111\",\n      \"expiryMonth\":\"8\",\n      \"expiryYear\":\"2018\",\n      \"cvc\":\"737\",\n      \"holderName\":\"John Smith\"\n   },\n   \"amount\":{\n      \"value\":2000,\n      \"currency\":\"EUR\"\n   },\n   \"reference\":\"Your Reference Here\",\n   \"merchantAccount\":\"YOUR_MERCHANT_ACCOUNT\",\n   \"shopperEmail\":\"s.hopper@test.com\",\n   \"shopperInteraction\":\"Ecommerce\",\n   \"shopperIP\":\"61.294.12.12\",\n   \"recurringProcessingModel\":\"Subscription\"\n}\nSubsequent payments\n{\n   \"card\":{\n      \"number\":\"4111111111111111\",\n      \"expiryMonth\":\"8\",\n      \"expiryYear\":\"2018\",\n      \"cvc\":\"737\",\n      \"holderName\":\"John Smith\"\n   },\n   \"amount\":{\n      \"value\":2000,\n      \"currency\":\"EUR\"\n   },\n   \"reference\":\"Your Reference Here\",\n   \"merchantAccount\":\"YOUR_MERCHANT_ACCOUNT\",\n   \"shopperEmail\":\"s.hopper@test.com\",\n   \"shopperInteraction\":\"ContAuth\",\n   \"shopperIP\":\"61.294.12.12\",\n   \"recurringProcessingModel\":\"Subscription\"\n}","type":"page","locale":"pt","boost":15,"hierarchy":{"lvl0":"Home","lvl1":"Online payments","lvl2":"Classic integrations for Ecommerce","lvl3":"Classic API integration","lvl4":"Tokenization","lvl5":"Authorise using details stored with a third party"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/online-payments","lvl2":"https:\/\/docs.adyen.com\/pt\/online-payments\/classic-integrations","lvl3":"https:\/\/docs.adyen.com\/pt\/online-payments\/classic-integrations\/classic-api-integration","lvl4":"https:\/\/docs.adyen.com\/pt\/online-payments\/classic-integrations\/classic-api-integration\/tokenization","lvl5":"\/pt\/online-payments\/classic-integrations\/classic-api-integration\/tokenization\/authorise-using-details-stored-with-a-third-party"},"levels":6,"category":"Online Payments","category_color":"green","tags":["Authorise","using","details","stored","third","party"]}}
