Class AccountService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
With Connect, you can create Stripe accounts for your users.create
(RequestOptions options) With Connect, you can create Stripe accounts for your users.create
(AccountCreateParams params) With Connect, you can create Stripe accounts for your users.create
(AccountCreateParams params, RequestOptions options) With Connect, you can create Stripe accounts for your users.With Connect, you can delete accounts you manage.delete
(String account, RequestOptions options) With Connect, you can delete accounts you manage.list()
Returns a list of accounts connected to your platform via Connect.list
(RequestOptions options) Returns a list of accounts connected to your platform via Connect.list
(AccountListParams params) Returns a list of accounts connected to your platform via Connect.list
(AccountListParams params, RequestOptions options) Returns a list of accounts connected to your platform via Connect.persons()
reject
(String account, AccountRejectParams params) With Connect, you can reject accounts that you have flagged as suspicious.reject
(String account, AccountRejectParams params, RequestOptions options) With Connect, you can reject accounts that you have flagged as suspicious.Retrieves the details of an account.retrieve
(String account, RequestOptions options) Retrieves the details of an account.retrieve
(String account, AccountRetrieveParams params) Retrieves the details of an account.retrieve
(String account, AccountRetrieveParams params, RequestOptions options) Retrieves the details of an account.Retrieves the details of an account.retrieveCurrent
(RequestOptions options) Retrieves the details of an account.Retrieves the details of an account.retrieveCurrent
(AccountRetrieveCurrentParams params, RequestOptions options) Retrieves the details of an account.Updates a connected account by setting the values of the parameters passed.update
(String account, RequestOptions options) Updates a connected account by setting the values of the parameters passed.update
(String account, AccountUpdateParams params) Updates a connected account by setting the values of the parameters passed.update
(String account, AccountUpdateParams params, RequestOptions options) Updates a connected account by setting the values of the parameters passed.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
AccountService
-
-
Method Details
-
delete
With Connect, you can delete accounts you manage.Test-mode accounts can be deleted at any time.
Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all balances are zero.
If you want to delete your own account, use the account information tab in your account settings instead.
- Throws:
StripeException
-
delete
With Connect, you can delete accounts you manage.Test-mode accounts can be deleted at any time.
Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all balances are zero.
If you want to delete your own account, use the account information tab in your account settings instead.
- Throws:
StripeException
-
retrieve
Retrieves the details of an account.- Throws:
StripeException
-
retrieve
Retrieves the details of an account.- Throws:
StripeException
-
retrieve
Retrieves the details of an account.- Throws:
StripeException
-
retrieve
public Account retrieve(String account, AccountRetrieveParams params, RequestOptions options) throws StripeException Retrieves the details of an account.- Throws:
StripeException
-
update
Updates a connected account by setting the values of the parameters passed. Any parameters not provided are left unchanged.For accounts where controller.requirement_collection is
application
, which includes Custom accounts, you can update any information on the account.For accounts where controller.requirement_collection is
stripe
, which includes Standard and Express accounts, you can update all information until you create an Account Link or Account Session to start Connect onboarding, after which some properties can no longer be updated.To update your own account, use the Dashboard. Refer to our Connect documentation to learn more about updating accounts.
- Throws:
StripeException
-
update
Updates a connected account by setting the values of the parameters passed. Any parameters not provided are left unchanged.For accounts where controller.requirement_collection is
application
, which includes Custom accounts, you can update any information on the account.For accounts where controller.requirement_collection is
stripe
, which includes Standard and Express accounts, you can update all information until you create an Account Link or Account Session to start Connect onboarding, after which some properties can no longer be updated.To update your own account, use the Dashboard. Refer to our Connect documentation to learn more about updating accounts.
- Throws:
StripeException
-
update
Updates a connected account by setting the values of the parameters passed. Any parameters not provided are left unchanged.For accounts where controller.requirement_collection is
application
, which includes Custom accounts, you can update any information on the account.For accounts where controller.requirement_collection is
stripe
, which includes Standard and Express accounts, you can update all information until you create an Account Link or Account Session to start Connect onboarding, after which some properties can no longer be updated.To update your own account, use the Dashboard. Refer to our Connect documentation to learn more about updating accounts.
- Throws:
StripeException
-
update
public Account update(String account, AccountUpdateParams params, RequestOptions options) throws StripeException Updates a connected account by setting the values of the parameters passed. Any parameters not provided are left unchanged.For accounts where controller.requirement_collection is
application
, which includes Custom accounts, you can update any information on the account.For accounts where controller.requirement_collection is
stripe
, which includes Standard and Express accounts, you can update all information until you create an Account Link or Account Session to start Connect onboarding, after which some properties can no longer be updated.To update your own account, use the Dashboard. Refer to our Connect documentation to learn more about updating accounts.
- Throws:
StripeException
-
retrieveCurrent
Retrieves the details of an account.- Throws:
StripeException
-
retrieveCurrent
Retrieves the details of an account.- Throws:
StripeException
-
retrieveCurrent
Retrieves the details of an account.- Throws:
StripeException
-
retrieveCurrent
public Account retrieveCurrent(AccountRetrieveCurrentParams params, RequestOptions options) throws StripeException Retrieves the details of an account.- Throws:
StripeException
-
list
Returns a list of accounts connected to your platform via Connect. If you’re not a platform, the list is empty.- Throws:
StripeException
-
list
Returns a list of accounts connected to your platform via Connect. If you’re not a platform, the list is empty.- Throws:
StripeException
-
list
Returns a list of accounts connected to your platform via Connect. If you’re not a platform, the list is empty.- Throws:
StripeException
-
list
public StripeCollection<Account> list(AccountListParams params, RequestOptions options) throws StripeException Returns a list of accounts connected to your platform via Connect. If you’re not a platform, the list is empty.- Throws:
StripeException
-
create
With Connect, you can create Stripe accounts for your users. To do this, you’ll first need to register your platform.If you’ve already collected information for your connected accounts, you can prefill that information when creating the account. Connect Onboarding won’t ask for the prefilled information during account onboarding. You can prefill any information on the account.
- Throws:
StripeException
-
create
With Connect, you can create Stripe accounts for your users. To do this, you’ll first need to register your platform.If you’ve already collected information for your connected accounts, you can prefill that information when creating the account. Connect Onboarding won’t ask for the prefilled information during account onboarding. You can prefill any information on the account.
- Throws:
StripeException
-
create
With Connect, you can create Stripe accounts for your users. To do this, you’ll first need to register your platform.If you’ve already collected information for your connected accounts, you can prefill that information when creating the account. Connect Onboarding won’t ask for the prefilled information during account onboarding. You can prefill any information on the account.
- Throws:
StripeException
-
create
With Connect, you can create Stripe accounts for your users. To do this, you’ll first need to register your platform.If you’ve already collected information for your connected accounts, you can prefill that information when creating the account. Connect Onboarding won’t ask for the prefilled information during account onboarding. You can prefill any information on the account.
- Throws:
StripeException
-
reject
With Connect, you can reject accounts that you have flagged as suspicious.Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero.
- Throws:
StripeException
-
reject
public Account reject(String account, AccountRejectParams params, RequestOptions options) throws StripeException With Connect, you can reject accounts that you have flagged as suspicious.Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero.
- Throws:
StripeException
-
capabilities
-
externalAccounts
-
loginLinks
-
persons
-