capabilities.work

Charge Then Refund

A 3-step recipe with Flutterwave. We can help you get access.

Recipe · 3 steps

Charge Then Refund

Confirm a charge succeeded, refund it, and verify the refund status.

  1. Retrieve the charge to confirm it succeeded before refunding.
  2. Issue a refund against the verified charge.
  3. Retrieve the refund to confirm its final status.
What you'll need to have ready
  • accessToken: OAuth2 client-credentials bearer token for the Authorization header.
  • chargeId: Identifier of the charge to refund.
  • amount: Amount to refund in the major currency unit.
  • reason: Optional human-readable reason for the refund.
For your developer

Arazzo workflow flutterwave:charge-then-refund, 3 operations: getCharge → createRefund → getRefund. Specs on APIs.io.