Initiates a refund for the specified order. The order can be specified either by Ivy’s internal orderId or by the referenceId provided by the merchant during checkout creation. If the refund should only be partial, you can specifiy this with the amount parameter.
API key for authentication
Returns the refund result.
failed, canceled, processing, waiting_for_payment, paid, in_refund, refunded, refund_failed, partially_refunded, in_dispute, disputed, refused, finalizing pending, succeeded, failed, requires_action, partially_refunded