{"title":"Recurring payments","category":"default","creationDate":1754569620,"content":"<h2>Country availability<\/h2>\n<p>PaySafeCard supports <a href=\"\/pt\/online-payments\/tokenization\">tokenization<\/a> for recurring payments in the following countries:<br \/>\nAustria, Belgium, Bulgaria, Croatia, Cyprus, Czech Republic, Denmark, Finland, France, Germany, Greece, Hungary, Ireland, Italy, Latvia, Lichtenstein, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, United Kingdom.<\/p>\n<h2>Prepare for tokenization<\/h2>\n<p>PaySafeCard has no setup requirements. Your existing PaySafeCard account will immediately work for recurring payments.<\/p>\n<div class=\"notices green\">\n<p>We strongly recommend that you ask explicit permission from the shopper if you intend to make future recurring payments. Being transparent about the payment schedule and the charged amount reduces the risk of complaints.<\/p>\n<\/div>\n<h2>Set parameters to flag transactions<\/h2>\n<p>When you make a  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments<\/a> request to <a href=\"\/pt\/online-payments\/tokenization\/create-tokens\">create a token<\/a>, or <a href=\"\/pt\/online-payments\/tokenization\/make-token-payments\">pay with a token<\/a> you must include:<\/p>\n<table>\n<thead>\n<tr>\n<th>Parameter<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-recurringProcessingModel\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">recurringProcessingModel<\/a><\/td>\n<td>When you first create a token, <code>recurringProcessingModel<\/code> indicates what type of recurring payment the token is intended for.<br\/>For subsequent payments, it indicates the type of recurring payment. Possible values:<br\/>- <span translate=\"no\"><strong><a href=\"\/pt\/online-payments\/tokenization\/create-and-use-tokens\/?tab=one_off_payments_1\">CardOnFile<\/a><\/strong><\/span>: A transaction where shopper's myPaysafeCard account details are stored to enable one-click or omnichannel journeys, or to offer a faster checkout later.<br\/>- <span translate=\"no\"><strong><a href=\"\/pt\/online-payments\/tokenization\/create-and-use-tokens\/?tab=automatic_top_ups_3\">UnscheduledCardOnFile<\/a><\/strong><\/span>: A transaction that occurs on a non-fixed schedule and\/or have variable amounts.<br\/>- <span translate=\"no\"><strong><a href=\"\/pt\/online-payments\/tokenization\/create-and-use-tokens\/?tab=subscriptions_2\">Subscription<\/a><\/strong><\/span>: A transaction for a fixed or variable amount, which follows a fixed schedule.<br\/>Adyen propagates these parameters to PaysafeCard. Ensure you choose the most fitting model to ensure maximum conversion.<\/td>\n<\/tr>\n<tr>\n<td> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-shopperInteraction\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">shopperInteraction<\/a><\/td>\n<td>Indicates the sales channel through which the shopper gives their account details. For online transactions, this is Ecommerce. For subsequent payments, indicates whether the shopper is a returning customer (<span translate=\"no\"><strong>ContAuth<\/strong><\/span>).<\/td>\n<\/tr>\n<tr>\n<td> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-shopperReference\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">shopperReference<\/a><\/td>\n<td>Your unique reference for the shopper. Minimum length: three characters. Note that the value is case-sensitive. Do not include personally identifiable information (PII), such as name or email address.<\/td>\n<\/tr>\n<tr>\n<td> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-storePaymentMethod\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">storePaymentMethod<\/a><\/td>\n<td>When you first create a token, set to true to store the shopper's payment details. For subsequent payments, this parameter is not required.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"notices green\">\n<p>Even though the <code>recurringProcessingModel<\/code> contains the term <strong>card<\/strong>, recurring payments for PaySafeCard is only supported whenever the shopper authorizes with a myPaysafecard account (wallet) and not a PaysafeCard PIN\/card.<\/p>\n<\/div>\n<h2 id=\"create-token\">Create PaySafeCard tokens<\/h2>\n<div class=\"notices green\">\n<p>When shoppers pay with PaySafeCard they can use one of two funding sources: Wallet or Voucher\/PIN cards. <strong>Only Wallet payments are eligible for tokenization.<\/strong> If a tokenization request is made for a Voucher\/PIN card payment, the transaction will still be processed, but no token will be generated. Note that you cannot control which funding source shoppers use, and PaySafeCard does not indicate this information in the payment response.<\/p>\n<\/div>\n<p>When the <a href=\"\/pt\/payment-methods\/paypal\/web-drop-in\/?tab=using_the_amount_object_1_2#prepare-recurring\">preparation<\/a> is completed, creating and using tokens for PaySafeCard payments is the same as described for tokenization in general:<\/p>\n<ol>\n<li>\n<p>To create a token through a zero-value authorization request, in your initial  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/sessions\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/sessions<\/a> or  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments<\/a> request include:<\/p>\n<table>\n<thead>\n<tr>\n<th>Parameter<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-amount-value\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">value<\/a><\/td>\n<td>Set to 0 when making a zero-value authorization request.<br\/>For with-purchase tokenization, simply provide the correct amount and include the below parameters.<\/td>\n<\/tr>\n<tr>\n<td> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-recurringProcessingModel\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">recurringProcessingModel<\/a><\/td>\n<td>The type of transactions you can use the stored details for.<\/td>\n<\/tr>\n<tr>\n<td> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-shopperReference\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">shopperReference<\/a><\/td>\n<td>Your unique reference for the shopper.<\/td>\n<\/tr>\n<tr>\n<td> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-storePaymentMethod\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">storePaymentMethod<\/a><\/td>\n<td>The setting for storing the shopper's payment details.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<\/ol>\n<p>Example  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments<\/a> request (creating token):<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Example \/payments request to create a token'\" :id=\"''\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/checkout-test.adyen.com\\\/v72\\\/payments \\\\\\n-H 'x-API-key: ADYEN_API_KEY' \\\\\\n-H 'Content-Type: application\\\/json' \\\\\\n-d '{\\n    \\&quot;amount\\&quot;:{\\n        \\&quot;value\\&quot;:0,\\n        \\&quot;currency\\&quot;:\\&quot;EUR\\&quot;\\n    },\\n    \\&quot;paymentMethod\\&quot;:{\\n        \\&quot;type\\&quot;:\\&quot;paysafecard\\&quot;\\n    },\\n    \\&quot;reference\\&quot;:\\&quot;YOUR_ORDER_NUMBER\\&quot;,\\n    \\&quot;merchantAccount\\&quot;:\\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n    \\&quot;returnUrl\\&quot;:\\&quot;...\\&quot;,\\n    \\&quot;shopperReference\\&quot;:\\&quot;YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j\\&quot;,\\n    \\&quot;shopperInteraction\\&quot;:\\&quot;Ecommerce\\&quot;,\\n    \\&quot;recurringProcessingModel\\&quot;:\\&quot;Subscription\\&quot;,\\n    \\&quot;storePaymentMethod\\&quot;: true\\n}'&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<ol start=\"2\">\n<li>Proceed as described for tokenization in general: get the shopper reference and the token by listening to webhooks, and use this data in future payments for the shopper. For instructions on obtaining the token and enabling webhooks for recurring payments, see <a href=\"\/pt\/online-payments\/tokenization\/create-tokens\">Create tokens<\/a>.<\/li>\n<\/ol>\n<h2 id=\"make-payment\">Make payment with existing tokens<\/h2>\n<p>In subsequent transactions, use <code>storedPaymentMethodId<\/code> to provide the token value obtained from the webhook. This is Adyen's reference to the token \/ myPaysafeCard account.<\/p>\n<p>The <code>recurringProcessingModel<\/code> and <code>shopperInteraction<\/code> indicate a type of recurring processing is taking place (<code>shopperInteraction<\/code> = <span translate=\"no\"><strong>contAuth<\/strong><\/span>) and the type of recurring model that is applicable (for example <span translate=\"no\"><strong>Subscription<\/strong><\/span>).<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Example \/payments request to create a token'\" :id=\"''\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/checkout-test.adyen.com\\\/v72\\\/payments \\\\\\n-H 'x-API-key: ADYEN_API_KEY' \\\\\\n-H 'Content-Type: application\\\/json' \\\\\\n-d '{\\n    \\&quot;amount\\&quot;:{\\n        \\&quot;value\\&quot;: 2000,\\n        \\&quot;currency\\&quot;:\\&quot;EUR\\&quot;\\n    },\\n    \\&quot;paymentMethod\\&quot;:{\\n        \\&quot;type\\&quot;:\\&quot;paysafecard\\&quot;,\\n        \\&quot;storedPaymentMethodId\\&quot;:\\&quot;8415718415172204\\&quot;\\n    },\\n    \\&quot;reference\\&quot;:\\&quot;YOUR_ORDER_NUMBER\\&quot;,\\n    \\&quot;merchantAccount\\&quot;:\\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n    \\&quot;returnUrl\\&quot;:\\&quot;...\\&quot;,\\n    \\&quot;shopperReference\\&quot;:\\&quot;YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j\\&quot;,\\n    \\&quot;shopperInteraction\\&quot;:\\&quot;ContAuth\\&quot;,\\n    \\&quot;recurringProcessingModel\\&quot;:\\&quot;Subscription\\&quot;\\n}'&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<h2>Customer data exchange<\/h2>\n<p>When the shopper confirms the payment and a myPaysafeCard wallet was used, you will be able to retrieve the customer\u2019s data via <a href=\"\/pt\/payment-methods\/paysafecard\/customer-data-exchange\/\">Customer Data Exchange<\/a>. For any zero-amount transactions used to create a recurring relationship, this data will not be returned. For any (subsequent) payments of an amount greater than zero, customer data exchange works as described.<\/p>\n<h2>Testing<\/h2>\n<p>Before testing recurring payments, create a myPaysafeCard test account (wallet). To request a test account, contact the <a href=\"https:\/\/developer.paysafe.com\/en\/support\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Paysafe technical support team<\/a> with the following details:<\/p>\n<ul>\n<li>The country for the test account<\/li>\n<li>A date of birth for the test user<\/li>\n<\/ul>\n<p>When the test account is created, test the following scenarios in your Adyen test environment:<\/p>\n<ul>\n<li>Initiate a payment to <a href=\"#create-token\">create a token<\/a><\/li>\n<li>Receive the webhook that confirms tokenization<\/li>\n<li>Process the <a href=\"#make-payment\">different recurring models<\/a><\/li>\n<li>Handle <a href=\"#error\">errors<\/a><\/li>\n<\/ul>\n<p>Perform the same scenarios in your live environment.<\/p>\n<h3 id=\"error\">Error handling<\/h3>\n<p>For refusals the two main errors are:<\/p>\n<table>\n<thead>\n<tr>\n<th>Error message<\/th>\n<th>PaySafeCard error code<\/th>\n<th>How to proceed<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Insufficient funds on customer PaysafeCard account.<\/td>\n<td>2004<\/td>\n<td>There is not enough balance on the myPaysafeCard account.<br\/>You can do either of the following: <ul><li>Retry with a lower amount.<\/li><li>Ask the shopper to top up their myPaysafeCard account, and retry.<\/li><\/ul><\/td>\n<\/tr>\n<tr>\n<td>Token not valid.<\/td>\n<td>10033<\/td>\n<td>The token is no longer valid. This can happen when the token expires if there is more than a year of lack of activity. It is also possible that the token was never (properly) created.<br>Ask the shopper again to approve recurring payments with a new zero-value authorization request.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>","url":"https:\/\/docs.adyen.com\/pt\/payment-methods\/paysafecard\/recurring","articleFields":{"description":"Learn how to use recurring payments with PaySafeCard.","parameters":{"payment_method_type":"paysafecard","currency":"EUR","return_url":"https:\/\/your-company.example.com\/checkout?shopperOrder=12xy.."},"feedback_component":true,"page_id":"3a0f8745-e4d9-4790-b9dd-2c7845c37c33","filters_component":false,"decision_tree":"[]","last_edit_on":"07-08-2025 14:27"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/payment-methods\/paysafecard\/recurring","title":"Recurring payments","content":"Country availability\nPaySafeCard supports tokenization for recurring payments in the following countries:\nAustria, Belgium, Bulgaria, Croatia, Cyprus, Czech Republic, Denmark, Finland, France, Germany, Greece, Hungary, Ireland, Italy, Latvia, Lichtenstein, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, United Kingdom.\nPrepare for tokenization\nPaySafeCard has no setup requirements. Your existing PaySafeCard account will immediately work for recurring payments.\n\nWe strongly recommend that you ask explicit permission from the shopper if you intend to make future recurring payments. Being transparent about the payment schedule and the charged amount reduces the risk of complaints.\n\nSet parameters to flag transactions\nWhen you make a  \/payments request to create a token, or pay with a token you must include:\n\n\n\nParameter\nDescription\n\n\n\n\n recurringProcessingModel\nWhen you first create a token, recurringProcessingModel indicates what type of recurring payment the token is intended for.For subsequent payments, it indicates the type of recurring payment. Possible values:- CardOnFile: A transaction where shopper's myPaysafeCard account details are stored to enable one-click or omnichannel journeys, or to offer a faster checkout later.- UnscheduledCardOnFile: A transaction that occurs on a non-fixed schedule and\/or have variable amounts.- Subscription: A transaction for a fixed or variable amount, which follows a fixed schedule.Adyen propagates these parameters to PaysafeCard. Ensure you choose the most fitting model to ensure maximum conversion.\n\n\n shopperInteraction\nIndicates the sales channel through which the shopper gives their account details. For online transactions, this is Ecommerce. For subsequent payments, indicates whether the shopper is a returning customer (ContAuth).\n\n\n shopperReference\nYour unique reference for the shopper. Minimum length: three characters. Note that the value is case-sensitive. Do not include personally identifiable information (PII), such as name or email address.\n\n\n storePaymentMethod\nWhen you first create a token, set to true to store the shopper's payment details. For subsequent payments, this parameter is not required.\n\n\n\n\nEven though the recurringProcessingModel contains the term card, recurring payments for PaySafeCard is only supported whenever the shopper authorizes with a myPaysafecard account (wallet) and not a PaysafeCard PIN\/card.\n\nCreate PaySafeCard tokens\n\nWhen shoppers pay with PaySafeCard they can use one of two funding sources: Wallet or Voucher\/PIN cards. Only Wallet payments are eligible for tokenization. If a tokenization request is made for a Voucher\/PIN card payment, the transaction will still be processed, but no token will be generated. Note that you cannot control which funding source shoppers use, and PaySafeCard does not indicate this information in the payment response.\n\nWhen the preparation is completed, creating and using tokens for PaySafeCard payments is the same as described for tokenization in general:\n\n\nTo create a token through a zero-value authorization request, in your initial  \/sessions or  \/payments request include:\n\n\n\nParameter\nDescription\n\n\n\n\n value\nSet to 0 when making a zero-value authorization request.For with-purchase tokenization, simply provide the correct amount and include the below parameters.\n\n\n recurringProcessingModel\nThe type of transactions you can use the stored details for.\n\n\n shopperReference\nYour unique reference for the shopper.\n\n\n storePaymentMethod\nThe setting for storing the shopper's payment details.\n\n\n\n\n\nExample  \/payments request (creating token):\n\n    \n\n\nProceed as described for tokenization in general: get the shopper reference and the token by listening to webhooks, and use this data in future payments for the shopper. For instructions on obtaining the token and enabling webhooks for recurring payments, see Create tokens.\n\nMake payment with existing tokens\nIn subsequent transactions, use storedPaymentMethodId to provide the token value obtained from the webhook. This is Adyen's reference to the token \/ myPaysafeCard account.\nThe recurringProcessingModel and shopperInteraction indicate a type of recurring processing is taking place (shopperInteraction = contAuth) and the type of recurring model that is applicable (for example Subscription).\n\n    \n\nCustomer data exchange\nWhen the shopper confirms the payment and a myPaysafeCard wallet was used, you will be able to retrieve the customer\u2019s data via Customer Data Exchange. For any zero-amount transactions used to create a recurring relationship, this data will not be returned. For any (subsequent) payments of an amount greater than zero, customer data exchange works as described.\nTesting\nBefore testing recurring payments, create a myPaysafeCard test account (wallet). To request a test account, contact the Paysafe technical support team with the following details:\n\nThe country for the test account\nA date of birth for the test user\n\nWhen the test account is created, test the following scenarios in your Adyen test environment:\n\nInitiate a payment to create a token\nReceive the webhook that confirms tokenization\nProcess the different recurring models\nHandle errors\n\nPerform the same scenarios in your live environment.\nError handling\nFor refusals the two main errors are:\n\n\n\nError message\nPaySafeCard error code\nHow to proceed\n\n\n\n\nInsufficient funds on customer PaysafeCard account.\n2004\nThere is not enough balance on the myPaysafeCard account.You can do either of the following: Retry with a lower amount.Ask the shopper to top up their myPaysafeCard account, and retry.\n\n\nToken not valid.\n10033\nThe token is no longer valid. This can happen when the token expires if there is more than a year of lack of activity. It is also possible that the token was never (properly) created.Ask the shopper again to approve recurring payments with a new zero-value authorization request.\n\n\n","type":"page","locale":"pt","boost":17,"hierarchy":{"lvl0":"Home","lvl1":"Payment methods","lvl2":"PaySafeCard","lvl3":"Recurring payments"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/payment-methods","lvl2":"https:\/\/docs.adyen.com\/pt\/payment-methods\/paysafecard","lvl3":"\/pt\/payment-methods\/paysafecard\/recurring"},"levels":4,"category":"Payment method","category_color":"green","tags":["Recurring","payments"]}}
