HelperStable

Get PSP payment

Resolves the single PSP payment attached to the order or invoice and requires it to point to exactly one resource.

order or invoice
Get PSP payment
Unique relationship
PSP payment

Overview

get_psp_payment follows a canonical Ormuz relationship instead of requiring the designer to carry or rebuild technical identifiers between objects.

Example

The process has a order or invoice and must continue with the PSP payment associated with it. The node turns that expected relationship into an explicit guarantee: exactly one result.

Parameters 2

targetRequiredOrder
Source object order or invoice whose relationships the node must resolve. The type must be order or invoice.
statusesOptionalenum[]
Optional list of allowed PSP statuses. Without a filter, all statuses linked to the target are considered.

Outputs 1

psp_paymentPSP payment
PSP payment resolved. The node fails if the relationship is missing or ambiguous.

Behavior

Validate the source

The node requires an addressable order or invoice with an ID. Supported source types are order or invoice.

Resolve the relationship

Ormuz looks up the PSP payment linked by the business relationship and the configured filters.

Guarantee uniqueness

The node succeeds only when exactly one PSP payment matches. Zero or multiple matches are treated as a process ambiguity.

Limits and responsibilities

  • The node neither creates nor modifies linked resources; it reads an existing relationship.
  • Do not use this node when several linked resources are legitimate: choose the collection variant when available.
  • The output represents the relationship as visible at execution time.