Skip to main content

Support one-time app purchases

A single one-time app charge uses a pricing model similar to purchasing a product, where you make a one-time payment at the time of purchase. Multiple app charges follow a pay-as-you-go pricing model, meaning that when use of a service or product has reached a certain limit, another payment is made to continue using it. In this case, the one time charge represents multiple charges that your app creates.

Merchants must approve the pricing plan. After accepting the charges, the merchant is redirected to a URL that you provide.



Anchor to Step 1: Create the chargeStep 1: Create the charge

  1. Refer to an example of creating a one-time app charge.

  2. Make a request to the appPurchaseOneTimeCreate mutation with the following information:


Anchor to Step 2: Monitor updates to one-time app purchasesStep 2: Monitor updates to one-time app purchases

To receive notifications when merchants update their one-time app purchases, subscribe to the GraphQL Admin API's APP_PURCHASES_ONE_TIME_UPDATE webhook topic.



Was this page helpful?