INPUT_OBJECT

TokenizedPaymentInput

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

link GraphQL Schema definition

  • input TokenizedPaymentInput {
  • # The amount of the payment.
  • amount: Money!
  • # 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!
  • # The billing address for the payment.
  • billingAddress: MailingAddressInput!
  • # The type of payment token.
  • type: String!
  • # 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
  • # Public Hash Key used for AndroidPay payments only.
  • identifier: String
  • }