--- title: AppCreditEvent - Partner API description: An event involving an app credit. api_version: 2025-01 api_name: partner type: interface api_type: graphql source_url: html: https://shopify.dev/docs/api/partner/2025-01/interfaces/appcreditevent md: https://shopify.dev/docs/api/partner/2025-01/interfaces/appcreditevent.md --- # App​Credit​Event interface An event involving an app credit. ## Fields * app​Credit [App​Credit!](https://shopify.dev/docs/api/partner/2025-01/objects/AppCredit) non-null A [credit](https://shopify.dev/docs/admin-api/rest/reference/billing/applicationcredit) issued to a merchant for an app. Merchants are entitled to app credits under certain circumstances, such as when a paid app subscription is downgraded partway through its billing cycle. *** ## Types implemented in * [Credit​Applied](https://shopify.dev/docs/api/partner/2025-01/objects/CreditApplied) OBJECT An event that marks that an app credit was applied. * app [App!](https://shopify.dev/docs/api/partner/2025-01/objects/App) non-null A Shopify [app](https://shopify.dev/concepts/apps). * app​Credit [App​Credit!](https://shopify.dev/docs/api/partner/2025-01/objects/AppCredit) non-null A [credit](https://shopify.dev/docs/admin-api/rest/reference/billing/applicationcredit) issued to a merchant for an app. Merchants are entitled to app credits under certain circumstances, such as when a paid app subscription is downgraded partway through its billing cycle. * occurred​At [Date​Time!](https://shopify.dev/docs/api/partner/2025-01/scalars/DateTime) non-null The date and time when the event took place. * shop [Shop!](https://shopify.dev/docs/api/partner/2025-01/objects/Shop) non-null A Shopify shop. * type [App​Event​Types!](https://shopify.dev/docs/api/partner/2025-01/enums/AppEventTypes) non-null The type of app event. * [Credit​Failed](https://shopify.dev/docs/api/partner/2025-01/objects/CreditFailed) OBJECT An event that marks that an app credit failed to apply. * app [App!](https://shopify.dev/docs/api/partner/2025-01/objects/App) non-null A Shopify [app](https://shopify.dev/concepts/apps). * app​Credit [App​Credit!](https://shopify.dev/docs/api/partner/2025-01/objects/AppCredit) non-null A [credit](https://shopify.dev/docs/admin-api/rest/reference/billing/applicationcredit) issued to a merchant for an app. Merchants are entitled to app credits under certain circumstances, such as when a paid app subscription is downgraded partway through its billing cycle. * occurred​At [Date​Time!](https://shopify.dev/docs/api/partner/2025-01/scalars/DateTime) non-null The date and time when the event took place. * shop [Shop!](https://shopify.dev/docs/api/partner/2025-01/objects/Shop) non-null A Shopify shop. * type [App​Event​Types!](https://shopify.dev/docs/api/partner/2025-01/enums/AppEventTypes) non-null The type of app event. * [Credit​Pending](https://shopify.dev/docs/api/partner/2025-01/objects/CreditPending) OBJECT An event that marks that an app credit is pending. * app [App!](https://shopify.dev/docs/api/partner/2025-01/objects/App) non-null A Shopify [app](https://shopify.dev/concepts/apps). * app​Credit [App​Credit!](https://shopify.dev/docs/api/partner/2025-01/objects/AppCredit) non-null A [credit](https://shopify.dev/docs/admin-api/rest/reference/billing/applicationcredit) issued to a merchant for an app. Merchants are entitled to app credits under certain circumstances, such as when a paid app subscription is downgraded partway through its billing cycle. * occurred​At [Date​Time!](https://shopify.dev/docs/api/partner/2025-01/scalars/DateTime) non-null The date and time when the event took place. * shop [Shop!](https://shopify.dev/docs/api/partner/2025-01/objects/Shop) non-null A Shopify shop. * type [App​Event​Types!](https://shopify.dev/docs/api/partner/2025-01/enums/AppEventTypes) non-null The type of app event. *** ##### Variables ```json { "appCredit": "" } ``` ##### Schema ```graphql interface AppCreditEvent { appCredit: AppCredit! } ```