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

# disputePaymentDetails

> How a Shopify dispute's order was paid, read live from Shopify. Null for a PayPal dispute, a dispute without an order, when Shopify has no card details, or for a dispute the store doesn't have.

**Required scopes:** [`chargebacks_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-chargebacks_read)

**Store must have one of:** `DISPUTES`

## Arguments

**id** `ID!` *required*

The dispute's `id`.

## Returns

**disputePaymentDetails** `[DisputePaymentDetails](/docs/api-reference/v3/reference/disputes/dispute-payment-details)`

How the disputed order was paid, as Shopify reports it now. The card number is never returned beyond its last four digits.

**fields**

**avsResultCode** `String`

The address verification (AVS) result code.

**cardBrand** `String`

The card company, as Shopify names it (e.g. `Visa`).

**cardholderName** `String`

The name on the card.

**cvvResultCode** `String`

The card security code (CVV) result code.

**lastFour** `String`

The card number's last digits, as Shopify masks it.

## Example

```graphql theme={null}
query {
  disputePaymentDetails(id: "...") {
    avsResultCode
    cardBrand
    cardholderName
    cvvResultCode
    lastFour
  }
}
```


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