capabilities.work

Checkout Payment and Reverse

A 2-step recipe with Adyen. We can help you get access.

Recipe · 2 steps

Checkout Payment and Reverse

with Adyen · Payment Initiation Management

Make a Checkout payment and reverse it by PSP reference.

  1. Submit the payment to obtain an authorisation and a payment PSP reference that can later be reversed.
  2. Reverse the payment against its PSP reference, which cancels the authorisation or refunds the payment depending on its current state.
What you'll need to have ready
  • merchantAccount: The merchant account identifier that processes the payment.
  • amount: The payment amount object with currency and value.
  • reference: Your unique reference for the payment.
  • paymentMethod: The payment method details (e.g. type scheme with card data).
  • returnUrl: The URL the shopper is returned to after the payment.
  • reversalReference: Your unique reference for the reversal request.
For your developer

Arazzo workflow adyen:payment-and-reverse, 2 operations: post-payments → post-payments-paymentPspReference-reversals. Specs on APIs.io.