Stripe::TokensApi
Constants
Constructors
Instance methods
@return Crest::Request
@return Crest::Request
Retrieves the token with the given ID.
@required @param token [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::Token]<p>Retrieves the token with the given ID.</p> @required @param token [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil
<p>Retrieves the token with the given ID.</p> @required @param token [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::Token, Integer, Hash)] Stripe::Token, response status code and response headers
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 is application, which includes Custom accounts.
<p>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 <a href="#accounts">connected account</a> where <a href="/api/accounts/object#account_object-controller-requirement_collection">controller.requirement_collection</a> is <code>application</code>, which includes Custom accounts.</p> @optional @param account [Stripe::ConnectJsAccountTokenSpecs?] @optional @param bank_account [Stripe::TokenCreateBankAccount?] @optional @param card [Stripe::PostTokensRequestCard?] @optional @param customer [String?] Create a token for the customer, which is owned by the application's account. You can only use this with an OAuth access token or Stripe-Account header. Learn more about cloning saved payment methods. @optional @param cvc_update [Stripe::CvcParams?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param person [Stripe::PersonTokenSpecs?] @optional @param pii [Stripe::PiiTokenSpecs?] @return nil
<p>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 <a href="#accounts">connected account</a> where <a href="/api/accounts/object#account_object-controller-requirement_collection">controller.requirement_collection</a> is <code>application</code>, which includes Custom accounts.</p> @optional @param account [Stripe::ConnectJsAccountTokenSpecs?] @optional @param bank_account [Stripe::TokenCreateBankAccount?] @optional @param card [Stripe::PostTokensRequestCard?] @optional @param customer [String?] Create a token for the customer, which is owned by the application's account. You can only use this with an OAuth access token or Stripe-Account header. Learn more about cloning saved payment methods. @optional @param cvc_update [Stripe::CvcParams?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param person [Stripe::PersonTokenSpecs?] @optional @param pii [Stripe::PiiTokenSpecs?] @return [Tuple(Stripe::Token, Integer, Hash)] Stripe::Token, response status code and response headers