Does the GetTransactions API in new Yodlee API support instant refresh. The scheduled refresh seems to work fine but I am not able to conclude that instant refresh is not supported. All this assumes that the user is logged in and initiating a refresh scenario.
QuickBooks aggregation handled it automatically although they have a batch refresh algorithm similar to Yodlee.
Scheduled refresh- Will be carried once in a day.
We do support Instant refresh- Please pass the providerAccountId to Update Account API (https://developer.yodlee.com/apidocs/index.php#!/providerAccounts/updateAccount) to trigger instant refresh for that Provider Account.
Hope this helps.
APIs- Description
1 Cobrand Login- Obtain the cobrand session.
2 User Login/Register User- Obtain the user session.
3 Get Providers- Search for Provider using the search string . For Ex: WellsFargo
4 Get Provider Details- Obtain the login form by passing the obtained providerId to this API
5 Add Account- Enter the user credentials in the login form and pass it to this API.
6 Get Provider Account Details- Pass the providerAccountId obtained from the "Add Account" API to "Get Provider Account Details" API, to get add account/refresh status and for any MFA form which is required by the bank.
7 Update Account- Pass the MFA form (with valid value(s)) to "Update Account" under CredentialParams along with providerAccountId. (Can also be used to trigger instant user refresh)
8 Get Provider Account Details- Poll this API to get (add account)refresh status, consider different statuses present here.
9 Get Accounts- After successful account addition. Pass the providerAccountId to this API to get the account ids of that account and account level details.
10 Get Account Details- Pass the accountId to this API to get the account level details For Ex: Balance amount, Currency etc.
11 Get Transactions- Use this API , to get the transaction level details (Pass the accountIds obtained and use the date filter) . Ensure to use the fromDate and toDate filter else you will be receiving the last 30 days of transactions only.
Related
I have a web application that will authorize a user with eBay so that I can post items for them. But I want to cap the limit at 50 per account and eBay account. I can easily track how many item posts they performed in my application. But what prevents the user from opening another account with my application and re-authorize with the same eBay account.
So I tried it with my application and my eBay account and looking at the tokens from account1 and account 2 there's literally 5 characters difference at the beginning of the token String (around character 15). Rest of the token is the same.
Is there a way to tell from the token if it's the same account?
Ok to handle this you would need to get the eBay User and compare to see if they have already registered. Using the user authorized token make a call to get the user details via:
ApiContext.getApiCredential().seteBayToken(FetchTokenCall.fetchToken());
GetUserCall gu = new GetUserCall(ApiContext);
UserType user = gu.getUser();
Now compare and save relevant data.
Here is the scenario:
User logins to the bank successfully (via Fastlink)
Right after user logs in, I get user's provider_accounts (via /providerAccounts API)
Then when I call to get the accounts, (via /accounts) I sometimes get empty response (zero accounts found?)
When I try later (seconds or minutes after) I get some accounts information back.
Is this because Yodlee is still trying to gather account information when I'm making /accounts api call?
This is because the accounts are still being added/linked.
Using the requestId and providerAccountId provided by FastLink callback, you need to poll continuously to know the refresh status of the account linking process and once it's done, you can call the get accounts.
Read more about the refresh status in the "Add/Update Account Process Status" section.
Yodlee makes things easier now with webhooks. Read more here:
Using Webhooks with the Yodlee Core API
TL/DR: You need to wait for the add/link completion before retrieving the accounts.
I just upgraded my account to the "Soundcloud Go" subscription and the API does not acknowledge the subscription:
Sample data from /Me endpoint
plan:"Free"
...
subscriptions:Array[0]
I gave it some time to refresh, I disconnected my account and re-connected it with a new access token with no different end result.
I was attempting to see if upgrading the account would allow greater access via the API as large portions of previously available data is now missing (for example I am only getting 42 of my "liked / favorited" items returned out of 62)
I'm using yodlee live API to link the bank transaction details.
Invalid bank account details accepts, when we add new site account in yodlee via live API, For example, the the account details like xxxxx and yyyyy, then the account added successful.
It's normal or any settings to be turned on in yodlee account or API parameters?
How can i validate the account details? while user add new site account?
Thanks in advance.
Though Yodlee accepts the invalid details/credentials, the account would fail. This would be represented by an Error code such as 402, which would mean that the credentials are wrong.
This is normal setting and teh only way you can validate if the details are right is by checking the status of the account. The error code should be "0" if everything is right.
Hope this helps. You can get more details on error codes under different scenarios #Error Code
Hope this helps
-Vijay
In short: Yodlee doesn't know the username/password entered during add account are correct or not; it has to validate the same with Bank website.
To explain you the process:
When you are adding a particular Bank account, you provides the username/password(it may be correct or incorrect) Yodlee doesn't know and can't validate at the time of submission. Yodlee takes the inputs(username/password) and submits the same to the Bank website(which consumer had selected); meanwhile you'll receive a response from API- addSiteAccount1, which will have the code as 801 (Refresh Never Done and Yodlee is going to update your account).
Once Bank website validate the same and found them incorrect Yodlee return 402 error code(invalid credentials), you need to call getSiteRefreshInfo API to check the same in loops each of 3-4sec.
I am trying to use the Ebay API to get completed transactions for a seller(s) that is using a different account from my developer account. I've looked into GetSellerTransactions and GetOrders. Unfortunately, I am not sure if it's possible to specify a User ID different from mine. Could you point me to working example of how to do this?
To get transactions for a user you should be first authorized by that user.
You will need a developer account for that.
This links will guide you
http://developer.ebay.com/DevZone/XML/docs/WebHelp/wwhelp/wwhimpl/common/html/wwhelp.htm?context=eBay_XML_API&file=GettingTokens-Getting_Tokens_for_Applications_with_Multiple_Users.html
http://developer.ebay.com/DevZone/XML/docs/WebHelp/wwhelp/wwhimpl/common/html/wwhelp.htm?context=eBay_XML_API&file=DevAndTestApplications-Testing_Applications.html
Once you get the user token for a user you need to send them along with your developer credentials to make the getOrders API call for that particular user.