public AtriumClient(string apiKey, string clientID, string basePath = "https://vestibule.mx.com")
 {
     this.accounts      = new AccountsApi(apiKey, clientID, basePath);
     this.connectWidget = new ConnectWidgetApi(apiKey, clientID, basePath);
     this.holdings      = new HoldingsApi(apiKey, clientID, basePath);
     this.identity      = new IdentityApi(apiKey, clientID, basePath);
     this.institutions  = new InstitutionsApi(apiKey, clientID, basePath);
     this.members       = new MembersApi(apiKey, clientID, basePath);
     this.merchants     = new MerchantsApi(apiKey, clientID, basePath);
     this.statements    = new StatementsApi(apiKey, clientID, basePath);
     this.transactions  = new TransactionsApi(apiKey, clientID, basePath);
     this.users         = new UsersApi(apiKey, clientID, basePath);
     this.verification  = new VerificationApi(apiKey, clientID, basePath);
 }
Beispiel #2
0
        public AtriumClient(string apiKey, string clientID)
        {
            Configuration.Default.AddApiKey("MX-API-Key", apiKey);
            Configuration.Default.AddApiKey("MX-Client-ID", clientID);

            this.accounts      = new AccountsApi();
            this.connectWidget = new ConnectWidgetApi();
            this.holdings      = new HoldingsApi();
            this.identity      = new IdentityApi();
            this.institutions  = new InstitutionsApi();
            this.members       = new MembersApi();
            this.merchants     = new MerchantsApi();
            this.statements    = new StatementsApi();
            this.transactions  = new TransactionsApi();
            this.users         = new UsersApi();
            this.verification  = new VerificationApi();
        }