Batch Refund Payments
Queues a full refund for each of the given payments. Every payment is refunded
independently - one refund job per payment, identical to refunding them one at a
time - so a payment that cannot be refunded is reported in `results` while the rest
still proceed.
Partial amounts are not supported here, and payments needing a destination wallet
are skipped with `skipped: true` on their result. Refund those payments
individually with `PUT /merchant/payments/{paymentId}/refund`.
Authentication
Authorizationstring
The API key of the merchant - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
Request
This endpoint expects an object.
paymentIds
Ids of the payments to refund in full. Maximum of 100 per request.
refundReason
Response
Ok
queued
Number of refunds successfully queued.
failed
Number of payments that failed to queue and may be worth retrying.
skipped
Number of payments skipped because batch refunds cannot process them.
results

