HelperStable

Fetch payment

Loads the received payment identified by its ID and exposes a hydrated `platform.payment` for subsequent process steps.

Received payment · ID
Fetch payment
Chargement canonique
Received payment

Overview

fetch_payment turns an ID reference into a received payment that can be used directly in typed bindings.

Example

An event or API call only provides the identifier of a received payment. Load the object before reading its properties or passing it to a node that expects platform.payment.

Parameters 1

payment_idRequiredref(payment)
Identifier of the received payment to load. Use this node when an ID is available but later steps need the typed platform object.

Outputs 1

paymentPayment
Received payment returned as the current platform.payment, with its ID and fields exposed by the platform contract.

Behavior

Resolve the identifier

The node uses the ID supplied in payment_id within the instance merchant's scope.

Load the resource

Ormuz reads the corresponding canonical resource and verifies that it is accessible within this scope.

Expose the typed object

The output payment becomes available to downstream node bindings.

Limits and responsibilities

  • This node does not create or modify the received payment; it only loads it.
  • If you already have a sufficiently recent platform.payment object, another fetch is usually unnecessary.
  • A missing, unknown, or out-of-scope ID causes the node to fail; there is no implicit not_found route.