HelperStable

Update checkout session status

Updates the lifecycle state of a checkout session without changing its financial result.

Contexte financier
Update checkout session status
Finance
Typed result

Vue d’ensemble

Updates the lifecycle state of a checkout session without changing its financial result.

Exemple

Mark a session as expired when the journey can no longer continue.

Parameters 2

checkout_sessionRequisCheckout session
Checkout session whose financial result or lifecycle is updated.
statusRequisenum
Target or initial lifecycle state allowed by the operation contract.

Outputs 1

checkout_sessionCheckout session
Checkout session with its financial result or lifecycle updated.

Behavior

The node applies only the requested journey status and returns the updated session.

Key point Always distinguish the canonical object created by Ormuz from any external effect. A payment or refund intent in draft status does not prove that a provider executed the movement of funds.

Limits and responsibilities

  • Session lifecycle and financial result are two distinct dimensions.
  • Do not mark a session completed if its financial result has not been established according to your process.