capabilities.work

Checkout Payment and Refund

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

Recipe · 2 steps

Checkout Payment and Refund

with Adyen · Payment Initiation Management

Make a Checkout payment and refund it by PSP reference.

  1. Submit the payment with the supplied payment method and amount to obtain an authorisation and a payment PSP reference.
  2. Refund the supplied amount against the payment PSP reference, returning funds to the shopper.
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.
  • refundAmount: The amount object to refund (currency and value in minor units).
  • refundReference: Your unique reference for the refund request.
For your developer

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