LedeWire SDK API Reference
    Preparing search index...

    Type Alias CheckoutNextAction

    CheckoutNextAction: "authenticate" | "fund_wallet" | "purchase"

    Next step in a content checkout flow. Consumer-facing alias for CheckoutStateResponse['checkout_state']['next_required_action'].

    Single-use purchase model: there is no terminal "you have access" state. A completed purchase does not imply access — has_purchased means only "has ever bought" — so next_required_action can still read 'purchase' for content the buyer already bought once. Buying again is how the buyer receives the content: the delivery (content_body / content_uri) is returned directly in the response to POST /v1/purchases, and nowhere else — not on GET/list, and not via a since-withdrawn 'view_content' state.