post https://api.sandbox.rainforestpay.com/v1/payins//void_or_refund
Void or refund a payin by the payin ID.
If the payin status is Processing
, then the full payin amount can be voided. A payin cannot be partially voided. If the payin status is Succeeded
, then the payin can be fully or partially refunded. See the payin refundable_amount
and non_refundable_reason_code
for details on if the payin is eligible for a void or refund.
Upgrade to the latest version
These docs are for version
2023-01-01
. We encourage you to upgrade to version2023-12-01
to simplify user authorization and access new features. Please see the changelog for more information.