Marketplace API / Types

Checkout

Object

A checkout session representing a purchase in progress or completed.

Requires a client key with one of these scopes: checkout:payments:manage checkout:payments:read

The requirement applies to every field of Checkout unless that field declares its own scopes.

type Checkout implements Node

Fields

FieldTypeDescription
addressAddress!
Shipping address snapshot used to calculate shipping and tax when the checkout was created.
appliedCreditsMoney!
Referral credits applied to this checkout. Always zero for Venmo and external payment processors.
checkoutTypeCheckoutType!
How this checkout came about.
createdAtDateTime!
When this checkout was created.
currentPaymentPayment
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.
discountMoney!
Total discount applied to the checkout.
expiresAtDateTime
When this checkout expires if not completed.
idID!
A globally unique ID. Treat this value as an opaque string.
itemsCheckoutItemConnection!
The line items included in this checkout.Arguments:
after: String — Return items after this cursor.
first: Int — Maximum number of items to return.
livemodeBoolean!
False when no real money moves: this storefront was in test mode when the checkout was created.
orderOrder
The order created by this checkout. Can be briefly null while the order is being created.
paymentDetailsCheckoutPaymentDetails
Payment instructions for Venmo and PayPal checkouts, or null for other payment methods.
paymentMethodCheckoutPaymentMethod!
Payment rail used for this checkout.
retryableBoolean!
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.
shippingFeeMoney!
Shipping fee for this checkout.
statusCheckoutStatus!
Current status of this checkout.
subtotalMoney!
Subtotal before shipping, tax, and discounts.
taxMoney!
Tax amount for this checkout.
totalMoney!
Total amount due for this checkout.
urlURL!
Web address of this checkout's hosted page, where the buyer can review the checkout and retry or complete payment.

Returned by