Patch expire orders

patch/api/stablecoin/v1/internal/expire-orders

Process and expire stale orders in 'CREATED' state with client_deposit_hash as null and older than 24 hours.

Request Body

ordersToProcess number required

200 Response

Array of
orderId string required
Unique identifier for order
Example: 45dbb7dc-98db-422a-b1bd-8b624983ae0c
status string required
state of the order
Allowed values: expired rejected failed no_action excluded failed_to_update_order_status
Example: expired

400 Response

500 Response