StripeConnecteurStable

Sync PSP payment (Stripe)

Explicitly sync a Stripe PaymentIntent or Refund to its Ormuz PSP payment.

Vue d’ensemble

Objectif

Explicitly synchronizes a Stripe PaymentIntent to its Ormuz platform.psp_payment.

The node rereads Stripe, resolves the payment through the input or provider mapping, checks currency, then applies amount received and status.

Quand l’utiliser

  • After a PaymentIntent webhook.
  • After an operation on a PaymentIntent.
  • When the process must guarantee that the psp_payment reflects Stripe.

Parameters 5

extension_config_idRequisref(extension_config:stripe)
Active Stripe configuration used for the provider call. Merchant remains derived from process context.
payment_intentOptionnelStripe payment intent
Typed Stripe PaymentIntent materializing provider execution of the relevant Ormuz payment.
refundOptionnelStripe refund
Stripe Refund created or found for this Ormuz intent, sanitized before process exposure.
psp_paymentOptionnelPSP payment
Canonical Ormuz PSP payment carrying amount, currency, and business attachments synchronized with Stripe.
external_event_typeOptionnelstring
Stripe event type that caused synchronization when known, retained as provenance context.

Outputs 3

payment_intentOptionnelStripe payment intent
Typed Stripe PaymentIntent materializing provider execution of the relevant Ormuz payment.
refundOptionnelStripe refund
Stripe Refund created or found for this Ormuz intent, sanitized before process exposure.
psp_paymentPSP payment
Canonical Ormuz PSP payment carrying amount, currency, and business attachments synchronized with Stripe.

Behavior

Relire Stripe

Retrieves the current PaymentIntent representation.

Resolve the Ormuz payment

Uses the supplied psp_payment or existing provider mapping.

Check the currency

Rejects synchronization across different currencies.

Update

Translates Stripe status and updates the canonical psp_payment.

Process example

Payment intent Stripe + contexte métier
Synchroniser le paiement PSP (Stripe)
Reconcile payment

Exemple de placement de `stripe.sync_psp_payment` dans un process avec des bindings typés.