Skip to main content

Get Reversal Status

Reversal status should be obtained through the Get Order Status request. The reversal_amount field in the order status response accumulates all the reversals successfully processed for the order.

  • If a full reversal is processed, reversal_amount will be equal to actual_amount.
  • If a partial reversal or multiple reversals are processed, reversal_amount will reflect the sum of all partial reversals.

Example of a Partially Reversed Order

curl -L 'https://pay.fondy.eu/api/status/order_id' \
-H 'Content-Type: application/json' \
-d '{
"request": {
"order_id": "test_12343242111",
"version": "1.0.1",
"merchant_id": "1549901",
"signature": "64bbd2d53ee60f88b8184751cc05bd0a846f5768"
}
}'