Values accepted for Payment Status in the Checkout API.
Prefer the documented atoms returned by values/0. The type also accepts strings so a
newer server value can be preserved by an older SDK instead of failing during decoding.
Client-safe checkout projections and payment state returned by public checkout flows. These values contain only the information needed to render or reconcile payment collection and do not grant permission to mutate an order's commercial terms.
Summary
Functions
Returns the documented Inttegro.Checkout.PaymentStatus atoms known by this SDK version.
Types
@type t() :: :requires_action | :processing | :succeeded | :failed | :cancelled | String.t()
A payment status atom or an unknown wire value preserved as a string.
Functions
@spec values() :: [t()]
Returns the documented Inttegro.Checkout.PaymentStatus atoms known by this SDK version.