CreditCardPaymentInputV2 input object

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

Input fields

billingAddress (MailingAddressInput!) Required

The billing address for the payment.

idempotencyKey (String!) Required

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.

paymentAmount (MoneyInput!) Required

The amount and currency of the payment.

test (Boolean)

Executes the payment in test mode if possible. Defaults to false.

vaultId (String!) Required

The ID returned by Shopify's Card Vault.

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

Input fields

billingAddress (MailingAddressInput!) Required

The billing address for the payment.

idempotencyKey (String!) Required

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.

paymentAmount (MoneyInput!) Required

The amount and currency of the payment.

test (Boolean)

Executes the payment in test mode if possible. Defaults to false.

vaultId (String!) Required

The ID returned by Shopify's Card Vault.

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

Input fields

billingAddress (MailingAddressInput!) Required

The billing address for the payment.

idempotencyKey (String!) Required

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.

paymentAmount (MoneyInput!) Required

The amount and currency of the payment.

test (Boolean)

Executes the payment in test mode if possible. Defaults to false.

vaultId (String!) Required

The ID returned by Shopify's Card Vault.

Sign up for a Partner account to get started.

Sign up