OBJECT

Payment

A payment applied to a checkout.

link GraphQL Schema definition

  • type Payment implements Node {
  • # The amount of the payment.
  • amount: Money!
  • # The billing address for the payment.
  • billingAddress: MailingAddress
  • # The checkout to which the payment belongs.
  • checkout: Checkout!
  • # The credit card used for the payment in the case of direct payments.
  • creditCard: CreditCard
  • # An message describing a processing error during asynchronous processing.
  • errorMessage: String
  • id: ID!
  • # A client-side generated token to identify a payment and perform idempotent
  • # operations.
  • idempotencyKey: String
  • # Whether or not the payment is still processing asynchronously.
  • ready: Boolean!
  • # A flag to indicate if the payment is to be done in test mode for gateways that
  • # support it.
  • test: Boolean!
  • # The actual transaction recorded by Shopify after having processed the payment
  • # with the gateway.
  • transaction: Transaction
  • }