Happy Business Starts Here

Highlighted
Honor Student

Zuora account connect / callouts

Hi there,

 

We are building an app that needs to obtain data (transaction/subscription info mainly) from a Zuora account to a local database and to update it in real time.

 

Regular payment gateways like Stripe or PayPal have a feature called "Connect" -- a way for account owners to grant permissions to 3rd party apps for getting data posted via webhooks, for update purposes. In Zuora we can create an API user (which is fine) but:

 

1) We have to set up callouts in the admin area which is not great, since we'll have to either persuade a customer to give us admin access to set up our app for them (not gonna happen) or provide them with lengthy, prone-to-error instructions of how to create a callout for every event to pass data updates to our app.

 

2) There can only be _one_ callout per event in an account, so if a customer already has callouts configured for other reasons, our app can't have its own callouts added. Or the customer must have their own internal receiver URL for callouts that would then route callouts to multiple different places.

 

We haven't seen much uproar regarding that in your forums (apart from one topic about multiple callouts) which makes me think that 1) nobody is using Zuora that way or 2) we don't understand your system much yet, and there's a totally different way to do what we are trying to do.

 

Please help. Appreciate the answer!

Emil

7 REPLIES 7
Zuora Alumni

Re: Zuora account connect / callouts

Hello

 

Can you confirm you would like to consume a set of data, and update an external database in as "near" time as possible?

 

Thanks



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Honor Student

Re: Zuora account connect / callouts

Adam,

 

Exactly. This is the core function of our app.

Support SME

Re: Zuora account connect / callouts

Hello @emil , if you're looking for fast (synchronous) responses from our system, and you've mentioned you already know how to create API users, I think the best practice would be to use API calls instead of callouts. Callouts are asynchronous by nature, there is no guaranteed delivery time.

 

API calls on the other hand are synchronous, they do not require extra configuration like callouts do, and most of the Zuora data is accessible via query calls. Of course, I am not entirely familiar with what data you'd like to export to your external database - if you could clarify, we could take a closer look. You've mentioned subscription and transaction data, which should be absolutely possible.

 

I suggest reviewing the following materials to see if these would be fit for your purposes:

 

https://www.zuora.com/developer/

 

http://knowledgecenter.zuora.com/DC_Developers/SOAP_API

 

http://knowledgecenter.zuora.com/DC_Developers/Aggregate_Query_API <--- this is primarily used for populating external data warehouses however it is not synchronous, it's export based

 

Let us know if you need more information!



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Honor Student

Re: Zuora account connect / callouts

@Viktor thank you for your reply. Is it possible to get notifications about the data being updated on your end (new subscriptions, cancellations, transactions, new users, etc) to keep our external database up-to-date?

Support SME

Re: Zuora account connect / callouts

@emil I'm starting to see how you would like to use your app.

 

Yes, for that purpose (if you're not the one who's triggering these updates) callouts are indeed the best, sorry for the confusion. You can configure independent URLs per callout type, "so if a customer already has callouts configured for other reasons", and those are configured with their respective URLs, you can separate the callouts being sent.

 

Currently we have the callout types available that are listed on the UI (which should cover your needs: New Subscription Created,
AmendmentProcessed | Cancellation ,
Payment Processed | Payment Processed ) but our Product Team is working on a "callout on any event" feature that would introduce powerful configuration options for the whole callout framework.

 

http://knowledgecenter.zuora.com/BB_Introducing_Z_Business/Notifications/G_Event_Categories_for_Noti...

 

http://knowledgecenter.zuora.com/BB_Introducing_Z_Business/Notifications/C_Create_Notifications



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Honor Student

Re: Zuora account connect / callouts

@Viktor Oh, thanks for clarification. What about the necessity to add callouts by admin? Is there any way to do that programmatically, or any other way? What we are trying to avoid here is the sheer complexity of setting up the app. That might be a showstopper right there for many companies.

Support SME

Re: Zuora account connect / callouts

@emil currently it is only possible to configure callouts via the UI, however setting up 3-4 callout types should not take more than 15 minutes, and it only involves a few steps. If you don't have access to Zuora yet, I suggest applying for a free trial environment, where you could test how to set up the desired callouts for your application!

 

https://www.zuora.com/resource/zuora-test-drive/



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √