Skip to main content

CheckoutStatus

Lifecycle state of a Checkout. Updated by webhook reconciliation, not by the redirect URL.

enum CheckoutStatus {
PENDING
COMPLETED
FAILED
EXPIRED
CANCELED
}

Values

CheckoutStatus.PENDING

Created and awaiting payment. Initial state right after createCheckout; the user has not finished paying yet.

CheckoutStatus.COMPLETED

Payment succeeded and the purpose side effect was applied (e.g. wallet credited). Terminal success state.

CheckoutStatus.FAILED

Payment attempt failed or was declined; see the checkout error field for details. Terminal failure state.

CheckoutStatus.EXPIRED

The provider session expired before payment completed (see expiresAt). Terminal state.

CheckoutStatus.CANCELED

The user abandoned or canceled the checkout before completion. Terminal state.

Member Of

Checkout object ● CheckoutFilterInput input