---
title: CartDirectPaymentMethodInput - Storefront API
description: The input fields for submitting direct payment method information for checkout.
api_version: 2026-04
source_url:
  html: https://shopify.dev/docs/api/storefront/latest/input-objects/CartDirectPaymentMethodInput
  md: https://shopify.dev/docs/api/storefront/latest/input-objects/CartDirectPaymentMethodInput.md
---

# Cart​Direct​Payment​Method​Input

input\_object

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

## Fields

* accepted​Subscription​Terms

  [Boolean](https://shopify.dev/docs/api/storefront/latest/scalars/Boolean)

  Default:false

  Indicates if the customer has accepted the subscription terms. Defaults to false.

* billing​Address

  [Mailing​Address​Input!](https://shopify.dev/docs/api/storefront/latest/input-objects/MailingAddressInput)

  required

  The customer's billing address.

* card​Source

  [Cart​Card​Source](https://shopify.dev/docs/api/storefront/latest/enums/CartCardSource)

  The source of the credit card payment.

* session​Id

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

  non-null

  The session ID for the direct payment method used to create the payment.

***

## Input objects using this input

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

  INPUT OBJECT

  The input fields for updating the payment method that will be used to checkout.

***

## Map

### Input objects using this input

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