Class AccountService
-
Constructor Summary
Constructors -
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 may flag accounts as suspicious.reject
(String account, AccountRejectParams params, RequestOptions options) With Connect, you may flag accounts 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
-
Constructor Details
-
AccountService
-
-
Method Details
-
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
-
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 Custom accounts, you can update any information on the account. For other accounts, you can update all information until that account has started to go through Connect Onboarding. Once you create an Account Link for a Standard or Express account, some parameters can no longer be changed. These are marked as Custom Only or Custom and Express below.
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 Custom accounts, you can update any information on the account. For other accounts, you can update all information until that account has started to go through Connect Onboarding. Once you create an Account Link for a Standard or Express account, some parameters can no longer be changed. These are marked as Custom Only or Custom and Express below.
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 Custom accounts, you can update any information on the account. For other accounts, you can update all information until that account has started to go through Connect Onboarding. Once you create an Account Link for a Standard or Express account, some parameters can no longer be changed. These are marked as Custom Only or Custom and Express below.
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 Custom accounts, you can update any information on the account. For other accounts, you can update all information until that account has started to go through Connect Onboarding. Once you create an Account Link for a Standard or Express account, some parameters can no longer be changed. These are marked as Custom Only or Custom and Express below.
To update your own account, use the Dashboard. Refer to our Connect documentation to learn more about updating accounts.
- Throws:
StripeException
-
delete
With Connect, you can delete accounts you manage.Accounts created using test-mode keys can be deleted at any time. Standard accounts created using live-mode keys cannot be deleted. Custom or Express 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 account information tab in your account settings instead.
- Throws:
StripeException
-
delete
With Connect, you can delete accounts you manage.Accounts created using test-mode keys can be deleted at any time. Standard accounts created using live-mode keys cannot be deleted. Custom or Express 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 account information tab in your account settings instead.
- 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 may flag accounts as suspicious.Test-mode Custom and Express accounts can be rejected at any time. Accounts created using live-mode keys may only be rejected once all balances are zero.
- Throws:
StripeException
-
reject
public Account reject(String account, AccountRejectParams params, RequestOptions options) throws StripeException With Connect, you may flag accounts as suspicious.Test-mode Custom and Express accounts can be rejected at any time. Accounts created using live-mode keys may only be rejected once all balances are zero.
- Throws:
StripeException
-
capabilities
-
externalAccounts
-
loginLinks
-
persons
-