--- title: CardPaymentDetails - Customer API description: The card payment details related to a transaction. api_version: 2025-10 api_name: customer type: object api_type: graphql source_url: html: https://shopify.dev/docs/api/customer/latest/objects/cardpaymentdetails md: https://shopify.dev/docs/api/customer/latest/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/latest/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/latest/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/latest/unions/PaymentDetails)