Marketplace API / Types
CancelCheckoutScope
EnumHow much of a checkout a cancellation ends.
enum CancelCheckoutScopeValues
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, returnsCheckoutNotCancellableError, orCheckoutNotYetCancellableErrorwhere an approval may be about to start.CHECKOUT: End the whole checkout: the reserved items are released and the order is cancelled.