Topic 16

Payment Update (topic 16) is triggered whenever a Stripe payment attempt is logged. This includes the initial RequiresPaymentMethod state and subsequent processing, success, cancellation, action-required, failure, and session-expired updates.

Payload

Loyale sends an HTTP POST whose JSON body is a StripePaymentResultView.

PropertyTypeNotes
iduuidPayment identifier
grossdecimalPayment amount
feedecimalLoyale fee plus processing fee
customerIdstring | null
customerBasicCustomerModel | null
transactionIduuid | null
transactionTransactionResultView | null
lastFailureMessagestring | null
paymentIntentIdstring | nullStripe payment-intent or checkout-session identifier
currencystring | null
statusStripePaymentStatusProcessing, Succeeded, Canceled, RequiresPaymentMethod, RequiresConfirmation, RequiresAction, RequiresCapture, Failed, SessionExpired, RefundPending, PartiallyRefunded, Refunded, or CommunicationError
productTypeStripeProductTypeOther, GiftCard, Voucher, Sale, TopUp, or Subscription
createdBystring | null
updatedBystring | null
createdDatedate-timeUTC
updatedDatedate-timeUTC
schemeStripeLinkIduuid
internalSubscriptionIduuid | null
subscriptionPlanIduuid | null
purchasedObjectTypestring | null
purchasedObjectIdstring | null
providerInvoiceIdstring | null
providerChargeIdstring | null
providerPaymentIdstring | null
providerSubscriptionIdstring | null
providerAccountIdstring | null
livemodebooleanStripe live-mode flag
orderIdstring | null
gueststring | null
schemeStripeLinkSchemeStripeLinkResultView | null
stripePaymentAttemptsStripePaymentAttemptResultView[] | null