types/payment_result
library
Classes
-
PaymentCancelledResult
-
The customer cancelled the payment flow before it completed.
-
PaymentInProgressResult
-
The payment has been submitted but its final outcome is not yet known.
The merchant should poll the payment intent or wait for a webhook to confirm the result.
-
PaymentResult
-
The outcome of a payment flow. Discriminated by
status:
'success', 'inProgress', or 'cancelled'.
-
PaymentSuccessResult
-
The payment completed successfully. If a payment consent was created during the
flow, its id is returned in
paymentConsentId.