Module charge

Source

Structs§

CaptureCharge
Capture the payment of an existing, uncaptured charge that was created with the capture option set to false.
CaptureChargeTransferData
An optional dictionary including the account to automatically transfer to as part of a destination charge. See the Connect documentation for details.
CreateCharge
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.
CreateChargeDestination
CreateChargeRadarOptions
Options to configure Radar. See Radar Session for more information.
CreateChargeTransferData
An optional dictionary including the account to automatically transfer to as part of a destination charge. See the Connect documentation for details.
ListCharge
Returns a list of charges you’ve previously created. The charges are returned in sorted order, with the most recent charges appearing first.
OptionalFieldsAddress
OptionalFieldsShipping
RetrieveCharge
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.
SearchCharge
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.
UpdateCharge
Updates the specified charge by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
UpdateChargeFraudDetails
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.

Enums§

UpdateChargeFraudDetailsUserReport
Either safe or fraudulent.