Skip to main content
object

Represents monetary credits that merchants can apply toward future app purchases, subscriptions, or usage-based billing within their Shopify store. App credits provide a flexible way to offer refunds, promotional credits, or compensation without processing external payments.

For example, if a merchant experiences service downtime, an app might issue credits equivalent to the affected billing period. These credits can apply to future charges, reducing the merchant's next invoice or extending their subscription period.

Use the AppCredit object to:

  • Issue refunds for service interruptions or billing disputes
  • Provide promotional credits for new merchant onboarding
  • Compensate merchants for app-related issues or downtime
  • Create loyalty rewards or referral bonuses within your billing system
  • Track credit balances and application history for accounting purposes

For comprehensive billing strategies and credit management patterns, see the subscription billing guide.

MoneyV2!
non-null

The amount that can be used towards future app purchases in Shopify.

DateTime!
non-null

The date and time when the app credit was created.

String!
non-null

The description of the app credit.

ID!
non-null

A globally-unique ID.

Boolean!
non-null

Whether the app credit is a test transaction.


Was this section helpful?

query

Credits that can be used towards future app purchases.

Arguments

Int

The first n elements from the paginated list.

String

The elements that come after the specified cursor.

Int

The last n elements from the paginated list.

String

The elements that come before the specified cursor.

Boolean
Default:false

Reverse the order of the underlying list.

AppTransactionSortKeys
Default:CREATED_AT

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.



Was this section helpful?

interface

Was this section helpful?