Class ExternalAccountService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(ExternalAccountCreateParams params) Create an external account for a given connected account.create
(ExternalAccountCreateParams params, RequestOptions options) Create an external account for a given connected account.Delete a specified external account for a given account.delete
(String id, RequestOptions options) Delete a specified external account for a given account.list()
List external accounts for an account.list
(RequestOptions options) List external accounts for an account.list
(ExternalAccountListParams params) List external accounts for an account.list
(ExternalAccountListParams params, RequestOptions options) List external accounts for an account.Retrieve a specified external account for a given account.retrieve
(String id, RequestOptions options) Retrieve a specified external account for a given account.retrieve
(String id, ExternalAccountRetrieveParams params) Retrieve a specified external account for a given account.retrieve
(String id, ExternalAccountRetrieveParams params, RequestOptions options) Retrieve a specified external account for a given account.Updates the metadata, account holder name, account holder type of a bank account belonging to a connected account and optionally sets it as the default for its currency.update
(String id, RequestOptions options) Updates the metadata, account holder name, account holder type of a bank account belonging to a connected account and optionally sets it as the default for its currency.update
(String id, ExternalAccountUpdateParams params) Updates the metadata, account holder name, account holder type of a bank account belonging to a connected account and optionally sets it as the default for its currency.update
(String id, ExternalAccountUpdateParams params, RequestOptions options) Updates the metadata, account holder name, account holder type of a bank account belonging to a connected account and optionally sets it as the default for its currency.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
ExternalAccountService
-
-
Method Details
-
delete
Delete a specified external account for a given account.- Throws:
StripeException
-
delete
Delete a specified external account for a given account.- Throws:
StripeException
-
retrieve
public ExternalAccount retrieve(String id, ExternalAccountRetrieveParams params) throws StripeException Retrieve a specified external account for a given account.- Throws:
StripeException
-
retrieve
Retrieve a specified external account for a given account.- Throws:
StripeException
-
retrieve
Retrieve a specified external account for a given account.- Throws:
StripeException
-
retrieve
public ExternalAccount retrieve(String id, ExternalAccountRetrieveParams params, RequestOptions options) throws StripeException Retrieve a specified external account for a given account.- Throws:
StripeException
-
update
Updates the metadata, account holder name, account holder type of a bank account belonging to a connected account and optionally sets it as the default for its currency. Other bank account details are not editable by design.You can only update bank accounts when account.controller.requirement_collection is
application
, which includes Custom accounts.You can re-enable a disabled bank account by performing an update call without providing any arguments or changes.
- Throws:
StripeException
-
update
Updates the metadata, account holder name, account holder type of a bank account belonging to a connected account and optionally sets it as the default for its currency. Other bank account details are not editable by design.You can only update bank accounts when account.controller.requirement_collection is
application
, which includes Custom accounts.You can re-enable a disabled bank account by performing an update call without providing any arguments or changes.
- Throws:
StripeException
-
update
Updates the metadata, account holder name, account holder type of a bank account belonging to a connected account and optionally sets it as the default for its currency. Other bank account details are not editable by design.You can only update bank accounts when account.controller.requirement_collection is
application
, which includes Custom accounts.You can re-enable a disabled bank account by performing an update call without providing any arguments or changes.
- Throws:
StripeException
-
update
public ExternalAccount update(String id, ExternalAccountUpdateParams params, RequestOptions options) throws StripeException Updates the metadata, account holder name, account holder type of a bank account belonging to a connected account and optionally sets it as the default for its currency. Other bank account details are not editable by design.You can only update bank accounts when account.controller.requirement_collection is
application
, which includes Custom accounts.You can re-enable a disabled bank account by performing an update call without providing any arguments or changes.
- Throws:
StripeException
-
list
public StripeCollection<ExternalAccount> list(ExternalAccountListParams params) throws StripeException List external accounts for an account.- Throws:
StripeException
-
list
List external accounts for an account.- Throws:
StripeException
-
list
List external accounts for an account.- Throws:
StripeException
-
list
public StripeCollection<ExternalAccount> list(ExternalAccountListParams params, RequestOptions options) throws StripeException List external accounts for an account.- Throws:
StripeException
-
create
Create an external account for a given connected account.- Throws:
StripeException
-
create
public ExternalAccount create(ExternalAccountCreateParams params, RequestOptions options) throws StripeException Create an external account for a given connected account.- Throws:
StripeException
-