⚡ Do not merge this pull request yet.
The retry can create a second refund.
apps/api/src/refunds.ts:142The payment provider creates the refund, but its response times out. The retry starts without checking the saved refund ID.
Test: Zeus forced the response to time out after the first refund. It then ran the retry.
Zeus reproduced the problem in the sandbox.
Fix the issue before you merge the pull request.
