ApplicationFeeService::createRefund( string $parentId, null|array $params = null, null|array|StripeUtilRequestOptions $opts = null )
Refunds an application fee that has previously been collected but not yet refunded. Funds will be refunded to the Stripe account from which the fee was originally collected.
Description Description
You can optionally refund only part of an application fee. You can do so multiple times, until the entire fee has been refunded.
Once entirely refunded, an application fee can’t be refunded again. This method will raise an error when called on an already-refunded application fee, or when trying to refund more money than is left on an application fee.
Parameters Parameters
- $parentId
-
(Required)
- $params
-
(Optional)
Default value: null
- $opts
-
(Optional)
Default value: null
Return Return
(StripeApplicationFeeRefund)
Source Source
File: includes/gateways/stripe/vendor/stripe/stripe-php/lib/Service/ApplicationFeeService.php