CREATE TABLE clearing_tasks (
    id SERIAL PRIMARY KEY,
    payment_id text NOT NULL,
    session_id text NOT NULL,
    sum double precision NOT NULL,
    refund double precision DEFAULT 0,
    created_at_ts integer NOT NULL,
    order_id text,
    billing_type text DEFAULT 'car_usage'
);
