Refunds
Refunds apply to captured or settled payments. Partial refunds specify
amount in the same minor units as the original payment currency.Full refund or partial refund
amount is required and is sent as URL-encoded form data according to the GoPay endpoint expectations.
Refund history
RefundHistoryItem includes:
idstateamountcurrencydate_requesteddate_last_change?
Refund best practices
- Persist refund metadata in your database (refund ID, amount, request timestamp).
- Keep refund amounts in minor units for consistency.
- Build idempotent refund workflows to avoid duplicate requests from retries.