Cancel order
DELETE/cashouts/:id/
Undoes a previous PaysafeCash POS cashout order.
Cancellation succeeds when the five-minute cool-down period has not elapsed and the order status is PREPARED or DELIVERED. During the cool-down period, the amount associated with the order is temporarily frozen. After the cool-down period elapses, cancellation might fail because the customer may already have used the amount associated with the order.
Implementing this request is mandatory when a previous order must be undone because there is not enough money available at the POS to give to the customer. A successful cancellation does not appear on the distributor invoice, but does appear in the daily reconciliation file. The Correlation-ID header can be used instead of the order ID in the URI.
Request
Responses
- 200
- default
Cashout order cancelled successfully.
PaysafeCard direct or PaysafeCash request error. See PaysafeCardDirectPaysafeCashErrorCode.