post https://sandbox-api.spinwheel.io/v1/payments/reversePaymentToPlatform
This API will allow you to reverse a payment to platform. The original external requestId (extRequestId) from the original payment to platform request is needed to match the original transaction.
The amount field is optional, some considerations:
-
If no amount is provided, it will attempt to reverse the entire value from the original extRequestId
-
If an amount is provided, it can be up to the entire amount of the original extRequestId (paymentToPlatform)
-
However, there is also tracking of the partial amounts that have previously been reversed. The partner cannot go over the original paymentToPlatform amount that was sent in increments of reversals.