Documentation ¶
Overview ¶
Package client provides a Stripe client for invoking APIs across all resources
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { // Account is the client used to invoke /accounts APIs. Account *account.Client // AccountLinks is the client used to invoke /account_links APIs. AccountLinks *accountlink.Client // ApplePayDomains is the client used to invoke /apple_pay/domains APIs. ApplePayDomains *applepaydomain.Client // AppsSecrets is the client used to invoke /apps/secrets APIs. AppsSecrets *appssecret.Client // Balance is the client used to invoke /balance APIs. Balance *balance.Client // BalanceTransaction is the client used to invoke /balance_transactions APIs. BalanceTransaction *balancetransaction.Client // BankAccounts is the client used to invoke bankaccount related APIs. BankAccounts *bankaccount.Client // BillingPortalConfigurations is the client used to invoke /billing_portal/configurations APIs. BillingPortalConfigurations *billingportalconfiguration.Client // BillingPortalSessions is the client used to invoke /billing_portal/sessions APIs. BillingPortalSessions *billingportalsession.Client // Capabilities is the client used to invoke /accounts/{account}/capabilities APIs. Capabilities *capability.Client // Cards is the client used to invoke card related APIs. Cards *card.Client // CashBalances is the client used to invoke /customers/{customer}/cash_balance APIs. CashBalances *cashbalance.Client // Charges is the client used to invoke /charges APIs. Charges *charge.Client // CheckoutSessions is the client used to invoke /checkout/sessions APIs. CheckoutSessions *checkoutsession.Client // CountrySpec is the client used to invoke /country_specs APIs. CountrySpec *countryspec.Client // Coupons is the client used to invoke /coupons APIs. Coupons *coupon.Client // CreditNotes is the client used to invoke /credit_notes APIs. CreditNotes *creditnote.Client // CustomerBalanceTransactions is the client used to invoke /customers/{customer}/balance_transactions APIs. CustomerBalanceTransactions *customerbalancetransaction.Client // Customers is the client used to invoke /customers APIs. Customers *customer.Client // Discounts is the client used to invoke discount related APIs. Discounts *discount.Client // Disputes is the client used to invoke /disputes APIs. Disputes *dispute.Client // EphemeralKeys is the client used to invoke /ephemeral_keys APIs. EphemeralKeys *ephemeralkey.Client // Events is the client used to invoke /events APIs. Events *event.Client // FeeRefunds is the client used to invoke /application_fees/{id}/refunds APIs. FeeRefunds *feerefund.Client // Fees is the client used to invoke /application_fees APIs. Fees *fee.Client // FileLinks is the client used to invoke /file_links APIs. FileLinks *filelink.Client // Files is the client used to invoke /files APIs. Files *file.Client // FinancialConnectionsAccounts is the client used to invoke /financial_connections/accounts APIs. FinancialConnectionsAccounts *financialconnectionsaccount.Client // FinancialConnectionsSessions is the client used to invoke /financial_connections/sessions APIs. FinancialConnectionsSessions *financialconnectionssession.Client // IdentityVerificationReports is the client used to invoke /identity/verification_reports APIs. IdentityVerificationReports *identityverificationreport.Client // IdentityVerificationSessions is the client used to invoke /identity/verification_sessions APIs. IdentityVerificationSessions *identityverificationsession.Client // InvoiceItems is the client used to invoke /invoiceitems APIs. InvoiceItems *invoiceitem.Client // Invoices is the client used to invoke /invoices APIs. Invoices *invoice.Client // IssuingAuthorizations is the client used to invoke /issuing/authorizations APIs. IssuingAuthorizations *issuingauthorization.Client // IssuingCardholders is the client used to invoke /issuing/cardholders APIs. IssuingCardholders *issuingcardholder.Client // IssuingCards is the client used to invoke /issuing/cards APIs. IssuingCards *issuingcard.Client // IssuingDisputes is the client used to invoke /issuing/disputes APIs. IssuingDisputes *issuingdispute.Client // IssuingTransactions is the client used to invoke /issuing/transactions APIs. IssuingTransactions *issuingtransaction.Client // LoginLinks is the client used to invoke /accounts/{account}/login_links APIs. LoginLinks *loginlink.Client // Mandates is the client used to invoke /mandates APIs. Mandates *mandate.Client // OAuth is the client used to invoke /oauth APIs OAuth *oauth.Client // OrderReturns is the client used to invoke /order_returns APIs. OrderReturns *orderreturn.Client // Orders is the client used to invoke /orders APIs. Orders *order.Client // PaymentIntents is the client used to invoke /payment_intents APIs. PaymentIntents *paymentintent.Client // PaymentLinks is the client used to invoke /payment_links APIs. PaymentLinks *paymentlink.Client // PaymentMethods is the client used to invoke /payment_methods APIs. PaymentMethods *paymentmethod.Client // PaymentSource is the client used to invoke /customers/{customer}/sources APIs. PaymentSource *paymentsource.Client // Payouts is the client used to invoke /payouts APIs. Payouts *payout.Client // Persons is the client used to invoke /accounts/{account}/persons APIs. Persons *person.Client // Plans is the client used to invoke /plans APIs. Plans *plan.Client // Prices is the client used to invoke /prices APIs. Prices *price.Client // Products is the client used to invoke /products APIs. Products *product.Client // PromotionCodes is the client used to invoke /promotion_codes APIs. PromotionCodes *promotioncode.Client // Quotes is the client used to invoke /quotes APIs. Quotes *quote.Client // RadarEarlyFraudWarnings is the client used to invoke /radar/early_fraud_warnings APIs. RadarEarlyFraudWarnings *radarearlyfraudwarning.Client // RadarValueListItems is the client used to invoke /radar/value_list_items APIs. RadarValueListItems *radarvaluelistitem.Client // RadarValueLists is the client used to invoke /radar/value_lists APIs. RadarValueLists *radarvaluelist.Client // Refunds is the client used to invoke /refunds APIs. Refunds *refund.Client // ReportRuns is the client used to invoke /reporting/report_runs APIs. ReportRuns *reportingreportrun.Client // ReportTypes is the client used to invoke /reporting/report_types APIs. ReportTypes *reportingreporttype.Client // Reversals is the client used to invoke /transfers/{id}/reversals APIs. Reversals *reversal.Client // Reviews is the client used to invoke /reviews APIs. Reviews *review.Client // SetupAttempts is the client used to invoke /setup_attempts APIs. SetupAttempts *setupattempt.Client // SetupIntents is the client used to invoke /setup_intents APIs. SetupIntents *setupintent.Client // ShippingRates is the client used to invoke /shipping_rates APIs. ShippingRates *shippingrate.Client // SigmaScheduledQueryRuns is the client used to invoke /sigma/scheduled_query_runs APIs. SigmaScheduledQueryRuns *sigmascheduledqueryrun.Client // Skus is the client used to invoke /skus APIs. Skus *sku.Client // Sources is the client used to invoke /sources APIs. Sources *source.Client // SourceTransactions is the client used to invoke sourcetransaction related APIs. SourceTransactions *sourcetransaction.Client // SubscriptionItems is the client used to invoke /subscription_items APIs. SubscriptionItems *subitem.Client // Subscriptions is the client used to invoke /subscriptions APIs. Subscriptions *sub.Client // SubscriptionSchedules is the client used to invoke /subscription_schedules APIs. SubscriptionSchedules *subschedule.Client // TaxCodes is the client used to invoke /tax_codes APIs. TaxCodes *taxcode.Client // TaxIDs is the client used to invoke /customers/{customer}/tax_ids APIs. TaxIDs *taxid.Client // TaxRates is the client used to invoke /tax_rates APIs. TaxRates *taxrate.Client // TerminalConfigurations is the client used to invoke /terminal/configurations APIs. TerminalConfigurations *terminalconfiguration.Client // TerminalConnectionTokens is the client used to invoke /terminal/connection_tokens APIs. TerminalConnectionTokens *terminalconnectiontoken.Client // TerminalLocations is the client used to invoke /terminal/locations APIs. TerminalLocations *terminallocation.Client // TerminalReaders is the client used to invoke /terminal/readers APIs. TerminalReaders *terminalreader.Client // TestHelpersCustomers is the client used to invoke /customers APIs. TestHelpersCustomers *testhelperscustomer.Client // TestHelpersIssuingCards is the client used to invoke /issuing/cards APIs. TestHelpersIssuingCards *testhelpersissuingcard.Client // TestHelpersRefunds is the client used to invoke /refunds APIs. TestHelpersRefunds *testhelpersrefund.Client // TestHelpersTerminalReaders is the client used to invoke /terminal/readers APIs. TestHelpersTerminalReaders *testhelpersterminalreader.Client // TestHelpersTestClocks is the client used to invoke /test_helpers/test_clocks APIs. TestHelpersTestClocks *testhelperstestclock.Client // TestHelpersTreasuryInboundTransfers is the client used to invoke /treasury/inbound_transfers APIs. TestHelpersTreasuryInboundTransfers *testhelperstreasuryinboundtransfer.Client // TestHelpersTreasuryOutboundPayments is the client used to invoke /treasury/outbound_payments APIs. TestHelpersTreasuryOutboundPayments *testhelperstreasuryoutboundpayment.Client // TestHelpersTreasuryOutboundTransfers is the client used to invoke /treasury/outbound_transfers APIs. TestHelpersTreasuryOutboundTransfers *testhelperstreasuryoutboundtransfer.Client // TestHelpersTreasuryReceivedCredits is the client used to invoke /treasury/received_credits APIs. TestHelpersTreasuryReceivedCredits *testhelperstreasuryreceivedcredit.Client // TestHelpersTreasuryReceivedDebits is the client used to invoke /treasury/received_debits APIs. TestHelpersTreasuryReceivedDebits *testhelperstreasuryreceiveddebit.Client // Tokens is the client used to invoke /tokens APIs. Tokens *token.Client // Topups is the client used to invoke /topups APIs. Topups *topup.Client // Transfers is the client used to invoke /transfers APIs. Transfers *transfer.Client // TreasuryCreditReversals is the client used to invoke /treasury/credit_reversals APIs. TreasuryCreditReversals *treasurycreditreversal.Client // TreasuryDebitReversals is the client used to invoke /treasury/debit_reversals APIs. TreasuryDebitReversals *treasurydebitreversal.Client // TreasuryFinancialAccounts is the client used to invoke /treasury/financial_accounts APIs. TreasuryFinancialAccounts *treasuryfinancialaccount.Client // TreasuryInboundTransfers is the client used to invoke /treasury/inbound_transfers APIs. TreasuryInboundTransfers *treasuryinboundtransfer.Client // TreasuryOutboundPayments is the client used to invoke /treasury/outbound_payments APIs. TreasuryOutboundPayments *treasuryoutboundpayment.Client // TreasuryOutboundTransfers is the client used to invoke /treasury/outbound_transfers APIs. TreasuryOutboundTransfers *treasuryoutboundtransfer.Client // TreasuryReceivedCredits is the client used to invoke /treasury/received_credits APIs. TreasuryReceivedCredits *treasuryreceivedcredit.Client // TreasuryReceivedDebits is the client used to invoke /treasury/received_debits APIs. TreasuryReceivedDebits *treasuryreceiveddebit.Client // TreasuryTransactionEntries is the client used to invoke /treasury/transaction_entries APIs. TreasuryTransactionEntries *treasurytransactionentry.Client // TreasuryTransactions is the client used to invoke /treasury/transactions APIs. TreasuryTransactions *treasurytransaction.Client // UsageRecords is the client used to invoke /subscription_items/{subscription_item}/usage_records APIs. UsageRecords *usagerecord.Client // UsageRecordSummaries is the client used to invoke /subscription_items/{subscription_item}/usage_record_summaries APIs. UsageRecordSummaries *usagerecordsummary.Client // WebhookEndpoints is the client used to invoke /webhook_endpoints APIs. WebhookEndpoints *webhookendpoint.Client }
API is the Stripe client. It contains all the different resources available.
Click to show internal directories.
Click to hide internal directories.