import { ShopifyCreditCardPaymentInputV2 } from '@daffodil/driver/shopify'
Specifies the fields required to complete a checkout with a Shopify vaulted credit card payment.
interface ShopifyCreditCardPaymentInputV2 {
billingAddress: ShopifyMailingAddressInput
idempotencyKey: string
paymentAmount: ShopifyMoneyInput
test: boolean
vaultId: string
}
billingAddress ShopifyMailingAddressInput |
|---|
The billing address for the payment. |
idempotencyKey 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. |
paymentAmount ShopifyMoneyInput |
|---|
The amount and currency of the payment. |
test boolean |
|---|
Executes the payment in test mode if possible. Defaults to |
vaultId string |
|---|
The ID returned by Shopify's Card Vault. |