Classic-integration icon

Authorise a recurring payment

View source

This endpoint is inactive and is no longer supported for new integrations.

The Checkout API enables your online payments integration to accept all supported payment methods, use latest features, and access more benefits.

After you successfully stored payment details during the first /authorise call, you can refer to these details in subsequent calls every time a recurring payment should take place.

One-click payments

For subsequent one-click payments, include in your /authorise request:

  • card.cvc: the card CVC that you collected from the shopper.
  • recurring.contractONECLICK
  • recurringProcessingModel: CardOnFile
  • shopperReference: The shopperReference that you specified when storing the payment details.
  • shopperInteractionContAuth
  • selectedRecurringDetailReference: Either the recurringDetailReference returned from the list of all stored details based on the shopperReference, or LATEST to use the most recent recurring detail.

The following code examples show the request of a one-click payment.

If you are hosting the CSE library, include the encrypted card CVC in additionalData:

{
   "amount":{
      "value":2000,
      "currency":"EUR"
   },
   "additionalData":{
      "card.encrypted.json":"adyenjs_0_1_18$*******"
   },
   "reference":"Your Reference Here",
   "merchantAccount":"YOUR_MERCHANT_ACCOUNT",
   "shopperEmail":"s.hopper@test.com",
   "shopperIP":"61.294.12.12",
   "shopperReference":"YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j",
   "selectedRecurringDetailReference":"LATEST",
   "recurring":{
      "contract":"ONECLICK"
   },
   "recurringProcessingModel":"CardOnFile",
   "shopperInteraction":"ContAuth"
}

Recurring payments

For subsequent recurring payments, include in your /authorise request:

  • recurring.contractRECURRING
  • recurringProcessingModel: Subscription
  • shopperReference: The shopperReference that you specified when storing the payment details.
  • shopperInteractionContAuth
  • selectedRecurringDetailReference: Either the recurringDetailReference returned from the list of all stored details based on the shopperReference, or LATEST to use the most recent recurring detail.

The following code examples show the request of a recurring payment.

Next steps