Is there a way to get transactions for all container accounts belongs to a specific site aggregated using Yodle APIs? - yodlee

Is there a way to get transactions for all container accounts that belong to a specific site aggregated using Yodle APIs?
For example, the American Express Cards (siteId: 12) have bank, credits, loans and etc enabled containers.
So, can we get the transactions for all enabled container accounts for a single site?

If you mean to ask this- "Is there a way to get transactions for all the accounts(all containers) belongs to a particular site?" Then.
Yodlee provides two ways to get the transactions.
Getting transactions for a specific account i.e., you need to provide itemAccountId for each account to get the transactions for the specific account using executeUserSearchRequest API.
Getting transactions for all the accounts i.e., you need not to provide itemAccountId for any of the particular account while provide rest of the input parameters to get transactions using executeUserSearchRequest but this will return you transactions for all the accounts. Using your example, it will give you transactions for all the container present under SiteID-12 as well as other sites added by the consumer. Though you can use the second approach to get the transactions for all accounts and then filter it out for all containers belongs to a specific site. You can use the sumInfoId(ContentServiceID) present in the response for each transaction.

Related

Restrict customers being able to view a category/plp

What is the suggested approach to restrict a customer viewing a PLP, based on the user group assigned to the CategoryModel?
For example, let's say a category with code "c012345" is assigned to the user group "promoPreviewCustomers". I have two registered customers who are a part of the customergroup but only one customer is in the promoPreviewCustomers group.
Only the customer who is in a promoPreviewCustomers group, should be able to see the PLP of the category page c012345.
Our initial thought was to drive this through a personalisation rule within Commerce.
What are other people's thoughts on how this should be implemented within Spartacus, given that the product search API does not take into account the logged in customer?
Any restriction done only in Spartacus will be only for the UX as true restriction can only be done in the backend. Therefore, the best approach would be to drive this behavior with personalization within Commerce

how to retrieve bill pay transactions using yodlee rest api

I using the executeUserSearchRequest to get transactions for bank,credit etc.
But I'm not able to get Bill Pay transactions.
Should I not be using this method to retrieve the lines, or perhaps I'm doing the search wrong. I know the account I'm using does contain lines as I've verified using another application that uses the yodlee api;s.
I using these settings
ContainerType: All
SplitType : ALL_TRANSACTION
transactionSearchRequest.searchFilter.itemAccountId.identifier = 9999999
where 99999 is the itemaccountid
all other values are defaults from the API testing tool
https://developer.yodlee.com/Aggregation_API/Aggregation_Services_Guide/Aggregation_REST_API_Reference/executeUserSearchRequest
You should be able to retrieve transactions for billpay using the same API i.e., executeUserSearchRequest. Please remove itemAccountId.identifier and try to get transactions, it will return transactions for all accounts.
You can then verify is transactions for your billpay account is present or not.
If you want transactions for specific account then you can first call getItemSummariesForSite API to get the account level details for the added account and from there you can use the itemAccountId and pass it on to executeUserSearchRequest API.
If you still face any problem, please share your memSiteAccId over our chat support and we will be able to help you.

eCommerce - Multiple Bank Accounts Automated Transactions

Evening
I have a client who is asking to build an eCommerce tool in which multiple stores are able to create accounts and their products in order to sell them via a web app.
This is not like any regular eCommerce sites since we are working with multiple stores each one of them with an unique bank account.
The quick solution is to ask the stores users to give me the bank account and all extra sensitive information and do the transaction via coding my self... but i don't want to mess with such delicate data that is why im looking for some service that helps me do that.
I know that i can use auth net to build something like that but my main client will have to pay for each of those merchant accounts, which is not a very good option.
Any of you had the chance to work in something like this before? Can you tell me which services you used? Would be extraordinary to use the same payment gateway to do everything but i am probably asking for too much...
Waiting for answers, thanks in advance
You definitely don't want to be storing bank information and card data if you are not Level 1 PCI compliant. There is a lot of financial liability if you do so.
There is a company called Base Commerce (www.basecommerce.com) which allows developers such as yourself to create a 'partner' account and associate multiple merchant accounts under it. You can spin up or down as many accounts as you want, all programatically, at no cost (except for the small % transaction fees that are normal in payment processing). You will also get commissions on the transactions your merchants process.

Can't get transactions - 0 returned

I'm attempting to get transactions on an account previously added (more than a few days ago).
The account was added to a test account on our sandbox but the account is real.
I use executeUserSearchRequest to initiate the search, with the parameters shown in the image below (screenshot from PhpStorm, while debugging).
The result can also be seen on the screenshot.
Please note that I've also attempted fetching transactions for another account on a different financial institution (that was added to the customer account on Yodlee again several weeks ago). It also returns no results.
When both accounts were added, they were added using addItemForContentService1 with a parameter to refresh right after adding (startRefreshItemOnAddition=true).
What can be the reason for this 'no transactions' reply? (although we know that there were transactions on those accounts).
Thanks
As per the screenshot it seems like you are filtering the transactions based on the containerType= 'stocks', this will return transactions for all the investment accounts for that user.
Also, you are passing the itemAccountId.identifier which is for a specific account.
It would be great if you check followings:
The actual account aggregated is an investment account?
The itemAccountId is correct for that account?
Else, you can just remove the itemAccountId.identifier param as it is non-mandatory field and try. You should get some transactions in response.

variable monthly charges to users

I have a situation where I am to bill the site users monthly. But the invoice amount that is raised depends on the the leads that our site generates for his business. For example if the user gets 5 leads from my site and I charge him $10 per lead, at the end of month he will be charged $50. similarly leads might vary each month so will the amount.
Now I cant store his cc/ paypal credentials on my site for security reasons nor can I pre bill him or ask him to take credits and then use it. Please let me know the way to handle this situation. How can I handle this using paypal?
There are a few different ways to handle this, but I would recommend Preapproved Payments, which are part of the Adaptive Payments API.
With this method your users would create a profile with you (using the Preapproval API) when they first create their account on your site. That will give you a preapproval key that you can store with your user account. Then in the future when you need to bill them you can use the Pay API with the preapproval key to process funds immediately without further approval.
If you're working with PHP my class library for PayPal will make these calls very simple for you. You would just use the Preapproval.php template to setup the profiles for people, and then use PayWithOptions.php to process payments using the preapproval key(s) accordingly.
If you end up using it and need more help you can contact me directly for support.