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
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
-- Your SQL goes here
CREATE TYPE "RelayStatus" AS ENUM ('created', 'pending', 'failure', 'success');
CREATE TYPE "RelayType" AS ENUM ('refund');
CREATE TABLE relay (
id VARCHAR(64) PRIMARY KEY,
connector_resource_id VARCHAR(128) NOT NULL,
connector_id VARCHAR(64) NOT NULL,
profile_id VARCHAR(64) NOT NULL,
merchant_id VARCHAR(64) NOT NULL,
relay_type "RelayType" NOT NULL,
request_data JSONB DEFAULT NULL,
status "RelayStatus" NOT NULL,
connector_reference_id VARCHAR(128),
error_code VARCHAR(64),
error_message TEXT,
created_at TIMESTAMP NOT NULL DEFAULT now()::TIMESTAMP,
modified_at TIMESTAMP NOT NULL DEFAULT now()::TIMESTAMP,
response_data JSONB DEFAULT NULL
);