Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

577 B
Raw Blame
-- Your SQL goes here
-- Tables
CREATE TABLE IF NOT EXISTS gateway_status_map (
    connector VARCHAR(64) NOT NULL,
    flow VARCHAR(64) NOT NULL,
    sub_flow VARCHAR(64) NOT NULL,
    code VARCHAR(255) NOT NULL,
    message VARCHAR(1024),
    status VARCHAR(64) NOT NULL,
    router_error VARCHAR(64),
    decision VARCHAR(64) NOT NULL,
    created_at TIMESTAMP NOT NULL DEFAULT now()::TIMESTAMP,
    last_modified TIMESTAMP NOT NULL DEFAULT now()::TIMESTAMP,
    step_up_possible BOOLEAN NOT NULL DEFAULT FALSE,
    PRIMARY KEY (connector, flow, sub_flow, code, message)
);