HelperStable

Update checkout session payment status

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

Contexte financier
Update checkout session payment status
Finance
Typed result

Vue d’ensemble

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

Exemple

Record credit_granted after a credit decision while the journey is not yet marked complete.

Parameters 2

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.

Outputs 1

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

Behavior

payment_status captures the financial result independently from the session's open/completed/expired/cancelled lifecycle.

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

  • The financial status must reflect an outcome already established by the corresponding business steps.
  • This node does not close the session.