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_paymentreflects Stripe.
Parameters 5
extension_config_id
Active Stripe configuration used for the provider call. Merchant remains derived from process context.
payment_intent
Typed Stripe PaymentIntent materializing provider execution of the relevant Ormuz payment.
refund
Stripe Refund created or found for this Ormuz intent, sanitized before process exposure.
psp_payment
Canonical Ormuz PSP payment carrying amount, currency, and business attachments synchronized with Stripe.
external_event_type
Stripe event type that caused synchronization when known, retained as provenance context.
Outputs 3
payment_intent
Typed Stripe PaymentIntent materializing provider execution of the relevant Ormuz payment.
refund
Stripe Refund created or found for this Ormuz intent, sanitized before process exposure.
psp_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
Exemple de placement de `stripe.sync_psp_payment` dans un process avec des bindings typés.