HelperStable

Fetch approval request

Loads the approval request identified by its ID and exposes a hydrated `platform.approval_request` for subsequent process steps.

Approval request · ID
Fetch approval request
Chargement canonique
Approval request

Overview

fetch_approval_request turns an ID reference into a approval request that can be used directly in typed bindings.

Example

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

Parameters 1

approval_request_idRequiredref(approval_request)
Identifier of the approval request to load. Use this node when an ID is available but later steps need the typed platform object.

Outputs 1

approval_requestApproval request
Approval request returned as the current platform.approval_request, with its ID and fields exposed by the platform contract.

Behavior

Resolve the identifier

The node uses the ID supplied in approval_request_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 approval_request becomes available to downstream node bindings.

Limits and responsibilities

  • This node does not create or modify the approval request; it only loads it.
  • If you already have a sufficiently recent platform.approval_request 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.