刷新帐户时使用discoverAndAddAccounts或getLoginAccounts



在下面的示例中,我使用相同的AggCatService。我使用的是Java SDK。

  1. 用户第一次在我的应用程序中添加新机构时,我调用discoverAndAddAccounts将凭据添加到intuit服务器。我是否还需要为每个帐户执行getLoginAccounts以刷新帐户,或者getAccountTransactions是否足够?

  2. 稍后,当我想从添加的帐户中获取新信息时,我应该再次调用discoverAndAddAccounts,还是应该只为每个帐户执行getLoginAccounts和getAccountTransactions?

  3. 如果我在刷新时再次调用discoverAndAddAccounts,我会向Intuit服务器添加重复的凭据信息吗?还是Intuit知道凭据已经添加?

谢谢你帮忙。

1|若要获取刷新信息,应在DiscoverAndAddAccounts API调用后立即调用UpdateInstituationLogin,刷新标志设置为true。

参考-https://developer.intuit.com/docs/0020_customeraccountdata/customer_account_data_api/0020_api_documentation/0075_updateinstitutionlogin#Update_Institution_Login

2|获取刷新信息后,可以直接调用GetAccount、getAccountTransactions API。

https://developer.intuit.com/docs/0020_customeraccountdata/customer_account_data_api/0020_api_documentation/0035_getaccount

3|理想情况下应该添加delta。如果没有,那么您可以通过将现有的accountId与相同的API响应进行比较来以编程的方式进行操作。我没有针对任何真实的FI进行测试。我使用了CC_Bank,但它总是返回一个静态的帐户列表。-https://developer.intuit.com/docs/0020_customeraccountdata/customer_account_data_api/testing_calls_to_the_api

我可以确认行为并更新此帖子。

感谢

相关内容

  • 没有找到相关文章

最新更新