---
title: CardPaymentDetails - Customer API
description: The card payment details related to a transaction.
api_version: 2026-10
source_url:
  html: 'https://shopify.dev/docs/api/customer/latest/objects/CardPaymentDetails'
  md: 'https://shopify.dev/docs/api/customer/latest/objects/CardPaymentDetails.md'
api_name: customer
api_type: graphql
type: object
---

# Card​Payment​Details

object

Requires `customer_read_orders` access scope.

The card payment details related to a transaction.

## Fields

* card​Brand

  [String!](https://shopify.dev/docs/api/customer/latest/scalars/String)

  non-null

  The brand of the credit card used.

* last4

  [String](https://shopify.dev/docs/api/customer/latest/scalars/String)

  The last four digits of the credit card used.

***

## Map

### Possible type in

* [Payment​Details](https://shopify.dev/docs/api/customer/latest/unions/PaymentDetails)
