How can I programmatically access payout information from a billing API?

How can I programmatically access payout information from a billing API?

vaibhavrai46
Visitor
1 0 0

Hey,

 

We've developed a Shopify app and I'm using Shopify's billing API for payments.

 

Is there a way to get the information about the Payout programmatically?

 

When the store installs our app and selects a billing plan, they are charged based on the billing plan that they chose. Since the payments are handled by Shopify, we would like to fetch/receive the amount that Shopify owes us for the last month or the current month.

 

Is there a webhook or an API that we can use for this?

Reply 1 (1)

ReturnPrime
Shopify Partner
488 67 111

What you can do here is you can call the charges API for each store and get the current subscription plan active on it (it also shares the previous subscription plans). With that, you can amount Shopify owes you.

For more details check the doc below;

Shopify Charges-API

 

Mritunjay

Return Prime