Update the maximum charge for a subscription
Update the maximum amount that merchants can be charged for their subscription. You should do this if you change your pricing model.
RequirementsAnchor link to section titled "Requirements"
Step 1: Retrieve charge dataAnchor link to section titled "Step 1: Retrieve charge data"
Make a request to the
AppSubscription object for the following data:
cappedAmountis the maximum that a merchant is billed for during the 30-day billing cycle. The
currencyCodemust be one of the supported currencies.
The following query is an example:
Step 2: Update the capped amountAnchor link to section titled "Step 2: Update the capped amount"
Update the app subscription's capped amount by passing the
AppSubscription ID to the
appSubscriptionLineItemUpdate mutation as an argument.
The following mutation is an example: