apiVersion: naftiko.io/v1alpha1 kind: CapabilityComposition metadata: name: payments-orchestration title: Multi-Rail Payments Orchestration Workflow provider: jack-henry description: >- Workflow that picks the best payment rail (ACH same-day, Wire, RTP, Card) for a given payment intent — including pre-payment customer + account lookups against jXchange — and emits the resulting event on the Enterprise Event System. tags: - Payments - Orchestration - ACH - Wire Transfers - RTP - Events spec: steps: - id: getCustomer capability: jxchange-rest operation: getCustomer description: Confirm originator KYC status and account ownership. - id: getDepositAccount capability: jxchange-rest operation: getDepositAccount description: Pull the originator's deposit-account balance and status. - id: routePayment capability: jack-henry-payments operation: routePayment description: Submit the payment to the Orchestrator, which picks the rail. - id: subscribeTransactionEvent capability: enterprise-event-system operation: subscribeTransactionEvents description: Subscribe to the resulting transaction event for downstream reconciliation.