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
with Paystack
Collect a payment, then issue and track a refund against it.
- Initialize the transaction that will later be refunded.
- Verify the transaction reached a final state before refunding.
- Create a refund against the verified transaction reference.
- 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.