---
title: CardPaymentDetails - Customer API
description: The card payment details related to a transaction.
api_version: unstable
api_name: customer
source_url:
  html: 'https://shopify.dev/docs/api/customer/unstable/objects/CardPaymentDetails'
  md: 'https://shopify.dev/docs/api/customer/unstable/objects/CardPaymentDetails.md'
---

# Card​Payment​Details

object

The card payment details related to a transaction.

## Fields

* card​Brand

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

  non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api)

  The brand of the credit card used.

* last4

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

  [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api)

  The last four digits of the credit card used.

***

## Map

### Possible type in

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