Better Payment 0.11.1 API
    Preparing search index...

    Type Alias PaymentEventType

    PaymentEventType:
        | "payment.succeeded"
        | "payment.authorized"
        | "payment.pending"
        | "payment.failed"
        | "payment.cancelled"
        | "refund.succeeded"
        | "refund.failed"

    Payment events, emitted after an operation returns a result (and after the provider verified it: forged callbacks emit nothing):

    Event Operations
    payment.succeeded createPayment, completeThreeDSPayment, capture: success
    payment.authorized authorize: success (the amount is blocked)
    payment.pending createPayment, completeThreeDSPayment, authorize, capture: pending
    payment.failed the payment operations and the 3D Secure inits: failure
    payment.cancelled cancel, voidAuthorization: success
    refund.succeeded refund: success
    refund.failed refund: failure