capabilities.work

Charge and Refund a Transaction

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

Recipe · 4 steps

Charge and Refund a Transaction

Collect a payment, then issue and track a refund against it.

  1. Initialize the transaction that will later be refunded.
  2. Verify the transaction reached a final state before refunding.
  3. Create a refund against the verified transaction reference.
  4. Fetch the refund record to confirm its current processing status.
What you'll need to have ready
  • email: Customer's email address.
  • amount: Transaction amount in the smallest currency unit.
  • refundAmount: Amount to refund; omit to refund the full transaction amount.
  • customer_note: Reason for the refund shown to the customer.
For your developer

Arazzo workflow paystack:charge-and-refund-transaction, 4 operations: transaction_initialize → transaction_verify → refund_create → refund_fetch. Specs on APIs.io.