Pesquisar

Are you looking for test card numbers?

Would you like to contact support?

Atenção, esta página não se encontra disponível em Português
Default icon

PayPal recurring payments

Hosted Payment Pages are deprecated
This page is for the Hosted Payment Pages (HPP) integration, which is deprecated.
This means we are: Find out more about the deprecation timeline and benefits of migrating.

To create a recurring contact for the shopper send the following code example including the payment.token.

{
   "additionalData":{
      "payment.token":"eyJ2ZXJzaW9uIjoiYWR5ZW4tZWNfdjIiLCJkYXRhIjoiQlFBQkFRQjRlNm14YTdVR09LNGtCZzRIS3B5dThDVXlXUWFzZTVLcjBRWXBXT3Q4aVgrWExCc1FZNVp6MGt6UWdqNkFHQVd4d2JQZHAwK1hYSE1mQ0hSSnNDYlNXWjRhaWtCdW5pVW50ejNZeGlDRzNDRy80NWcrdUVuK1haU3laSjJmVmFMQVZlY2VadkY2Q2FLbmt6UG50dGxxT0JjRlhjZmlhM2FhTWFMRzRhdHJla29iWEFUK0NWUHdXYnhIQlliT1Z0SmEyRU8rU1phdHN2eHUrL21wZG5aVHZDNU1Kam1wYVhLSWhHUTR0MHd1YVZHZzkxNUtOUGxzODg2U280bHlMUVB2SlFoTVZZb2QzMExaNmh2VjhUWFd2OWVOaWwrU0FPaHV2c0QybHY1dlIzQ0FVS3dwanA4SjRoQXNVQnN3clBjVkdHQnRwbC81aVdGWTNySzI0MTBMRUtGQVB3OHJvWEptTk9HQlVJb3liMlFBQU1QeEx4VGZnRWJXbkZzUVBqYW5pYmVoU1FOTnMrNHZYbmlWZ1pxVDJOWm5NTC9rbUpjam9HLythd3RRajAvalpJZlY3SHlDMlN6SVJSWVV6ckEzQ1ZNdmgvbHN2L2g0bFJjL2xRNjBRM2F0ZnhpZjRjL1UrbVpiMGRJcUJYZzdTTkh2akdYQ1JWMmNjTUdVV2pZVG9iQUdrL0JRdWNuQjEvNS9vdWtSOW5GZlkzTDA3djJUcWFtMFdIR3BoeFlUaUVaL25mWkVRbGRGQ29yTlkwd2dtV2xkaUhBd01WTWd5Rng0aTY4YjFURHpXSVlRNF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zM5SlBaMFdPYnRSc0JBSTFobGV4MDhtZmJ3ME9sdzVnZjBrY1RRbkZpOEFCY1pCWHhoYWVEeEFTdXRkSzk1ZEhDWFN5VlVLL3FOeWlNdm5kYXZabC9OYVgwQUdMVFNrYURIakFReUx2RWtudmhSZ3M0YUFjc2VpWkNxWEdiVzA4bHVCV2RGV3BRSzViUnNrYU9NV3pQTXc9PSJ9"
   },
   "brandCode":"paypal_ecs",
   "amount":{
      "value":3541,
      "currency":"EUR"
   },
   "reference":"paypaltokencharge1",
   "merchantAccount":"YOUR_MERCHANT_ACCOUNT",
   "shopperInteraction":"ContAuth",
   "shopperEmail":"paypal1253@adyen.com",
   "shopperReference":"YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j",
   "recurring":{
      "contract":"RECURRING"
   }
}

For subsequent payments, using this billing agreement, use selectedRecurringDetailReference instead of the payment.token.

{
   "selectedRecurringDetailReference":"8314443424715123",
   "amount":{
      "value":2010,
      "currency":"EUR"
   },
   "reference":"paypalrecurringcharge1",
   "merchantAccount":"YOUR_MERCHANT_ACCOUNT",
   "shopperInteraction":"ContAuth",
   "shopperEmail":"paypal1253@adyen.com",
   "shopperReference":"YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j",
   "recurring":{
      "contract":"RECURRING"
   }
}