ChargeService::retrieve( string $id, null|array $params = null, null|array|StripeUtilRequestOptions $opts = null )
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.
Description Description
Parameters Parameters
- $id
-
(Required)
- $params
-
(Optional)
Default value: null
- $opts
-
(Optional)
Default value: null
Return Return
(StripeCharge)
Source Source
File: includes/gateways/stripe/vendor/stripe/stripe-php/lib/Service/ChargeService.php