---
title: CartCardSource - Storefront API
description: Represents how credit card details are provided for a direct payment.
api_version: 2026-04
source_url:
  html: https://shopify.dev/docs/api/storefront/latest/enums/CartCardSource
  md: https://shopify.dev/docs/api/storefront/latest/enums/CartCardSource.md
---

# Cart​Card​Source

enum

Represents how credit card details are provided for a direct payment.

## Valid values

* SAVED\_​CREDIT\_​CARD

  The credit card was provided by a third party and vaulted on their system. Using this value requires a separate permission from Shopify.

***

## Fields

* [Cart​Direct​Payment​Method​Input.cardSource](https://shopify.dev/docs/api/storefront/latest/input-objects/CartDirectPaymentMethodInput#fields-cardSource)

  INPUT OBJECT

  The input fields for submitting direct payment method information for checkout.

***

## Map

### Inputs with this enum

* [Cart​Direct​Payment​Method​Input.cardSource](https://shopify.dev/docs/api/storefront/latest/input-objects/CartDirectPaymentMethodInput#fields-cardSource)