# CreditCardPaymentInputV2 - storefront - INPUT_OBJECT
Version: 2024-04

## Description
Specifies the fields required to complete a checkout with
a Shopify vaulted credit card payment.


### Access Scopes



## Fields
* [billingAddress](/docs/api/storefront/2024-04/input-objects/MailingAddressInput): MailingAddressInput! - The billing address for the payment.
* [idempotencyKey](/docs/api/storefront/2024-04/scalars/String): String! - A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. For more information, refer to [Idempotent requests](https://shopify.dev/api/usage/idempotent-requests).
* [paymentAmount](/docs/api/storefront/2024-04/input-objects/MoneyInput): MoneyInput! - The amount and currency of the payment.
* [test](/docs/api/storefront/2024-04/scalars/Boolean): Boolean - Executes the payment in test mode if possible. Defaults to `false`.
* [vaultId](/docs/api/storefront/2024-04/scalars/String): String! - The ID returned by Shopify's Card Vault.


## Input objects with this input object
* [checkoutCompleteWithCreditCardV2](/docs/api/storefront/2024-04/mutations/checkoutCompleteWithCreditCardV2)


## Examples