POSTs that move money require an Idempotency-Key header so a retry does not create a second escrow, release, or payout.
When it is required
SendIdempotency-Key on:
POST /escrowsPOST /escrows/{id}/releasePOST /escrows/{id}/refundPOST /escrows/{id}/cancelPOST /escrows/{id}/disputesPOST /escrows/{id}/disputes/{id}/resolvePOST /checkout/sessionsPOST /walletsPOST /wallets/{walletId}/creditsPOST /withdrawals
INVALID_REQUEST.
Behavior
- The key is scoped to the merchant.
- Replaying the same key with the same method, path, and body returns the original response.
- Reusing a key with a different body returns 409.