API version: unstable
API version: 2021-01 Release candidate
API version: 2020-10 Latest
API version: 2020-07
API version: 2020-04
API version: 2020-01
API version: 2019-10 Unsupported
API version: 2019-07 Unsupported

TokenizedPaymentInputV2 input object

Specifies the fields required to complete a checkout with a tokenized 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.

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)

Whether to execute the payment in test mode, if possible. Test mode is not supported in production stores. Defaults to false.

type (String!) Required

The type of payment token.

Specifies the fields required to complete a checkout with a tokenized 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.

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)

Whether to execute the payment in test mode, if possible. Test mode is not supported in production stores. Defaults to false.

type (String!) Required

The type of payment token.

Specifies the fields required to complete a checkout with a tokenized 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.

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)

Whether to execute the payment in test mode, if possible. Test mode is not supported in production stores. Defaults to false.

type (String!) Required

The type of payment token.

Specifies the fields required to complete a checkout with a tokenized 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.

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)

Whether to execute the payment in test mode, if possible. Test mode is not supported in production stores. Defaults to false.

type (String!) Required

The type of payment token.

Specifies the fields required to complete a checkout with a tokenized 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.

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)

Whether to execute the payment in test mode, if possible. Test mode is not supported in production stores. Defaults to false.

type (String!) Required

The type of payment token.

Specifies the fields required to complete a checkout with a tokenized 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.

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)

Whether to execute the payment in test mode, if possible. Test mode is not supported in production stores. Defaults to false.

type (String!) Required

The type of payment token.

Specifies the fields required to complete a checkout with a tokenized 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.

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)

Whether to execute the payment in test mode, if possible. Test mode is not supported in production stores. Defaults to false.

type (String!) Required

The type of payment token.

Specifies the fields required to complete a checkout with a tokenized 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.

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)

Whether to execute the payment in test mode, if possible. Test mode is not supported in production stores. Defaults to false.

type (String!) Required

The type of payment token.