Mayson Monorepo Documentation
    Preparing search index...
    Index

    Constructors

    Methods

    • Retrieves the details of a charge that has previously been created. Supply the unique charge ID that was returned from your previous request, and Stripe will return the corresponding charge information. The same information is returned when creating or refunding the charge.

      Parameters

      Returns Promise<Response<Stripe.Charge>>

    • Retrieves the details of a charge that has previously been created. Supply the unique charge ID that was returned from your previous request, and Stripe will return the corresponding charge information. The same information is returned when creating or refunding the charge.

      Parameters

      Returns Promise<Response<Stripe.Charge>>

    • Capture the payment of an existing, uncaptured charge that was created with the capture option set to false.

      Uncaptured payments expire a set number of days after they are created (7 by default), after which they are marked as refunded and capture attempts will fail.

      Don't use this method to capture a PaymentIntent-initiated charge. Use Capture a PaymentIntent.

      Parameters

      Returns Promise<Response<Stripe.Charge>>

    • Capture the payment of an existing, uncaptured charge that was created with the capture option set to false.

      Uncaptured payments expire a set number of days after they are created (7 by default), after which they are marked as refunded and capture attempts will fail.

      Don't use this method to capture a PaymentIntent-initiated charge. Use Capture a PaymentIntent.

      Parameters

      Returns Promise<Response<Stripe.Charge>>