Skip to main content

chargebacks

The chargebacks schema captures disputed charges and how they compare to your successful transactions. Use it to report dispute volume, dollar amounts, rates, and the reason and resolution behind each dispute.


Counts and calculations that let you track key business indicators. Metrics show up as the columns when queried.

Metrics you can use when querying FROM chargebacks.

Anchor to chargeback_amount
chargeback_amount

The value of disputed charges across all chargeback reasons, reported in your store's currency.

Anchor to chargeback_rate
chargeback_rate

Percentage of payments with disputed charges of any kind

Chargeback rate = chargebacks / successful transactions

Anchor to chargebacks
chargebacks

Number of payments with disputed charges of any kind

Anchor to fraudulent_chargeback_rate
fraudulent_chargeback_rate

Percentage of payments with disputed charges due to reported fraud

Fraudulent chargeback rate = fraudulent chargebacks / successful transactions

Anchor to fraudulent_chargebacks
fraudulent_chargebacks

Number of payments with disputed charges due to reported fraud

Anchor to successful_transactions
successful_transactions

Number of successful payment transactions


Attributes of your data that let you look more granularly at aspects of the data. Group and filter by dimensions to shape the rows your query returns.

Dimensions you can use when querying FROM chargebacks.

Anchor to chargeback_reason
chargeback_reason

The reported reason for the disputed charge. General is a catch-all for unspecified reasons, and Unrecognized means the customer doesn't recognize the charge on their statement. Other values include Fraudulent, Duplicate, and Product not received.

The day a disputed charge or successful payment transaction happened.

Anchor to day_of_week
day_of_week

The day of the week a disputed charge or successful payment transaction happened, with values Monday through Sunday.

The hour a disputed charge or successful payment transaction happened.

Anchor to hour_of_day
hour_of_day

The hour of day a disputed charge or successful payment transaction happened, with values 0 through 23.

Anchor to is_rapid_dispute_resolution
is_rapid_dispute_resolution

Was the dispute resolved via Rapid Dispute Resolution service

Anchor to minute
minute

The minute a disputed charge or successful payment transaction happened.

Anchor to month
month

The month a disputed charge or successful payment transaction happened.

Anchor to month_of_year
month_of_year

The month of the year a disputed charge or successful payment transaction happened, with values 1 through 12.

Anchor to quarter
quarter

The quarter a disputed charge or successful payment transaction happened.

Anchor to second
second

The second a disputed charge or successful payment transaction happened.

Anchor to shop_id
shop_id

The unique Shopify identifier for your store. Use shop_id with shop_name to show readable store labels.

The week a disputed charge or successful payment transaction happened.

Anchor to week_of_year
week_of_year

The week of the year a disputed charge or successful payment transaction happened, with values 1 through 53.

The year a disputed charge or successful payment transaction happened.

Anchor to shop_name
shop_name

Name of your store


  • payments: Transaction data upstream of these disputes.
  • payment_attempts: Authorization data when you want to compare attempt-time signals with dispute outcomes.

Was this page helpful?