ContractSpec docs

OSS-first docs

These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.

openbanking

Open banking account sync, balance refresh, and transaction synchronization

  • Type: feature
  • Version: 1.0.0
  • Stability: experimental
  • Owners: @platform.finance
  • Tags: open-banking, powens, finance, banking
  • field.key.label
    openbanking
    field.version.label
    1.0.0
    field.type.label
    feature
    field.title.label
    openbanking
    field.description.label

    Open banking account sync, balance refresh, and transaction synchronization

  • Type: feature
  • Version: 1.0.0
  • Stability: experimental
  • Owners: @platform.finance
  • Tags: open-banking, powens, finance, banking
  • field.tags.label
    open-banking,powens,finance,banking
    field.owners.label
    @platform.finance
    field.stability.label
    experimental

    Open banking account sync, balance refresh, and transaction synchronization

    Operations (7)

    `openbanking.accounts.sync` (v1.0.0)

    `openbanking.accounts.list` (v1.0.0)

    `openbanking.accounts.get` (v1.0.0)

    `openbanking.balances.refresh` (v1.0.0)

    `openbanking.balances.get` (v1.0.0)

    `openbanking.transactions.sync` (v1.0.0)

    `openbanking.transactions.list` (v1.0.0)

    Source Definition

    /**
     * OpenBanking Integration Feature Module Specification
     *
     * Defines the feature module for open banking integrations.
     */
    import { defineFeature } from '@lssm-tech/lib.contracts-spec/features';
    
    /**
     * OpenBanking feature module that bundles account, balance,
     * and transaction synchronization capabilities.
     */
    export const OpenBankingFeature = defineFeature({
    	meta: {
    		key: 'openbanking',
    		version: '1.0.0',
    		title: 'Open Banking Integration',
    		description:
    			'Open banking account sync, balance refresh, and transaction synchronization',
    		domain: 'integrations',
    		owners: ['@platform.finance'],
    		tags: ['open-banking', 'powens', 'finance', 'banking'],
    		stability: 'experimental',
    	},
    
    	// All contract operations included in this feature
    	operations: [
    		// Account operations
    		{ key: 'openbanking.accounts.sync', version: '1.0.0' },
    		{ key: 'openbanking.accounts.list', version: '1.0.0' },
    		{ key: 'openbanking.accounts.get', version: '1.0.0' },
    
    		// Balance operations
    		{ key: 'openbanking.balances.refresh', version: '1.0.0' },
    		{ key: 'openbanking.balances.get', version: '1.0.0' },
    
    		// Transaction operations
    		{ key: 'openbanking.transactions.sync', version: '1.0.0' },
    		{ key: 'openbanking.transactions.list', version: '1.0.0' },
    	],
    
    	// No events for this integration feature
    	events: [],
    
    	// No presentations for this library feature
    	presentations: [],
    	opToPresentation: [],
    	presentationsTargets: [],
    
    	// Capability definitions
    	capabilities: {
    		provides: [{ key: 'openbanking', version: '1.0.0' }],
    		requires: [{ key: 'identity', version: '1.0.0' }],
    	},
    });