This method is no longer recommended—use the Payment Intents API.
to initiate a new payment instead. Confirmation of the PaymentIntent creates the Charge
object used to request payment.
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.
Search for charges you’ve previously created using Stripe’s Search Query Language.
Don’t use search in read-after-write flows where strict consistency is necessary.
Under normal operating.
conditions, data is searchable in less than a minute.
Occasionally, propagation of new or updated data can be up.
to an hour behind during outages. Search functionality is not available to merchants in India.
A set of key-value pairs you can attach to a charge giving information about its riskiness.
If you believe a charge is fraudulent, include a user_report key with a value of fraudulent.
If you believe a charge is safe, include a user_report key with a value of safe.
Stripe will use the information you send to improve our fraud detection algorithms.