Stripe
Entry-point to the Stripe SDK.
Supports asynchronous and synchronous methods to access the following Stripe APIs.
Payment Intent API - confirm and retrieve
Setup Intents API - confirm and retrieve
Payment Methods API - create
Sources API - create and retrieve
Tokens API - create tokens for Card, BankAccount, PiiTokenParams, and AccountParams
Constructors
Functions
Authenticate a Source that requires user action via a redirect (i.e. Source.flow is Source.Flow.Redirect.
Confirm and authenticate a PaymentIntent using the Alipay SDK
Confirm and authenticate a PaymentIntent using the Alipay SDK
Confirm and, if necessary, authenticate a PaymentIntent. Used for automatic confirmation flow.
Suspend function to confirm a PaymentIntent object.
Blocking method to confirm a PaymentIntent object. Do not call this on the UI thread or your app will crash.
Confirm and, if necessary, authenticate a SetupIntent.
Suspend function to confirm a SetupIntent object.
Blocking method to confirm a SetupIntent object. Do not call this on the UI thread or your app will crash.
Confirm a PaymentIntent for WeChat Pay. Extract params from WeChatPayNextAction to pass to WeChat Pay SDK.
Suspend function to confirm a PaymentIntent for WeChat Pay. Extract params from WeChatPayNextAction to pass to WeChat Pay SDK.
Create a Token asynchronously.
Create a Token from a coroutine.
Blocking method to create a Token for a Connect Account. Do not call this on the UI thread or your app will crash.
Create a BankAccount token asynchronously.
Create a bank account token from a coroutine.
Blocking method to create a Token for a BankAccount. Do not call this on the UI thread or your app will crash.
Create a Card token asynchronously.
Create a Card token from a coroutine.
Blocking method to create a Token. Do not call this on the UI thread or your app will crash.
Create a CVC update token asynchronously.
Create a file asynchronously
Create a StripeFile from a coroutine.
Create a file synchronously
Create a PaymentMethod asynchronously.
Create a PaymentMethod from a coroutine.
Blocking method to create a PaymentMethod object. Do not call this on the UI thread or your app will crash.
Creates a single-use token that represents the details for a person. Use this when creating or updating persons associated with a Connect account. See the documentation to learn more.
Creates a single-use token that represents the details for a person. Use this when creating or updating persons associated with a Connect account. See the documentation to learn more.
Creates a single-use token that represents the details for a person. Use this when creating or updating persons associated with a Connect account. See the documentation to learn more.
Create a PII token asynchronously.
Create a Radar Session asynchronously.
Create a Radar Session.
Create a Source asynchronously.
Create a Source from a coroutine.
Blocking method to create a Source object. Do not call this on the UI thread or your app will crash.
Get the Source from Intent returned via Activity#onActivityResult(int, int, Intent)}} for Source authentication. (see Stripe.authenticateSource)
Get the PaymentIntentResult from Intent returned via Activity#onActivityResult(int, int, Intent)}} for PaymentIntent automatic confirmation (see Stripe.confirmPayment) or manual confirmation (see Stripe.handleNextActionForPayment})
Get the SetupIntentResult from Intent returned via Activity#onActivityResult(int, int, Intent)}} for SetupIntentResult confirmation. (see confirmSetupIntent)
Handle the next_action for a previously confirmed PaymentIntent.
Handle next_action for a previously confirmed SetupIntent. Used for manual confirmation flow.
Check if the requestCode and Intent is for Source authentication. The Intent should be retrieved from the result from Activity#onActivityResult(int, int, Intent)}}
by Activity started with authenticateSource.
Check if the requestCode and Intent is for PaymentIntentResult. The Intent should be retrieved from the result from Activity#onActivityResult(int, int, Intent)}}
by Activity started with confirmPayment or handleNextActionForPayment.
Check if the requestCode and Intent is for SetupIntentResult. The Intent should be retrieved from the result from Activity#onActivityResult(int, int, Intent)}}
by Activity started with confirmSetupIntent.
The result of a call to authenticateSource.
Should be called via Activity#onActivityResult(int, int, Intent)}}
to handle the result of a PaymentIntent automatic confirmation (see confirmPayment) or manual confirmation (see handleNextActionForPayment})
Should be called via Activity#onActivityResult(int, int, Intent)}}
to handle the result of a SetupIntent confirmation (see confirmSetupIntent).
Retrieve a PaymentIntent asynchronously.
Retrieve a PaymentIntent from a coroutine.
Blocking method to retrieve a PaymentIntent object. Do not call this on the UI thread or your app will crash.
Retrieve a list of possible brands for the given card number. Returns an error if the cardNumber length is less than 6 characters.
Retrieve a list of possible brands for the given card number. Returns an error if the cardNumber length is less than 6 characters.
Retrieve a SetupIntent asynchronously.
Retrieve a SetupIntent asynchronously.
Blocking method to retrieve a SetupIntent object. Do not call this on the UI thread or your app will crash.
Retrieve a Source asynchronously.
Update a PaymentMethod asynchronously.
Update a PaymentMethod from a coroutine.
Verify a customer's bank account with micro-deposits
Suspend function to verify a customer's bank account with micro-deposits
Verify a customer's bank account with micro-deposits
Suspend function to verify a customer's bank account with micro-deposits