Marketplace API / Types

CancelCheckoutScope

Enum

How much of a checkout a cancellation ends.

enum CancelCheckoutScope

Values

  • ATTEMPT: End only the PayPal approval the checkout is waiting on, and leave the checkout itself alive: the reserved items are kept and the order stands, so a checkout that allows retries can be paid another way. Accepted only while a PayPal approval is outstanding — a checkout on any other payment method, or with no approval in progress, returns CheckoutNotCancellableError, or CheckoutNotYetCancellableError where an approval may be about to start.
  • CHECKOUT: End the whole checkout: the reserved items are released and the order is cancelled.