capabilities.work

Refund a Completed Payment

A 4-step recipe with Fintecture. We can help you get access.

Recipe · 4 steps

Refund a Completed Payment

with Fintecture · Payment Initiation Management

Confirm a payment is completed, refund it, and list the resulting refunds.

  1. Read the original payment and branch on its status — only a completed payment proceeds to the refund step.
  2. Initiate an immediate refund for the requested amount against the original payment session.
  3. List all refunds related to the original payment to confirm the new refund is recorded.
  4. Terminal step taken when the payment is not in a refundable state — capture the blocking status in the workflow outputs.
What you'll need to have ready
  • accessToken: A valid PIS-scoped bearer access token.
  • paymentId: Identifier of the original payment to refund.
  • sessionId: The session id of the original payment, supplied in the refund meta.
  • amount: Refund amount as a string (full or partial).
  • currency: ISO currency code of the refund.
  • communication: Free-form remittance information for the refund.
For your developer

Arazzo workflow fintecture:payment-refund, 4 operations: getPaymentSession → createPisV2Refund → getPisV2PaymentRefunds → getPaymentSession. Specs on APIs.io.