Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 1.52 KB

File metadata and controls

18 lines (13 loc) · 1.52 KB

shopify.billing

This object contains functions used to create and check billing charges with Shopify, based on the plans defined in the billing configuration.

Learn more about how billing on Shopify works.

Note: this package uses the GraphQL Admin API to look for and/or request payments, which means an app must go through OAuth before it can charge merchants.

Property Description
check Checks if the current shop has paid for any of the given plans.
request Requests a new payment for the given payment plan.
cancel Cancel a subscription plan using the given subscription id.
subscriptions Get a list of subscription plans that the current shop has paid for.
createUsageRecord Create a usage record for a usage billing plan.
updateUsageCappedAmount Updates the capped amount for a usage billing plan.

Back to shopifyApi