Verified BursaPay gateway workflow: Explains the refund endpoint and its wallet-impact rules.
1. Overview & Purpose
The gateway supports full or partial refunds; successful refunds update the payment state and debit the developer wallet.
2. Requirements & Setup
Only successful payments are eligible, and the wallet must have sufficient balance for the refund amount.
3. Step-by-Step Workflow
- Select the payment reference.
- Choose a full refund or provide a partial amount.
- Send the refund request with an idempotency key.
- Confirm the refund state and resulting wallet entry.
4. Rules & Troubleshooting
Multiple partial refunds can be used until the original payment amount is exhausted.
5. Verification & Next Steps
Use idempotency to prevent accidental duplicate refunds during retries.