---
title: CreditFailed - Partner API
description: An event that marks that an app credit failed to apply.
api_version: 2026-04
source_url:
  html: https://shopify.dev/docs/api/partner/latest/objects/creditfailed
  md: https://shopify.dev/docs/api/partner/latest/objects/creditfailed.md
---

# Credit​Failed

object

An event that marks that an app credit failed to apply.

## Fields

* app

  [App!](https://shopify.dev/docs/api/partner/latest/objects/App)

  non-null

  A Shopify [app](https://shopify.dev/concepts/apps).

* app​Credit

  [App​Credit!](https://shopify.dev/docs/api/partner/latest/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/latest/scalars/DateTime)

  non-null

  The date and time when the event took place.

* shop

  [Shop!](https://shopify.dev/docs/api/partner/latest/objects/Shop)

  non-null

  A Shopify shop.

* type

  [App​Event​Types!](https://shopify.dev/docs/api/partner/latest/enums/AppEventTypes)

  non-null

  The type of app event.

***

## Map

No referencing types

***

## Interfaces

* * [App​Credit​Event](https://shopify.dev/docs/api/partner/latest/interfaces/AppCreditEvent)

    interface

  * [App​Event](https://shopify.dev/docs/api/partner/latest/interfaces/AppEvent)

    interface

***

## CreditFailed Implements

### Implements

* [App​Credit​Event](https://shopify.dev/docs/api/partner/latest/interfaces/AppCreditEvent)
* [App​Event](https://shopify.dev/docs/api/partner/latest/interfaces/AppEvent)