OBJECT

Payment

A payment applied to a checkout.

link GraphQL Schema definition

1type Payment implements Node {
2
3# The amount of the payment.
4amount: Money!
5
6# The billing address for the payment.
7billingAddress: MailingAddress
8
9# The checkout to which the payment belongs.
10checkout: Checkout!
11
12# The credit card used for the payment in the case of direct payments.
13creditCard: CreditCard
14
15# An message describing a processing error during asynchronous processing.
16errorMessage: String
17
18id: ID!
19
20# A client-side generated token to identify a payment and perform idempotent
21# operations.
22idempotencyKey: String
23
24# Whether or not the payment is still processing asynchronously.
25ready: Boolean!
26
27# A flag to indicate if the payment is to be done in test mode for gateways that
28# support it.
29test: Boolean!
30
31# The actual transaction recorded by Shopify after having processed the payment
32# with the gateway.
33transaction: Transaction
34
35}