Marketplace API / Types
Checkout
ObjectA checkout session representing a purchase in progress or completed.
Requires a client key with one of these scopes:checkout:payments:manage checkout:payments:readThe requirement applies to every field of Checkout unless that field declares its own scopes.
type Checkout implements NodeFields
| Field | Type | Description |
|---|---|---|
address | Address! | Shipping address snapshot used to calculate shipping and tax when the checkout was created. |
appliedCredits | Money! | Referral credits applied to this checkout. Always zero for Venmo and external payment processors. |
checkoutType | CheckoutType! | How this checkout came about. |
createdAt | DateTime! | When this checkout was created. |
currentPayment | Payment | The current payment attempt. Null before the first attempt and for checkouts paid entirely with credits or settled off-platform. A retry can replace this value, so use the payment's id to follow a specific attempt. |
discount | Money! | Total discount applied to the checkout. |
expiresAt | DateTime | When this checkout expires if not completed. |
id | ID! | A globally unique ID. Treat this value as an opaque string. |
items | CheckoutItemConnection! | The line items included in this checkout.Arguments: after: String — Return items after this cursor.first: Int — Maximum number of items to return. |
livemode | Boolean! | False when no real money moves: this storefront was in test mode when the checkout was created. |
order | Order | The order created by this checkout. Can be briefly null while the order is being created. |
paymentDetails | CheckoutPaymentDetails | Payment instructions for Venmo and PayPal checkouts, or null for other payment methods. |
paymentMethod | CheckoutPaymentMethod! | Payment rail used for this checkout. |
retryable | Boolean! | Whether a payment retry can currently be submitted for this checkout. Use this rather than deriving retryability from status: a checkout can rest at PAYMENT_FAILED without being retryable. |
shippingFee | Money! | Shipping fee for this checkout. |
status | CheckoutStatus! | Current status of this checkout. |
subtotal | Money! | Subtotal before shipping, tax, and discounts. |
tax | Money! | Tax amount for this checkout. |
total | Money! | Total amount due for this checkout. |
url | URL! | Web address of this checkout's hosted page, where the buyer can review the checkout and retry or complete payment. |