HelperStable

Get PSP payments

Loads PSP payments attached to the order or invoice from a platform object already available in the process.

order or invoice
Get PSP payments
Business relationship
PSP payments

Overview

get_psp_payments 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 work with its PSP payments. The node resolves the relationship from the source object and returns directly usable platform objects.

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 2

psp_paymentsPSP payment[]
PSP payments currently linked to the source under the configured filters.
countinteger
Number of PSP payments present in this output.

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 payments linked by the business relationship and the configured filters.

Expose the results

The PSP payments become available to downstream bindings.

Limits and responsibilities

  • The node neither creates nor modifies linked resources; it reads an existing relationship.
  • An empty collection is a valid result when the relationship currently contains no object.
  • The output represents the relationship as visible at execution time.