GitHub

ShopifyTokenizedPaymentInputV3

interface

import { ShopifyTokenizedPaymentInputV3 } from '@daffodil/driver/shopify'

Specifies the fields required to complete a checkout with a tokenized payment.

interface ShopifyTokenizedPaymentInputV3 {
  billingAddress: ShopifyMailingAddressInput
  idempotencyKey: string
  identifier: string
  paymentAmount: ShopifyMoneyInput
  paymentData: string
  test: boolean
  type: ShopifyPaymentTokenType
}

Properties

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.

identifier
string

Public Hash Key used for AndroidPay payments only.

paymentAmount
ShopifyMoneyInput

The amount and currency of the payment.

paymentData
string

A simple string or JSON containing the required payment data for the tokenized payment.

test
boolean

Whether to execute the payment in test mode, if possible. Test mode isn't supported in production stores. Defaults to false.

type
ShopifyPaymentTokenType

The type of payment token.