/** * Plugin settings data model */ export interface Settings { /** greenmoney endpoint that could be greenbyphone.com, cpsandbox.com or localhost */ endpoint: string /** greenmoney client id */ clientId: string /** Checkout context. Can be Blocks, Classic or OrderPay */ context: string /** If Plaid widget is enabled */ plaidEnabled: boolean /** Bank login provider configured by the Green API */ bankLoginProvider?: 'plaid' | 'ribbit' /** AJAX URL for Ribbit CONNECT session */ ribbitSessionAjaxUrl?: string /** Nonce for Ribbit CONNECT session AJAX */ ribbitSessionNonce?: string /** AJAX URL for Ribbit TAN bank lookup */ ribbitTanCheckAjaxUrl?: string /** Nonce for Ribbit TAN bank lookup AJAX */ ribbitTanCheckNonce?: string /** Ribbit CONNECT environment */ ribbitEnvironment?: 'Test' | 'Production' /** Payment method title */ title: string /** Payment method description */ description?: string /** Payment method extra message */ extraMessage?: string /** Supported features of the plugin */ supports?: string[] }