HelperStable

Create credit note PSP refunds

Creates PSP-refund intents corresponding to issued credit notes by resolving their original PSP payments.

Contexte financier
Create credit note PSP refunds
Finance
Typed result

Vue d’ensemble

Creates PSP-refund intents corresponding to issued credit notes by resolving their original PSP payments.

Exemple

After issuing several return credit notes, automatically prepare the associated card refunds.

Parameters 2

credit_notesRequisInvoice[]
Issued credit notes for which refund intents must be created from the payments that actually funded them.
aggregationRequisenum
Intent grouping mode: one per credit note or aggregation by parent payment when the contract allows it.

Outputs 1

psp_refundsPSP payment[]
PSP-refund intents created from credit notes and their parent PSP payments.

Behavior

The node attaches each credit note to its actual PSP funding, then creates one intent per credit note or groups credit notes sharing the same parent payment according to aggregation.

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

  • Credit notes must be sufficiently linked to original payments for unambiguous resolution.
  • Created intents still need to be executed by the PSP extension.