TokenizedPaymentInputV2

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

Show definition
"""
Specifies the fields required to complete a checkout with
a tokenized payment.
"""
input TokenizedPaymentInputV2 {
  """
  The billing address for the payment.
  """
  billingAddress: MailingAddressInput!
  """
  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.
  """
  idempotencyKey: String!
  """
  Public Hash Key used for AndroidPay payments only.
  """
  identifier: String
  """
  The amount and currency of the payment.
  """
  paymentAmount: MoneyInput!
  """
  A simple string or JSON containing the required payment data for the tokenized payment.
  """
  paymentData: String!
  """
  Executes the payment in test mode if possible. Defaults to `false`.
  """
  test: Boolean = false
  """
  The type of payment token.
  """
  type: String!
}

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.

identifier (String)

Public Hash Key used for AndroidPay payments only.

paymentAmount (MoneyInput!) Required

The amount and currency of the payment.

paymentData (String!) Required

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

test (Boolean)

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

type (String!) Required

The type of payment token.

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

Show definition
"""
Specifies the fields required to complete a checkout with
a tokenized payment.
"""
input TokenizedPaymentInputV2 {
  """
  The billing address for the payment.
  """
  billingAddress: MailingAddressInput!
  """
  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.
  """
  idempotencyKey: String!
  """
  Public Hash Key used for AndroidPay payments only.
  """
  identifier: String
  """
  The amount and currency of the payment.
  """
  paymentAmount: MoneyInput!
  """
  A simple string or JSON containing the required payment data for the tokenized payment.
  """
  paymentData: String!
  """
  Executes the payment in test mode if possible. Defaults to false.
  """
  test: Boolean = false
  """
  The type of payment token.
  """
  type: String!
}

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.

identifier (String)

Public Hash Key used for AndroidPay payments only.

paymentAmount (MoneyInput!) Required

The amount and currency of the payment.

paymentData (String!) Required

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

test (Boolean)

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

type (String!) Required

The type of payment token.

Sign up for a Partner account to get started.

Sign up