Package com.stripe
Class StripeClient
java.lang.Object
com.stripe.StripeClient
This is the primary entrypoint to make requests against Stripe's API. It provides a means of
accessing all the methods on the Stripe API, and the ability to set configuration such as apiKey
and connection timeouts.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionStripeClient(StripeResponseGetter responseGetter) Constructs a StripeClient with a custom StripeResponseGetter.StripeClient(String apiKey) Constructs a StripeClient with default settings, using the provided API key. -
Method Summary
Modifier and TypeMethodDescriptionaccounts()apps()balance()builder()Builder class for creating aStripeClientinstance.charges()checkout()climate()coupons()disputes()events()files()protected StripeResponseGetteridentity()invoices()issuing()mandates()payouts()plans()prices()products()quotes()radar()refunds()reviews()sigma()sources()tax()taxCodes()taxRates()terminal()tokens()topups()treasury()
-
Constructor Details
-
StripeClient
Constructs a StripeClient with default settings, using the provided API key. Use the builder instead if you require more complex configuration. -
StripeClient
Constructs a StripeClient with a custom StripeResponseGetter.Use this for testing, or advanced use cases where you need to make fundamental changes to how the StripeClient makes requests.
-
-
Method Details
-
getResponseGetter
-
accountLinks
-
accountSessions
-
accounts
-
applePayDomains
-
applicationFees
-
apps
-
balance
-
balanceTransactions
-
bankAccounts
-
billingPortal
-
charges
-
checkout
-
climate
-
countrySpecs
-
coupons
-
creditNotes
-
customers
-
disputes
-
ephemeralKeys
-
events
-
exchangeRates
-
fileLinks
-
files
-
financialConnections
-
identity
-
invoiceItems
-
invoices
-
issuing
-
mandates
-
paymentIntents
-
paymentLinks
-
paymentMethodConfigurations
-
paymentMethodDomains
-
paymentMethods
-
payouts
-
plans
-
prices
-
products
-
promotionCodes
-
quotes
-
radar
-
refunds
-
reporting
-
reviews
-
setupAttempts
-
setupIntents
-
shippingRates
-
sigma
-
sources
-
subscriptionItems
-
subscriptionSchedules
-
subscriptions
-
tax
-
taxCodes
-
taxRates
-
terminal
-
testHelpers
-
tokens
-
topups
-
transfers
-
treasury
-
webhookEndpoints
-
builder
Builder class for creating aStripeClientinstance. Allows you to specify settings like the API key, connect and read timeouts, and proxy settings.
-