AccountService::delete( string $id, null|array $params = null, null|array|StripeUtilRequestOptions $opts = null )
With Connect, you can delete Custom or Express accounts you manage.
Description Description
Accounts created using test-mode keys can be deleted at any time. Accounts created using live-mode keys can only be deleted once all balances are zero.
If you want to delete your own account, use the <a href="https://dashboard.stripe.com/account”>account information tab in your account settings instead.
Parameters Parameters
- $id
-
(Required)
- $params
-
(Optional)
Default value: null
- $opts
-
(Optional)
Default value: null
Return Return
(StripeAccount)
Source Source
File: includes/gateways/stripe/vendor/stripe/stripe-php/lib/Service/AccountService.php