gateway: add rejects and pending order/cancel tracking