> ## Documentation Index
> Fetch the complete documentation index at: https://docs.queryful.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Chargebacks

> Shopify's own chargeback figures by day: chargebacks, fraud, amount, successful payments, the chargeback rate and the rolling 90-day rates card networks monitor, by reason and rapid resolution.

Shopify's own chargeback figures by day: chargebacks, fraud, amount, successful payments, the chargeback rate and the rolling 90-day rates card networks monitor, by reason and rapid resolution.

## Example

```sql theme={null}
FROM chargebacks
  SHOW chargebacks, fraudulent_chargebacks
  GROUP BY chargeback_reason
  SINCE startOfMonth(-1m) UNTIL today
  ORDER BY chargebacks DESC
```

## Metrics

| Metric | Type | Description |
| - | - | - |
| `chargebacks` | Number | Payments disputed with the card issuer, as Shopify counts them. |
| `fraudulent_chargebacks` | Number | Chargebacks the customer reported as fraud. |
| `chargeback_amount` | Currency | The value of the disputed payments. |
| `successful_transactions` | Number | Successful Shopify Payments transactions, the base of the chargeback rate. |
| `chargeback_rate` | Percent | Chargebacks as a share of successful payments. |
| `fraudulent_chargeback_rate` | Percent | Fraud chargebacks as a share of successful payments. |
| `chargeback_rate_rolling_90d` | Percent | Chargebacks over the 90 days to each day as a share of its successful Shopify Payments transactions, as card networks monitor it. |
| `chargeback_rate_excluding_rdr_rolling_90d` | Percent | The rolling 90-day chargeback rate without disputes resolved through rapid dispute resolution. |

## Dimensions

| Dimension | Description |
| - | - |
| `chargeback_reason` | The reason given, such as fraudulent, product\_not\_received or subscription\_canceled. |
| `is_rapid_dispute_resolution` | Whether the dispute was resolved early through rapid dispute resolution: true or false. |

## Filters

| Filter | Type | Description |
| - | - | - |
| `is_rapid_dispute_resolution` | Text | Whether the dispute was resolved early through rapid dispute resolution: true or false. |
| `chargeback_reason` | Text | fraudulent, product\_not\_received, subscription\_canceled and so on. |

## Linked records

Fields of the records this dataset reaches can be shown, grouped by and filtered on, written with a dot after the record (for example `shop.name`). Each record's page lists its fields.

| Write | Record | Reached through |
| - | - | - |
| `shop.<field>` | [Store](https://docs.queryful.app/queryfulql/records/shop.md) | Store |

## Related datasets

* [Payments](https://docs.queryful.app/queryfulql/datasets/payments.md)
* [Payouts](https://docs.queryful.app/queryfulql/datasets/payouts.md)
* [Payout transactions](https://docs.queryful.app/queryfulql/datasets/balance_transactions.md)
* [Disputes](https://docs.queryful.app/queryfulql/datasets/disputes.md)
* [Gift cards](https://docs.queryful.app/queryfulql/datasets/gift_cards.md)
* [Store credit transactions](https://docs.queryful.app/queryfulql/datasets/store_credit_transactions.md)
* [Store credit balance](https://docs.queryful.app/queryfulql/datasets/store_credit_summaries.md)
* [Payment attempts](https://docs.queryful.app/queryfulql/datasets/payment_attempts.md)
* [Receivables](https://docs.queryful.app/queryfulql/datasets/receivables.md)
* [Payments balance](https://docs.queryful.app/queryfulql/datasets/payments_balance.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.