OBJECT

Payment

Represents a payment of a given type.

link GraphQL Schema definition

  • type Payment implements Node {
  • # The ID of the object.
  • id: ID!
  • gateway: String!
  • isActive: Boolean!
  • created: DateTime!
  • modified: DateTime!
  • token: String!
  • checkout: Checkout
  • order: Order
  • billingEmail: String!
  • customerIpAddress: String
  • extraData: String!
  • # Internal payment status.
  • chargeStatus: PaymentChargeStatusEnum!
  • # List of actions that can be performed in the current state of a
  • # payment.
  • actions: [OrderAction]!
  • # Total amount of the payment.
  • total: Money
  • # Total amount captured for this payment.
  • capturedAmount: Money
  • # Customer billing address.
  • billingAddress: Address
  • # List of all transactions within this payment.
  • transactions: [Transaction]
  • # Maximum amount of money that can be captured.
  • availableCaptureAmount: Money
  • # Maximum amount of money that can be refunded.
  • availableRefundAmount: Money
  • # The details of the card used for this payment.
  • creditCard: CreditCard
  • }