Package com.stripe.service.v2.core
Class AccountTokenService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.v2.core.AccountTokenService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create an account token with a publishable key and pass it to the Accounts v2 API to create or update an account without its data touching your server.create(RequestOptions options) Create an account token with a publishable key and pass it to the Accounts v2 API to create or update an account without its data touching your server.create(AccountTokenCreateParams params) Create an account token with a publishable key and pass it to the Accounts v2 API to create or update an account without its data touching your server.create(AccountTokenCreateParams params, RequestOptions options) Create an account token with a publishable key and pass it to the Accounts v2 API to create or update an account without its data touching your server.Retrieves an Account Token.retrieve(String id, RequestOptions options) Retrieves an Account Token.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
AccountTokenService
-
-
Method Details
-
create
public AccountToken create(AccountTokenCreateParams params) throws StripeException, RateLimitException Create an account token with a publishable key and pass it to the Accounts v2 API to create or update an account without its data touching your server. Learn more about account tokens. In live mode, you can only create account tokens with your application's publishable key. In test mode, you can create account tokens with your secret key or publishable key.- Throws:
StripeExceptionRateLimitException
-
create
Create an account token with a publishable key and pass it to the Accounts v2 API to create or update an account without its data touching your server. Learn more about account tokens. In live mode, you can only create account tokens with your application's publishable key. In test mode, you can create account tokens with your secret key or publishable key.- Throws:
StripeExceptionRateLimitException
-
create
Create an account token with a publishable key and pass it to the Accounts v2 API to create or update an account without its data touching your server. Learn more about account tokens. In live mode, you can only create account tokens with your application's publishable key. In test mode, you can create account tokens with your secret key or publishable key.- Throws:
StripeExceptionRateLimitException
-
create
public AccountToken create(AccountTokenCreateParams params, RequestOptions options) throws StripeException, RateLimitException Create an account token with a publishable key and pass it to the Accounts v2 API to create or update an account without its data touching your server. Learn more about account tokens. In live mode, you can only create account tokens with your application's publishable key. In test mode, you can create account tokens with your secret key or publishable key.- Throws:
StripeExceptionRateLimitException
-
retrieve
Retrieves an Account Token.- Throws:
StripeExceptionRateLimitException
-
retrieve
public AccountToken retrieve(String id, RequestOptions options) throws StripeException, RateLimitException Retrieves an Account Token.- Throws:
StripeExceptionRateLimitException
-