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

366 B
Raw Blame
-- This file should undo anything in `up.sql`
CREATE TYPE "RoutingAlgorithm" AS ENUM (
    'round_robin',
    'max_conversion',
    'min_cost',
    'custom'
);

ALTER TABLE merchant_account DROP COLUMN routing_algorithm;
ALTER TABLE merchant_account ADD COLUMN custom_routing_rules JSON;
ALTER TABLE merchant_account ADD COLUMN routing_algorithm "RoutingAlgorithm";