HelperStable

Finalize checkout session

Finalizes the financial result and lifecycle state of a checkout session together in one coherent operation.

Contexte financier
Finalize checkout session
Finance
Typed result

Vue d’ensemble

Finalizes the financial result and lifecycle state of a checkout session together in one coherent operation.

Exemple

After successful payment, record paid and completed together before continuing fulfillment.

Parameters 3

checkout_sessionRequisCheckout session
Checkout session whose financial result or lifecycle is updated.
payment_statusRequisenum
Financial result to record on the checkout session independently from its journey state.
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 updates both session dimensions — payment_status and status — as the final journey outcome.

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

  • Values must correspond to the outcome actually obtained; finalization creates neither a payment nor a credit decision.
  • To change one dimension without finalizing the other, use the dedicated update nodes.