Package com.stripe.service
Class TokenService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.TokenService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
Creates a single-use token that represents a bank account’s details.create
(RequestOptions options) Creates a single-use token that represents a bank account’s details.create
(TokenCreateParams params) Creates a single-use token that represents a bank account’s details.create
(TokenCreateParams params, RequestOptions options) Creates a single-use token that represents a bank account’s details.Retrieves the token with the given ID.retrieve
(String token, RequestOptions options) Retrieves the token with the given ID.retrieve
(String token, TokenRetrieveParams params) Retrieves the token with the given ID.retrieve
(String token, TokenRetrieveParams params, RequestOptions options) Retrieves the token with the given ID.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
TokenService
-
-
Method Details
-
retrieve
Retrieves the token with the given ID.- Throws:
StripeException
-
retrieve
Retrieves the token with the given ID.- Throws:
StripeException
-
retrieve
Retrieves the token with the given ID.- Throws:
StripeException
-
retrieve
public Token retrieve(String token, TokenRetrieveParams params, RequestOptions options) throws StripeException Retrieves the token with the given ID.- Throws:
StripeException
-
create
Creates a single-use token that represents a bank account’s details. You can use this token with any API method in place of a bank account dictionary. You can only use this token once. To do so, attach it to a connected account where controller.requirement_collection isapplication
, which includes Custom accounts.- Throws:
StripeException
-
create
Creates a single-use token that represents a bank account’s details. You can use this token with any API method in place of a bank account dictionary. You can only use this token once. To do so, attach it to a connected account where controller.requirement_collection isapplication
, which includes Custom accounts.- Throws:
StripeException
-
create
Creates a single-use token that represents a bank account’s details. You can use this token with any API method in place of a bank account dictionary. You can only use this token once. To do so, attach it to a connected account where controller.requirement_collection isapplication
, which includes Custom accounts.- Throws:
StripeException
-
create
Creates a single-use token that represents a bank account’s details. You can use this token with any API method in place of a bank account dictionary. You can only use this token once. To do so, attach it to a connected account where controller.requirement_collection isapplication
, which includes Custom accounts.- Throws:
StripeException
-