Categorygithub.com/localmod/stripe-go
modulepackage
68.2.0+incompatible
Repository: https://github.com/localmod/stripe-go.git
Documentation: pkg.go.dev

# README

Go Stripe

GoDoc Build Status Coverage Status

The official Stripe Go client library.

Installation

Install stripe-go with:

go get -u github.com/stripe/stripe-go

Then, import it using:

import (
    "github.com/stripe/stripe-go"
    "github.com/stripe/stripe-go/customer"
)

Go Module Support

The library currently does not ship with first-class support for Go modules. We put in support for it before, but ran into compatibility problems for existing installations using Dep (see discussion in closer to the bottom of this thread, and reverted support. Our current plan is to wait for better module compatibility in Dep (see a preliminary patch here), give the release a little grace time to become more widely distributed, then bring support back.

For now, require stripe-go in go.mod with a version but without a version suffix in the path like so:

module github.com/my/package

require (
    github.com/stripe/stripe-go v68.2.0
)

And use the same style of import paths as above:

import (
    "github.com/stripe/stripe-go"
    "github.com/stripe/stripe-go/customer"
)

Documentation

For a comprehensive list of examples, check out the API documentation.

For details on all the functionality in this library, see the GoDoc documentation.

Below are a few simple examples:

Customers

params := &stripe.CustomerParams{
	Description:        stripe.String("Stripe Developer"),
	Email:              stripe.String("[email protected]"),
}

customer, err := customer.New(params)

Charges

params := &stripe.ChargeListParams{Customer: stripe.String(customer.ID)}
params.Filters.AddFilter("include[]", "", "total_count")

// set this so you can easily retry your request in case of a timeout
params.Params.IdempotencyKey = stripe.NewIdempotencyKey()

i := charge.List(params)
for i.Next() {
	charge := i.Charge()
}

if err := i.Err(); err != nil {
	// handle
}

Events

i := event.List(nil)
for i.Next() {
	e := i.Event()

	// access event data via e.GetObjectValue("resource_name_based_on_type", "resource_property_name")
	// alternatively you can access values via e.Data.Object["resource_name_based_on_type"].(map[string]interface{})["resource_property_name"]

	// access previous attributes via e.GetPreviousValue("resource_name_based_on_type", "resource_property_name")
	// alternatively you can access values via e.Data.PrevPreviousAttributes["resource_name_based_on_type"].(map[string]interface{})["resource_property_name"]
}

Alternatively, you can use the event.Data.Raw property to unmarshal to the appropriate struct.

Authentication with Connect

There are two ways of authenticating requests when performing actions on behalf of a connected account, one that uses the Stripe-Account header containing an account's ID, and one that uses the account's keys. Usually the former is the recommended approach. See the documentation for more information.

To use the Stripe-Account approach, use SetStripeAccount() on a ListParams or Params class. For example:

// For a list request
listParams := &stripe.ChargeListParams{}
listParams.SetStripeAccount("acct_123")
// For any other kind of request
params := &stripe.CustomerParams{}
params.SetStripeAccount("acct_123")

To use a key, pass it to API's Init function:


import (
	"github.com/stripe/stripe-go"
	"github.com/stripe/stripe-go/client"
)

stripe := &client.API{}
stripe.Init("access_token", nil)

Google AppEngine

If you're running the client in a Google AppEngine environment, you'll need to create a per-request Stripe client since the http.DefaultClient is not available. Here's a sample handler:

import (
	"fmt"
	"net/http"

	"google.golang.org/appengine"
	"google.golang.org/appengine/urlfetch"

	"github.com/stripe/stripe-go"
	"github.com/stripe/stripe-go/client"
)

func handler(w http.ResponseWriter, r *http.Request) {
        c := appengine.NewContext(r)
        httpClient := urlfetch.Client(c)

        sc := stripeClient.New("sk_live_key", stripe.NewBackends(httpClient))

        chargeParams := &stripe.ChargeParams{
            Amount:      stripe.Int64(2000),
            Currency:    stripe.String(string(stripe.CurrencyUSD)),
            Description: stripe.String("Charge from Google App Engine"),
        }
        chargeParams.SetSource("tok_amex") // obtained with Stripe.js
        charge, err := sc.Charges.New(chargeParams)
        if err != nil {
            fmt.Fprintf(w, "Could not process payment: %v", err)
        }
        fmt.Fprintf(w, "Completed payment: %v", charge.ID)
}

Usage

While some resources may contain more/less APIs, the following pattern is applied throughout the library for a given $resource$:

Without a Client

If you're only dealing with a single key, you can simply import the packages required for the resources you're interacting with without the need to create a client.

import (
	"github.com/stripe/stripe-go"
	"github.com/stripe/stripe-go/$resource$"
)

// Setup
stripe.Key = "sk_key"

stripe.SetBackend("api", backend) // optional, useful for mocking

// Create
$resource$, err := $resource$.New(stripe.$Resource$Params)

// Get
$resource$, err := $resource$.Get(id, stripe.$Resource$Params)

// Update
$resource$, err := $resource$.Update(stripe.$Resource$Params)

// Delete
resourceDeleted, err := $resource$.Del(id, stripe.$Resource$Params)

// List
i := $resource$.List(stripe.$Resource$ListParams)
for i.Next() {
	$resource$ := i.$Resource$()
}

if err := i.Err(); err != nil {
	// handle
}

With a Client

If you're dealing with multiple keys, it is recommended you use client.API. This allows you to create as many clients as needed, each with their own individual key.

import (
	"github.com/stripe/stripe-go"
	"github.com/stripe/stripe-go/client"
)

// Setup
sc := &client.API{}
sc.Init("sk_key", nil) // the second parameter overrides the backends used if needed for mocking

// Create
$resource$, err := sc.$Resource$s.New(stripe.$Resource$Params)

// Get
$resource$, err := sc.$Resource$s.Get(id, stripe.$Resource$Params)

// Update
$resource$, err := sc.$Resource$s.Update(stripe.$Resource$Params)

// Delete
resourceDeleted, err := sc.$Resource$s.Del(id, stripe.$Resource$Params)

// List
i := sc.$Resource$s.List(stripe.$Resource$ListParams)
for i.Next() {
	resource := i.$Resource$()
}

if err := i.Err(); err != nil {
	// handle
}

Configuring Automatic Retries

You can enable automatic retries on requests that fail due to a transient problem by configuring the maximum number of retries:

import (
	"github.com/stripe/stripe-go"
	"github.com/stripe/stripe-go/client"
)

config := &stripe.BackendConfig{
    MaxNetworkRetries: 2,
}

sc := &client.API{}
sc.Init("sk_key", &stripe.Backends{
    API:     stripe.GetBackendWithConfig(stripe.APIBackend, config),
    Uploads: stripe.GetBackendWithConfig(stripe.UploadsBackend, config),
})

coupon, err := sc.Coupons.New(...)

Various errors can trigger a retry, like a connection error or a timeout, and also certain API responses like HTTP status 409 Conflict.

Idempotency keys are added to requests to guarantee that retries are safe.

Configuring Logging

Configure logging using the global DefaultLeveledLogger variable:

stripe.DefaultLeveledLogger = &stripe.LeveledLogger{
    Level: stripe.LevelInfo,
}

Or on a per-backend basis:

config := &stripe.BackendConfig{
    LeveledLogger: &stripe.LeveledLogger{
        Level: stripe.LevelInfo,
    },
}

It's possible to use non-Stripe leveled loggers as well. Stripe expects loggers to comply to the following interface:

type LeveledLoggerInterface interface {
	Debugf(format string, v ...interface{})
	Errorf(format string, v ...interface{})
	Infof(format string, v ...interface{})
	Warnf(format string, v ...interface{})
}

Some loggers like Logrus and Zap's [SugaredLogger][sugaredlogger] support this interface out-of-the-box so it's possible to set DefaultLeveledLogger to a *logrus.Logger or *zap.SugaredLogger directly. For others it may be necessary to write a thin shim layer to support them.

Writing a Plugin

If you're writing a plugin that uses the library, we'd appreciate it if you identified using stripe.SetAppInfo:

stripe.SetAppInfo(&stripe.AppInfo{
    Name:    "MyAwesomePlugin",
    URL:     "https://myawesomeplugin.info",
    Version: "1.2.34",
})

This information is passed along when the library makes calls to the Stripe API. Note that while Name is always required, URL and Version are optional.

Request latency telemetry

By default, the library sends request latency telemetry to Stripe. These numbers help Stripe improve the overall latency of its API for all users.

You can disable this behavior if you prefer:

config := &stripe.BackendConfig{
	EnableTelemetry: false,
}

Development

Pull requests from the community are welcome. If you submit one, please keep the following guidelines in mind:

  1. Code must be go fmt compliant.
  2. All types, structs and funcs should be documented.
  3. Ensure that make test succeeds.

Test

The test suite needs testify's require package to run:

github.com/stretchr/testify/require

Before running the tests, make sure to grab all of the package's dependencies:

go get -t -v

It also depends on stripe-mock, so make sure to fetch and run it from a background terminal (stripe-mock's README also contains instructions for installing via Homebrew and other methods):

go get -u github.com/stripe/stripe-mock
stripe-mock

Run all tests:

make test

Run tests for one package:

go test ./invoice

Run a single test:

go test ./invoice -run TestInvoiceGet

For any requests, bug or comments, please open an issue or submit a pull request.

# Packages

Package account provides API functions related to accounts.
Package accountlink provides API functions related to account links.
Package applepaydomain provides the /apple_pay/domains APIs.
Package balance provides the /balance APIs.
Package balancetransaction provides the /balance_transactions APIs.
Package bankaccount provides the /bank_accounts APIs.
Package bitcoinreceiver provides the /bitcoin/receivers APIs.
Package bitcointransaction provides the /bitcoin/transactions APIs.
Package capability provides the /accounts/capabilities APIs.
Package card provides the /cards APIs.
Package charge provides API functions related to charges.
No description provided by the author
Package client provides a Stripe client for invoking APIs across all resources.
Package countryspec provides the /country_specs APIs.
Package coupon provides the /coupons APIs.
Package creditnote provides the /credit_notes APIs.
Package customer provides the /customers APIs.
Package customerbalancetransaction provides the /balance_transactions APIs.
Package discount provides the discount-related APIs.
No description provided by the author
Package ephemeralkey provides the /ephemeral_keys APIs.
Package event provides the /events APIs.
Package exchangerate provides the /exchange_rates APIs.
Package fee provides the /application_fees APIs.
Package feerefund provides the /application_fees/refunds APIs.
Package file provides the file related APIs.
Package filelink provides API functions related to file links.
No description provided by the author
Package invoice provides the /invoices APIs.
Package invoiceitem provides the /invoiceitems APIs.
No description provided by the author
Package loginlink provides the /login_links APIs.
Package mandate provides the /mandates APIs.
Package oauth provides the OAuth APIs.
No description provided by the author
No description provided by the author
Package paymentintent provides API functions related to payment intents.
Package paymentmethod provides the /payment_methods APIs.
Package paymentsource provides the /sources APIs.
Package payout provides the /payouts APIs.
Package person provides the /accounts/persons APIs.
Package plan provides the /plans APIs.
No description provided by the author
No description provided by the author
Package recipient provides the /recipients APIs.
Package recipienttransfer provides the /recipient_transfers APIs.
Package refund provides the /refunds APIs.
No description provided by the author
Package reversal provides the /transfers/reversals APIs.
Package review provides the /reviews APIs.
No description provided by the author
Package setupintent provides API functions related to setup intents.
No description provided by the author
No description provided by the author
No description provided by the author
Package sourcetransaction provides the /source/transactions APIs.
Package sub provides the /subscriptions APIs.
Package subitem provides the /subscription_items APIs.
Package subschedule provides the /subscription_schedules APIs.
Package taxid provides the /customers/cus_1 APIs.
Package taxrate provides the /tax_rates APIs.
No description provided by the author
No description provided by the author
Package threedsecure provides the /3d_secure APIs This package is deprecated and should not be used anymore.
Package token provides the /tokens APIs.
No description provided by the author
Package transfer provides the /transfers APIs.
Package usagerecord provides the /subscription_items/{SUBSCRIPTION_ITEM_ID}/usage_records APIs.
Package usagerecordsummary provides the /subscription_items/{SUBSCRIPTION_ITEM_ID}/usage_record_summaries APIs.
No description provided by the author
Package webhookendpoint provides the /webhook_endpoints APIs.

# Functions

Bool returns a pointer to the bool value passed in.
BoolSlice returns a slice of bool pointers given a slice of bools.
BoolValue returns the value of the bool pointer passed in or false if the pointer is nil.
Float64 returns a pointer to the float64 value passed in.
Float64Slice returns a slice of float64 pointers given a slice of float64s.
Float64Value returns the value of the float64 pointer passed in or 0 if the pointer is nil.
FormatURLPath takes a format string (of the kind used in the fmt package) representing a URL path with a number of parameters that belong in the path and returns a formatted string.
GetBackend returns one of the library's supported backends based off of the given argument.
GetBackendWithConfig is the same as GetBackend except that it can be given a configuration struct that will configure certain aspects of the backend that's return.
GetIter returns a new Iter for a given query and its options.
Int64 returns a pointer to the int64 value passed in.
Int64Slice returns a slice of int64 pointers given a slice of int64s.
Int64Value returns the value of the int64 pointer passed in or 0 if the pointer is nil.
NewBackends creates a new set of backends with the given HTTP client.
NewIdempotencyKey generates a new idempotency key that can be used on a request.
ParseID attempts to parse a string scalar from a given JSON value which is still encoded as []byte.
SetAppInfo sets app information.
SetBackend sets the backend used in the binding.
SetHTTPClient overrides the default HTTP client.
SourceParamsFor creates SourceParams objects around supported payment sources, returning errors if not.
String returns a pointer to the string value passed in.
StringSlice returns a slice of string pointers given a slice of strings.
StringValue returns the value of the string pointer passed in or "" if the pointer is nil.

# Constants

List of values that AccountBusinessType can take.
List of values that AccountBusinessType can take.
List of values that AccountCapability can take.
List of values that AccountCapability can take.
List of values that AccountCapabilityStatus can take.
List of values that AccountCapabilityStatus can take.
List of values that AccountCapabilityStatus can take.
List of values that AccountCapability can take.
List of values that AccountCompanyVerificationDocumentDetailsCode can take.
List of values that AccountCompanyVerificationDocumentDetailsCode can take.
List of values that AccountCompanyVerificationDocumentDetailsCode can take.
List of values that AccountCompanyVerificationDocumentDetailsCode can take.
List of values that AccountCompanyVerificationDocumentDetailsCode can take.
List of values that AccountCompanyVerificationDocumentDetailsCode can take.
List of values that AccountCompanyVerificationDocumentDetailsCode can take.
List of values that AccountCompanyVerificationDocumentDetailsCode can take.
List of values that AccountCompanyVerificationDocumentDetailsCode can take.
List of values that AccountCompanyVerificationDocumentDetailsCode can take.
List of values that AccountLinkCollect can take.
List of values that AccountLinkCollect can take.
List of values that AccountLinkType can take.
List of values that AccountLinkType can take.
List of values that AccountRejectReason can take.
List of values that AccountRejectReason can take.
List of values that AccountRejectReason can take.
List of values that AccountRequirementsDisabledReason can take.
List of values that AccountRequirementsDisabledReason can take.
List of values that AccountRequirementsDisabledReason can take.
List of values that AccountRequirementsDisabledReason can take.
List of values that AccountRequirementsDisabledReason can take.
List of values that AccountRequirementsDisabledReason can take.
List of values that AccountRequirementsDisabledReason can take.
List of values that AccountRequirementsDisabledReason can take.
List of values that AccountType can take.
List of values that AccountType can take.
List of values that AccountType can take.
APIBackend is a constant representing the API service backend.
APIURL is the URL of the API service backend.
APIVersion is the currently supported API version.
List of values that BalanceTransactionSourceType can take.
List of values that BalanceTransactionSourceType can take.
List of values that BalanceTransactionSourceType can take.
List of values that BalanceTransactionSourceType can take.
List of values that BalanceTransactionSourceType can take.
List of values that BalanceTransactionSourceType can take.
List of values that BalanceTransactionSourceType can take.
List of values that BalanceTransactionSourceType can take.
List of values that BalanceTransactionSourceType can take.
List of values that BalanceTransactionSourceType can take.
List of values that BalanceTransactionStatus can take.
List of values that BalanceTransactionStatus can take.
List of values that BalanceTransactionType can take.
List of values that BalanceTransactionType can take.
List of values that BalanceTransactionType can take.
List of values that BalanceTransactionType can take.
List of values that BalanceTransactionType can take.
List of values that BalanceTransactionType can take.
List of values that BalanceTransactionType can take.
List of values that BalanceTransactionType can take.
List of values that BalanceTransactionType can take.
List of values that BalanceTransactionType can take.
List of values that BalanceTransactionType can take.
List of values that BalanceTransactionType can take.
List of values that BalanceTransactionType can take.
List of values that BalanceTransactionType can take.
List of values that BalanceTransactionType can take.
List of values that BalanceTransactionType can take.
List of values that BalanceTransactionType can take.
List of values that BalanceTransactionType can take.
List of values that BalanceTransactionType can take.
List of values that BalanceTransactionType can take.
List of values that BankAccountAccountHolderType can take.
List of values that BankAccountAccountHolderType can take.
List of values that BankAccountStatus can take.
List of values that BankAccountStatus can take.
List of values that BankAccountStatus can take.
List of values that BankAccountStatus can take.
List of values that BankAccountStatus can take.
List of values that CapabilityDisabledReason can take.
List of values that CapabilityDisabledReason can take.
List of values that CapabilityDisabledReason can take.
List of values that CapabilityDisabledReason can take.
List of values that CapabilityDisabledReason can take.
List of values that CapabilityDisabledReason can take.
List of values that CapabilityStatus can take.
List of values that CapabilityStatus can take.
List of values that CapabilityStatus can take.
List of values that CapabilityStatus can take.
List of values that CardAvailablePayoutMethod can take.
List of values that CardAvailablePayoutMethod can take.
List of values that CardBrand can take.
List of values that CardBrand can take.
List of values that CardBrand can take.
List of values that CardBrand can take.
List of values that CardBrand can take.
List of values that CardBrand can take.
List of values that CardBrand can take.
List of values that CardBrand can take.
List of values that CardFunding can take.
List of values that CardFunding can take.
List of values that CardFunding can take.
List of values that CardFunding can take.
List of values that CardVerification can take.
List of values that CardVerification can take.
List of values that CardVerification can take.
List of values that CardVerification can take.
List of values that ChargeFraudStripeReport can take.
List of values that ChargeFraudUserReport can take.
List of values that ChargeFraudUserReport can take.
List of values that ChargePaymentMethodDetailsType can take.
List of values that ChargePaymentMethodDetailsType can take.
List of values that ChargePaymentMethodDetailsType can take.
List of values that ChargePaymentMethodDetailsType can take.
List of values that ChargePaymentMethodDetailsType can take.
List of values that ChargePaymentMethodDetailsType can take.
This is unsupported today and is here for legacy charges.
List of values that ChargePaymentMethodDetailsType can take.
List of values that ChargePaymentMethodDetailsType can take.
List of values that ChargePaymentMethodDetailsType can take.
List of values that ChargePaymentMethodDetailsType can take.
List of values that ChargePaymentMethodDetailsType can take.
List of values that ChargePaymentMethodDetailsType can take.
List of values that ChargePaymentMethodDetailsType can take.
List of values that ChargePaymentMethodDetailsType can take.
List of values that ChargePaymentMethodDetailsType can take.
List of values that ChargePaymentMethodDetailsType can take.
List of values that ChargePaymentMethodDetailsType can take.
List of values that ChargePaymentMethodDetailsType can take.
List of values that ChargePaymentMethodDetailsType can take.
List of values that CheckoutSessionDisplayItemType can take.
List of values that CheckoutSessionDisplayItemType can take.
List of values that CheckoutSessionDisplayItemType can take.
List of values that CheckoutSessionMode can take.
List of values that CheckoutSessionMode can take.
List of values that CheckoutSessionMode can take.
List of values that CheckoutSessionSubmitType can take.
List of values that CheckoutSessionSubmitType can take.
List of values that CheckoutSessionSubmitType can take.
List of values that CheckoutSessionSubmitType can take.
ConnectBackend is a constant representing the connect service backend for OAuth.
ConnectURL is the URL for OAuth.
List of values that CouponDuration can take.
List of values that CouponDuration can take.
List of values that CouponDuration can take.
List of values that CreditNoteReason can take.
List of values that CreditNoteReason can take.
List of values that CreditNoteReason can take.
List of values that CreditNoteReason can take.
List of values that CreditNoteStatus can take.
List of values that CreditNoteStatus can take.
List of values that CreditNoteType can take.
List of values that CreditNoteType can take.
United Arab Emirates Dirham.
Afghan Afghani.
Albanian Lek.
Armenian Dram.
Netherlands Antillean Gulden.
Angolan Kwanza.
Argentine Peso.
Australian Dollar.
Aruban Florin.
Azerbaijani Manat.
Bosnia & Herzegovina Convertible Mark.
Barbadian Dollar.
Bangladeshi Taka.
Bulgarian Lev.
Burundian Franc.
Bermudian Dollar.
Brunei Dollar.
Bolivian Boliviano.
Brazilian Real.
Bahamian Dollar.
Botswana Pula.
Belize Dollar.
Canadian Dollar.
Congolese Franc.
Swiss Franc.
Chilean Peso.
Chinese Renminbi Yuan.
Colombian Peso.
Costa Rican Colón.
Cape Verdean Escudo.
Czech Koruna.
Djiboutian Franc.
Danish Krone.
Dominican Peso.
Algerian Dinar.
Estonian Kroon.
Egyptian Pound.
Ethiopian Birr.
Euro.
Fijian Dollar.
Falkland Islands Pound.
British Pound.
Georgian Lari.
Gibraltar Pound.
Gambian Dalasi.
Guinean Franc.
Guatemalan Quetzal.
Guyanese Dollar.
Hong Kong Dollar.
Honduran Lempira.
Croatian Kuna.
Haitian Gourde.
Hungarian Forint.
Indonesian Rupiah.
Israeli New Sheqel.
Indian Rupee.
Icelandic Króna.
Jamaican Dollar.
Japanese Yen.
Kenyan Shilling.
Kyrgyzstani Som.
Cambodian Riel.
Comorian Franc.
South Korean Won.
Cayman Islands Dollar.
Kazakhstani Tenge.
Lao Kip.
Lebanese Pound.
Sri Lankan Rupee.
Liberian Dollar.
Lesotho Loti.
Lithuanian Litas.
Latvian Lats.
Moroccan Dirham.
Moldovan Leu.
Malagasy Ariary.
Macedonian Denar.
Mongolian Tögrög.
Macanese Pataca.
Mauritanian Ouguiya.
Mauritian Rupee.
Maldivian Rufiyaa.
Malawian Kwacha.
Mexican Peso.
Malaysian Ringgit.
Mozambican Metical.
Namibian Dollar.
Nigerian Naira.
Nicaraguan Córdoba.
Norwegian Krone.
Nepalese Rupee.
New Zealand Dollar.
Panamanian Balboa.
Peruvian Nuevo Sol.
Papua New Guinean Kina.
Philippine Peso.
Pakistani Rupee.
Polish Złoty.
Paraguayan Guaraní.
Qatari Riyal.
Romanian Leu.
Serbian Dinar.
Russian Ruble.
Rwandan Franc.
Saudi Riyal.
Solomon Islands Dollar.
Seychellois Rupee.
Swedish Krona.
Singapore Dollar.
Saint Helenian Pound.
Sierra Leonean Leone.
Somali Shilling.
Surinamese Dollar.
São Tomé and Príncipe Dobra.
Salvadoran Colón.
Swazi Lilangeni.
Thai Baht.
Tajikistani Somoni.
Tongan Paʻanga.
Turkish Lira.
Trinidad and Tobago Dollar.
New Taiwan Dollar.
Tanzanian Shilling.
Ukrainian Hryvnia.
Ugandan Shilling.
United States Dollar.
Uruguayan Peso.
Uzbekistani Som.
Venezuelan Bolívar.
Vietnamese Đồng.
Vanuatu Vatu.
Samoan Tala.
Central African Cfa Franc.
East Caribbean Dollar.
West African Cfa Franc.
Cfp Franc.
Yemeni Rial.
South African Rand.
Zambian Kwacha.
List of values that CustomerBalanceTransactionDuration can take.
List of values that CustomerBalanceTransactionDuration can take.
List of values that CustomerBalanceTransactionDuration can take.
List of values that CustomerBalanceTransactionDuration can take.
List of values that CustomerBalanceTransactionDuration can take.
List of values that CustomerBalanceTransactionDuration can take.
List of values that CustomerBalanceTransactionDuration can take.
List of values that CustomerTaxExempt can take.
List of values that CustomerTaxExempt can take.
List of values that CustomerTaxExempt can take.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of DeclineCode values.
List of values that DisputeReason can take.
List of values that DisputeReason can take.
List of values that DisputeReason can take.
List of values that DisputeReason can take.
List of values that DisputeReason can take.
List of values that DisputeReason can take.
List of values that DisputeReason can take.
List of values that DisputeReason can take.
List of values that DisputeStatus can take.
List of values that DisputeStatus can take.
List of values that DisputeStatus can take.
List of values that DisputeStatus can take.
List of values that DisputeStatus can take.
List of values that DisputeStatus can take.
List of values that DisputeStatus can take.
List of values that DisputeStatus can take.
Contains constants for the names of parameters used for pagination in list APIs.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
The following error code can be returned though is undocumented.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorCode can take.
List of values that ErrorType can take.
List of values that ErrorType can take.
List of values that ErrorType can take.
List of values that ErrorType can take.
List of values that ErrorType can take.
List of values that ErrorType can take.
List of values that ErrorType can take.
List of values that ExternalAccountType can take.
List of values that ExternalAccountType can take.
List of values that FilePurpose can take.
List of values that FilePurpose can take.
List of values that FilePurpose can take.
List of values that FilePurpose can take.
List of values that FilePurpose can take.
List of values that FilePurpose can take.
List of values that FilePurpose can take.
List of values that FilePurpose can take.
List of values that FilePurpose can take.
List of values that IdentityVerificationStatus can take.
List of values that IdentityVerificationStatus can take.
List of values that IdentityVerificationStatus can take.
List of values that InvoiceBillingReason can take.
List of values that InvoiceBillingReason can take.
List of values that InvoiceBillingReason can take.
List of values that InvoiceBillingReason can take.
List of values that InvoiceBillingReason can take.
List of values that InvoiceBillingReason can take.
List of values that InvoiceBillingReason can take.
List of values that InvoiceCollectionMethod can take.
List of values that InvoiceCollectionMethod can take.
List of values that InvoiceLineType can take.
List of values that InvoiceLineType can take.
List of values that InvoiceStatus can take.
List of values that InvoiceStatus can take.
List of values that InvoiceStatus can take.
List of values that InvoiceStatus can take.
List of values that InvoiceStatus can take.
List of values that IssuingAuthorizationAuthorizationMethod can take.
List of values that IssuingAuthorizationAuthorizationMethod can take.
List of values that IssuingAuthorizationAuthorizationMethod can take.
List of values that IssuingAuthorizationAuthorizationMethod can take.
List of values that IssuingAuthorizationAuthorizationMethod can take.
List of values that IssuingAuthorizationRequestHistoryReason can take.
List of values that IssuingAuthorizationRequestHistoryReason can take.
List of values that IssuingAuthorizationRequestHistoryReason can take.
List of values that IssuingAuthorizationRequestHistoryReason can take.
List of values that IssuingAuthorizationRequestHistoryReason can take.
List of values that IssuingAuthorizationRequestHistoryReason can take.
List of values that IssuingAuthorizationRequestHistoryReason can take.
List of values that IssuingAuthorizationRequestHistoryViolatedAuthorizationControlEntity can take.
List of values that IssuingAuthorizationRequestHistoryViolatedAuthorizationControlEntity can take.
List of values that IssuingAuthorizationRequestHistoryViolatedAuthorizationControlEntity can take.
List of values that IssuingAuthorizationRequestHistoryViolatedAuthorizationControlName can take.
List of values that IssuingAuthorizationRequestHistoryViolatedAuthorizationControlName can take.
List of values that IssuingAuthorizationRequestHistoryViolatedAuthorizationControlName can take.
List of values that IssuingAuthorizationRequestHistoryViolatedAuthorizationControlName can take.
List of values that IssuingAuthorizationRequestHistoryViolatedAuthorizationControlName can take.
List of values that IssuingAuthorizationStatus can take.
List of values that IssuingAuthorizationStatus can take.
List of values that IssuingAuthorizationStatus can take.
List of values that IssuingAuthorizationVerificationDataCheck can take.
List of values that IssuingAuthorizationVerificationDataCheck can take.
List of values that IssuingAuthorizationVerificationDataCheck can take.
List of values that IssuingAuthorizationVerificationDataCheck can take.
List of values that IssuingAuthorizationVerificationDataCheck can take.
List of values that IssuingAuthorizationVerificationDataCheck can take.
List of values that IssuingAuthorizationVerificationDataCheck can take.
List of values that IssuingAuthorizationWalletProviderType can take.
List of values that IssuingAuthorizationWalletProviderType can take.
List of values that IssuingAuthorizationWalletProviderType can take.
List of values that IssuingCardholderRequirementsDisabledReason can take.
List of values that IssuingCardholderRequirementsDisabledReason can take.
List of values that IssuingCardholderRequirementsDisabledReason can take.
List of values that IssuingCardholderStatus can take.
List of values that IssuingCardholderStatus can take.
List of values that IssuingCardholderStatus can take.
List of values that IssuingCardholderType can take.
List of values that IssuingCardholderType can take.
List of values that IssuingCardPINStatus can take.
List of values that IssuingCardPINStatus can take.
List of values that IssuingCardReplacementReason can take.
List of values that IssuingCardReplacementReason can take.
List of values that IssuingCardReplacementReason can take.
List of values that IssuingCardReplacementReason can take.
List of values that IssuingCardShippingType can take.
List of values that IssuingCardShippingStatus can take.
List of values that IssuingCardShippingStatus can take.
List of values that IssuingCardShippingType can take.
List of values that IssuingCardShippingStatus can take.
List of values that IssuingCardShippingStatus can take.
List of values that IssuingCardShippingStatus can take.
List of values that IssuingCardStatus can take.
List of values that IssuingCardStatus can take.
List of values that IssuingCardStatus can take.
List of values that IssuingCardStatus can take.
List of values that IssuingCardType can take.
List of values that IssuingCardType can take.
List of values that IssuingDisputeReason can take.
List of values that IssuingDisputeReason can take.
List of values that IssuingDisputeStatus can take.
List of values that IssuingDisputeStatus can take.
List of values that IssuingDisputeStatus can take.
List of values that IssuingDisputeStatus can take.
List of values that IssuingCardShippingStatus can take.
List of values that IssuingCardShippingStatus can take.
List of values that IssuingCardShippingStatus can take.
List of values that IssuingCardShippingStatus can take.
List of values that IssuingCardShippingStatus can take.
List of values that IssuingCardShippingStatus can take.
List of values that IssuingTransactionType can take.
List of values that IssuingTransactionType can take.
List of values that IssuingTransactionType can take.
List of values that IssuingTransactionType can take.
LevelDebug sets a logger to show informational messages or anything more severe.
LevelError sets a logger to show error messages only.
LevelInfo sets a logger to show informational messages or anything more severe.
LevelWarn sets a logger to show warning messages or anything more severe.
List of values that MandateStatus can take.
List of values that MandateStatus can take.
List of values that MandateStatus can take.
List of values that MandateStatus can take.
List of values that MandateStatus can take.
List of values that MandateType can take.
List of values that MandateType can take.
List of possible values for OAuth scopes.
List of possible values for OAuth scopes.
List of supported values for business type.
List of supported values for business type.
List of supported values for business type.
List of supported values for business type.
List of supported values for business type.
The gender of the person who will be filling out a Stripe application.
The gender of the person who will be filling out a Stripe application.
List of possible OAuthTokenType values.
List of values that OrderDeliveryEstimateType can take.
List of values that OrderDeliveryEstimateType can take.
List of values that OrderItemParentType can take.
List of values that OrderItemParentType can take.
List of values that OrderItemParentType can take.
List of values that OrderItemParentType can take.
List of values that OrderItemParentType can take.
List of values that OrderItemType can take.
List of values that OrderItemType can take.
List of values that OrderItemType can take.
List of values that OrderItemType can take.
List of values that OrderItemType can take.
List of values that OrderStatus can take.
List of values that OrderStatus can take.
List of values that OrderStatus can take.
List of values that OrderStatus can take.
List of values that OrderStatus can take.
List of values that PaymentIntentCancellationReason can take.
List of values that PaymentIntentCancellationReason can take.
List of values that PaymentIntentCancellationReason can take.
List of values that PaymentIntentCancellationReason can take.
List of values that PaymentIntentCancellationReason can take.
List of values that PaymentIntentCancellationReason can take.
List of values that PaymentIntentCancellationReason can take.
List of values that PaymentIntentCaptureMethod can take.
List of values that PaymentIntentCaptureMethod can take.
List of values that PaymentIntentConfirmationMethod can take.
List of values that PaymentIntentConfirmationMethod can take.
List of values that PaymentIntentNextActionType can take.
List of values that PaymentIntentOffSession can take.
List of values that PaymentIntentOffSession can take.
List of values that PaymentIntentPaymentMethodOptionsCardInstallmentsPlanInterval can take.
List of values that PaymentIntentPaymentMethodOptionsCardInstallmentsPlanType can take.
List of values that PaymentIntentNextActionType can take.
List of values that PaymentIntentNextActionType can take.
List of values that PaymentIntentSetupFutureUsage can take.
List of values that PaymentIntentSetupFutureUsage can take.
List of values that PaymentIntentStatus can take.
List of values that PaymentIntentStatus can take.
List of values that PaymentIntentStatus can take.
List of values that PaymentIntentStatus can take.
List of values that PaymentIntentStatus can take.
List of values that PaymentIntentStatus can take.
List of values that PaymentIntentStatus can take.
List of values that PaymentMethodCardBrand can take.
List of values that PaymentMethodCardBrand can take.
List of values that PaymentMethodCardBrand can take.
List of values that PaymentMethodCardBrand can take.
List of values that PaymentMethodCardBrand can take.
List of values that PaymentMethodCardBrand can take.
List of values that PaymentMethodCardBrand can take.
List of values that PaymentMethodCardBrand can take.
List of values that PaymentMethodCardNetwork can take.
List of values that PaymentMethodCardNetwork can take.
List of values that PaymentMethodCardNetwork can take.
List of values that PaymentMethodCardNetwork can take.
List of values that PaymentMethodCardNetwork can take.
List of values that PaymentMethodCardNetwork can take.
List of values that PaymentMethodCardNetwork can take.
List of values that PaymentMethodCardNetwork can take.
List of values that PaymentMethodCardNetwork can take.
List of values that PaymentMethodCardWalletType can take.
List of values that PaymentMethodCardWalletType can take.
List of values that PaymentMethodCardWalletType can take.
List of values that PaymentMethodCardWalletType can take.
List of values that PaymentMethodCardWalletType can take.
List of values that PaymentMethodCardWalletType can take.
List of values that PaymentMethodFPXAccountHolderType can take.
List of values that PaymentMethodFPXAccountHolderType can take.
List of values that PaymentMethodType can take.
List of values that PaymentMethodType can take.
List of values that PaymentMethodType can take.
List of values that PaymentMethodType can take.
List of values that PaymentMethodType can take.
List of values that PaymentMethodType can take.
List of values that PaymentSourceType can take.
List of values that PaymentSourceType can take.
List of values that PaymentSourceType can take.
List of values that PaymentSourceType can take.
List of values that PaymentSourceType can take.
List of values that PayoutDestinationType can take.
List of values that PayoutDestinationType can take.
List of values that PayoutFailureCode can take.
List of values that PayoutFailureCode can take.
List of values that PayoutFailureCode can take.
List of values that PayoutFailureCode can take.
List of values that PayoutFailureCode can take.
List of values that PayoutFailureCode can take.
List of values that PayoutFailureCode can take.
List of values that PayoutFailureCode can take.
List of values that PayoutFailureCode can take.
List of values that PayoutFailureCode can take.
List of values that PayoutInterval can take.
List of values that PayoutInterval can take.
List of values that PayoutInterval can take.
List of values that PayoutInterval can take.
List of values that PayoutMethodType can take.
List of values that PayoutMethodType can take.
List of values that PayoutSourceType can take.
List of values that PayoutSourceType can take.
List of values that PayoutSourceType can take.
List of values that PayoutSourceType can take.
List of values that PayoutStatus can take.
List of values that PayoutStatus can take.
List of values that PayoutStatus can take.
List of values that PayoutStatus can take.
List of values that PayoutStatus can take.
List of values that PayoutType can take.
List of values that PayoutType can take.
List of values that IdentityVerificationDetailsCode can take.
List of values that IdentityVerificationDetailsCode can take.
List of values that IdentityVerificationDetailsCode can take.
List of values that PlanAggregateUsage can take.
List of values that PlanAggregateUsage can take.
List of values that PlanAggregateUsage can take.
List of values that PlanAggregateUsage can take.
List of values that PlanBillingScheme can take.
List of values that PlanBillingScheme can take.
List of values that PlanInterval can take.
List of values that PlanInterval can take.
List of values that PlanInterval can take.
List of values that PlanInterval can take.
List of values that PlanTiersMode can take.
List of values that PlanTiersMode can take.
List of values that PlanTransformUsageRound can take.
List of values that PlanTransformUsageRound can take.
List of values that PlanUsageType can take.
List of values that PlanUsageType can take.
List of values that ProductType can take.
List of values that ProductType can take.
List of values that RadarEarlyFraudWarningFraudType can take.
List of values that RadarEarlyFraudWarningFraudType can take.
List of values that RadarEarlyFraudWarningFraudType can take.
List of values that RadarEarlyFraudWarningFraudType can take.
List of values that RadarEarlyFraudWarningFraudType can take.
List of values that RadarEarlyFraudWarningFraudType can take.
List of values that RadarEarlyFraudWarningFraudType can take.
List of values that RadarValueListItemType can take.
List of values that RadarValueListItemType can take.
List of values that RadarValueListItemType can take.
List of values that RadarValueListItemType can take.
List of values that RadarValueListItemType can take.
List of values that RadarValueListItemType can take.
List of values that RadarValueListItemType can take.
List of values that RecipientTransferDestinationType can take.
List of values that RecipientTransferDestinationType can take.
List of values that RecipientTransferFailureCode can take.
List of values that RecipientTransferFailureCode can take.
List of values that RecipientTransferFailureCode can take.
List of values that RecipientTransferFailureCode can take.
List of values that RecipientTransferFailureCode can take.
List of values that RecipientTransferFailureCode can take.
List of values that RecipientTransferFailureCode can take.
List of values that RecipientTransferFailureCode can take.
List of values that RecipientTransferFailureCode can take.
List of values that RecipientTransferFailureCode can take.
List of values that RecipientTransferMethodType can take.
List of values that RecipientTransferMethodType can take.
List of values that RecipientTransferSourceType can take.
List of values that RecipientTransferSourceType can take.
List of values that RecipientTransferSourceType can take.
List of values that RecipientTransferSourceType can take.
List of values that RecipientTransferStatus can take.
List of values that RecipientTransferStatus can take.
List of values that RecipientTransferStatus can take.
List of values that RecipientTransferStatus can take.
List of values that RecipientTransferType can take.
List of values that RecipientTransferType can take.
List of values that RecipientType can take.
List of values that RecipientType can take.
List of values that RefundFailureReason can take.
List of values that RefundFailureReason can take.
List of values that RefundFailureReason can take.
List of values that RefundReason can take.
List of values that RefundReason can take.
List of values that RefundReason can take.
List of values that RefundReason can take.
List of values that RefundStatus can take.
List of values that RefundStatus can take.
List of values that RefundStatus can take.
List of values that RefundStatus can take.
List of values that ReportRunStatus can take.
List of values that ReportRunStatus can take.
List of values that ReportRunStatus can take.
List of values that ReviewReasonType can take.
List of values that ReviewReasonType can take.
List of values that ReviewReasonType can take.
List of values that ReviewReasonType can take.
List of values that ReviewReasonType can take.
List of values that ReviewReasonType can take.
List of values that SetupIntentCancellationReason can take.
List of values that SetupIntentCancellationReason can take.
List of values that SetupIntentCancellationReason can take.
List of values that SetupIntentCancellationReason can take.
List of values that SetupIntentNextActionType can take.
List of values that SetupIntentNextActionType can take.
List of values that SetupIntentNextActionType can take.
List of values that SetupIntentStatus can take.
List of values that SetupIntentStatus can take.
List of values that SetupIntentStatus can take.
List of values that SetupIntentStatus can take.
List of values that SetupIntentStatus can take.
List of values that SetupIntentStatus can take.
List of values that SetupIntentUsage can take.
List of values that SetupIntentUsage can take.
List of values that SigmaScheduledQueryRunStatus can take.
List of values that SigmaScheduledQueryRunStatus can take.
List of values that SigmaScheduledQueryRunStatus can take.
List of values that SigmaScheduledQueryRunStatus can take.
List of values that SKUInventoryType can take.
List of values that SKUInventoryType can take.
List of values that SKUInventoryType can take.
List of values that SKUInventoryValue can take.
List of values that SKUInventoryValue can take.
List of values that SKUInventoryValue can take.
List of values that SourceCodeVerificationFlowStatus can take.
List of values that SourceCodeVerificationFlowStatus can take.
List of values that SourceCodeVerificationFlowStatus can take.
List of values that SourceFlow can take.
List of values that SourceFlow can take.
List of values that SourceFlow can take.
List of values that SourceFlow can take.
List of values that SourceMandateAcceptanceStatus can take.
List of values that SourceMandateAcceptanceStatus can take.
List of values that SourceMandateNotificationMethod can take.
List of values that SourceMandateNotificationMethod can take.
List of values that SourceMandateNotificationMethod can take.
List of values that SourceRedirectFlowFailureReason can take.
List of values that SourceRedirectFlowFailureReason can take.
List of values that SourceRedirectFlowFailureReason can take.
List of values that SourceRedirectFlowStatus can take.
List of values that SourceRedirectFlowStatus can take.
List of values that SourceRedirectFlowStatus can take.
List of values that SourceRedirectFlowStatus can take.
List of values that SourceRefundAttributesMethod can take.
List of values that SourceRefundAttributesMethod can take.
List of values that SourceRefundAttributesStatus can take.
List of values that SourceRefundAttributesStatus can take.
List of values that SourceRefundAttributesStatus can take.
The list of possible values for source order item types.
The list of possible values for source order item types.
The list of possible values for source order item types.
The list of possible values for source order item types.
List of values that SourceStatus can take.
List of values that SourceStatus can take.
List of values that SourceStatus can take.
List of values that SourceStatus can take.
List of values that SourceStatus can take.
List of values that SourceUsage can take.
List of values that SourceUsage can take.
Contains constants for the names of parameters used for pagination in list APIs.
List of values that SubscriptionCollectionMethod can take.
List of values that SubscriptionCollectionMethod can take.
List of values that SubscriptionPaymentBehavior can take.
List of values that SubscriptionPaymentBehavior can take.
List of values that SubscriptionPaymentBehavior can take.
List of values that SubscriptionPendingInvoiceItemIntervalInterval can take.
List of values that SubscriptionPendingInvoiceItemIntervalInterval can take.
List of values that SubscriptionPendingInvoiceItemIntervalInterval can take.
List of values that SubscriptionPendingInvoiceItemIntervalInterval can take.
List of values that SubscriptionScheduleEndBehavior can take.
List of values that SubscriptionScheduleEndBehavior can take.
List of values that SubscriptionScheduleStatus can take.
List of values that SubscriptionScheduleStatus can take.
List of values that SubscriptionScheduleStatus can take.
List of values that SubscriptionScheduleStatus can take.
List of values that SubscriptionScheduleStatus can take.
List of values that SubscriptionStatus can take.
List of values that SubscriptionStatus can take.
List of values that SubscriptionStatus can take.
List of values that SubscriptionStatus can take.
List of values that SubscriptionStatus can take.
List of values that SubscriptionStatus can take.
List of values that SubscriptionStatus can take.
List of values that SubscriptionStatus can take.
List of values that TaxIDType can take.
List of values that TaxIDType can take.
List of values that TaxIDType can take.
List of values that TaxIDType can take.
List of values that TaxIDType can take.
List of values that TaxIDType can take.
List of values that TaxIDType can take.
List of values that TaxIDType can take.
List of values that TaxIDType can take.
List of values that TaxIDDuration can take.
List of values that TaxIDDuration can take.
List of values that TaxIDDuration can take.
List of values that TaxIDDuration can take.
List of values that CardTokenizationMethod can take.
List of values that CardTokenizationMethod can take.
List of values that TokenType can take.
List of values that TokenType can take.
List of values that TokenType can take.
List of values that TokenType can take.
List of values that TransferSourceType can take.
List of values that TransferSourceType can take.
List of values that TransferSourceType can take.
List of values that TransferSourceType can take.
UnknownPlatform is the string returned as the system name if we couldn't get one from `uname`.
UploadsBackend is a constant representing the uploads service backend.
UploadsURL is the URL of the uploads service backend.
Possible values for the action parameter on usage record creation.
Possible values for the action parameter on usage record creation.
List of values that IdentityVerificationDetailsCode can take.
List of values that IdentityVerificationDetailsCode can take.
List of values that IdentityVerificationDetailsCode can take.
List of values that IdentityVerificationDetailsCode can take.
List of values that IdentityVerificationDetailsCode can take.
List of values that IdentityVerificationDetailsCode can take.
List of values that IdentityVerificationDetailsCode can take.
List of values that IdentityVerificationDetailsCode can take.
List of values that IdentityVerificationDetailsCode can take.
List of values that IdentityVerificationDetailsCode can take.
List of values that IdentityVerificationDetailsCode can take.
List of values that IdentityVerificationDetailsCode can take.
List of values that IdentityVerificationDetailsCode can take.
List of values that IdentityVerificationDetailsCode can take.

# Variables

DefaultLeveledLogger is the default logger that the library will use to log errors, warnings, and informational messages.
EnableTelemetry is a global override for enabling client telemetry, which sends request performance metrics to Stripe via the `X-Stripe-Client-Telemetry` header.
Key is the Stripe API key used globally in the binding.
Logger controls how stripe performs logging at a package level.
LogLevel is the logging level for this library.

# Structs

Account is the resource representing your Stripe account.
AccountAddress is the structure for an account address.
AccountAddressParams represents an address during account creation/updates.
AccountBusinessProfile represents optional information related to the business.
AccountBusinessProfileParams are the parameters allowed for an account's business information.
AccountCapabilities is the resource representing the capabilities enabled on that account.
AccountCompany represents details about the company or business associated with the account.
AccountCompanyParams are the parameters describing the company associated with the account.
AccountCompanyVerification represents details about a company's verification state.
AccountCompanyVerificationDocument represents details about a company's verification state.
AccountCompanyVerificationDocumentParams are the parameters allowed to pass for a document verifying a company.
AccountCompanyVerificationParams are the parameters allowed to verify a company.
AccountDeclineOn represents card charges decline behavior for that account.
AccountDeclineSettingsParams represents the parameters allowed for configuring card declines on connected accounts.
AccountExternalAccountParams are the parameters allowed to reference an external account when creating an account.
AccountLink is the resource representing an account link.
AccountLinkParams are the parameters allowed during an account link creation.
AccountList is a list of accounts as returned from a list endpoint.
AccountListParams are the parameters allowed during account listing.
AccountParams are the parameters allowed during account creation/updates.
AccountPayoutSchedule is the structure for an account's payout schedule.
AccountRejectParams is the structure for the Reject function.
AccountRequirements represents information that needs to be collected for an account.
AccountSettings represents options for customizing how the account functions within Stripe.
AccountSettingsBranding represents settings specific to the account's branding.
AccountSettingsBrandingParams represent allowed parameters to configure settings specific to the account’s branding.
AccountSettingsCardPayments represents settings specific to card charging on the account.
AccountSettingsCardPaymentsParams represent allowed parameters to configure settings specific to card charging on the account.
AccountSettingsDashboard represents settings specific to the account's Dashboard.
AccountSettingsDashboardParams represent allowed parameters to configure settings for the account's Dashboard.
AccountSettingsParams are the parameters allowed for the account's settings.
AccountSettingsPayments represents settings that apply across payment methods for charging on the account.
AccountSettingsPaymentsParams represent allowed parameters to configure settings across payment methods for charging on the account.
AccountSettingsPayouts represents settings specific to the account’s payouts.
AccountSettingsPayoutsParams represent allowed parameters to configure settings specific to the account’s payouts.
AccountTOSAcceptance represents status of acceptance of our terms of services for the account.
AccountTOSAcceptanceParams represents tos_acceptance during account creation/updates.
Address describes common properties for an Address hash.
AddressParams describes the common parameters for an Address.
Amount is a structure wrapping an amount value and its currency.
APIConnectionError is a failure to connect to the Stripe API.
APIError is a catch all for any errors not covered by other types (and should be extremely uncommon).
AppInfo contains information about the "app" which this integration belongs to.
ApplePayDomain is the resource representing a Stripe ApplePayDomain object.
ApplePayDomainList is a list of ApplePayDomains as returned from a list endpoint.
ApplePayDomainListParams are the parameters allowed during ApplePayDomain listing.
ApplePayDomainParams is the set of parameters that can be used when creating an ApplePayDomain object.
Application describes the properties for an Application.
ApplicationFee is the resource representing a Stripe application fee.
ApplicationFeeList is a list of application fees as retrieved from a list endpoint.
ApplicationFeeListParams is the set of parameters that can be used when listing application fees.
ApplicationFeeParams is the set of parameters that can be used when refunding an application fee.
AuthenticationError is a failure to properly authenticate during a request.
AuthorizationControlsParams is the set of parameters that can be used for the shipping parameter.
AuthorizeURLParams for creating OAuth AuthorizeURLs.
BackendConfig is used to configure a new Stripe backend.
BackendImplementation is the internal implementation for making HTTP calls to Stripe.
Backends are the currently supported endpoints.
Balance is the resource representing your Stripe balance.
BalanceParams is the set of parameters that can be used when retrieving a balance.
BalanceTransaction is the resource representing the balance transaction.
BalanceTransactionFee is a structure that breaks down the fees in a transaction.
BalanceTransactionList is a list of transactions as returned from a list endpoint.
BalanceTransactionListParams is the set of parameters that can be used when listing balance transactions.
BalanceTransactionParams is the set of parameters that can be used when retrieving a transaction.
BalanceTransactionSource describes the source of a balance Transaction.
BankAccount represents a Stripe bank account.
BankAccountList is a list object for bank accounts.
BankAccountListParams is the set of parameters that can be used when listing bank accounts.
BankAccountParams is the set of parameters that can be used when updating a bank account.
BillingDetails represents the billing details associated with a PaymentMethod.
BillingDetailsParams is the set of parameters that can be used as billing details when creating or updating a PaymentMethod.
BitcoinReceiver is the resource representing a Stripe bitcoin receiver.
BitcoinReceiverList is a list of bitcoin receivers as retrieved from a list endpoint.
BitcoinReceiverListParams is the set of parameters that can be used when listing BitcoinReceivers.
BitcoinTransaction is the resource representing a Stripe bitcoin transaction.
BitcoinTransactionList is a list object for BitcoinTransactions.
BitcoinTransactionListParams is the set of parameters that can be used when listing BitcoinTransactions.
Capability is the resource representing a Stripe capability.
CapabilityList is a list of capabilities as retrieved from a list endpoint.
CapabilityListParams is the set of parameters that can be used when listing capabilities.
CapabilityParams is the set of parameters that can be used when updating a capability.
CapabilityRequirements represents information that needs to be collected for a capability.
CaptureParams is the set of parameters that can be used when capturing a charge.
Card is the resource representing a Stripe credit/debit card.
CardError are the most common type of error you should expect to handle.
CardList is a list object for cards.
CardListParams is the set of parameters that can be used when listing cards.
CardParams is the set of parameters that can be used when creating or updating a card.
Charge is the resource representing a Stripe charge.
ChargeLevel3 represents the Level III data.
ChargeLevel3LineItem represents a line item on level III data.
ChargeLevel3LineItemsParams is the set of parameters that represent a line item on level III data.
ChargeLevel3Params is the set of parameters that can be used for the Level III data.
ChargeList is a list of charges as retrieved from a list endpoint.
ChargeListParams is the set of parameters that can be used when listing charges.
ChargeOutcome is the charge's outcome that details whether a payment was accepted and why.
ChargeOutcomeRule tells you the Radar rule that blocked the charge, if any.
ChargeParams is the set of parameters that can be used when creating or updating a charge.
ChargePaymentMethodDetails represents the details about the PaymentMethod associated with the charge.
ChargePaymentMethodDetailsAchCreditTransfer represents details about the ACH Credit Transfer PaymentMethod.
ChargePaymentMethodDetailsAchDebit represents details about the ACH Debit PaymentMethod.
ChargePaymentMethodDetailsAcssDebit represents details about the ACSS Debit PaymentMethod.
ChargePaymentMethodDetailsAlipay represents details about the Alipay PaymentMethod.
ChargePaymentMethodDetailsAUBECSDebit represents details about the AU BECS DD PaymentMethod.
ChargePaymentMethodDetailsBancontact represents details about the Bancontact PaymentMethod.
ChargePaymentMethodDetailsBitcoin represents details about the Bitcoin PaymentMethod.
ChargePaymentMethodDetailsCard represents details about the Card PaymentMethod.
ChargePaymentMethodDetailsCardChecks represents the checks associated with the charge's Card PaymentMethod.
ChargePaymentMethodDetailsCardInstallments represents details about the installment plan chosen for this charge.
ChargePaymentMethodDetailsCardPresent represents details about the Card Present PaymentMethod.
ChargePaymentMethodDetailsCardPresentReceipt represents details about the receipt on a Card Present PaymentMethod.
ChargePaymentMethodDetailsCardThreeDSecure represents details about 3DS associated with the charge's PaymentMethod.
ChargePaymentMethodDetailsCardWallet represents the details of the card wallet if this Card PaymentMethod is part of a card wallet.
ChargePaymentMethodDetailsCardWalletAmexExpressCheckout represents the details of the Amex Express Checkout wallet.
ChargePaymentMethodDetailsCardWalletApplePay represents the details of the Apple Pay wallet.
ChargePaymentMethodDetailsCardWalletGooglePay represents the details of the Google Pay wallet.
ChargePaymentMethodDetailsCardWalletMasterpass represents the details of the Masterpass wallet.
ChargePaymentMethodDetailsCardWalletSamsungPay represents the details of the Samsung Pay wallet.
ChargePaymentMethodDetailsCardWalletVisaCheckout represents the details of the Visa Checkout wallet.
ChargePaymentMethodDetailsEps represents details about the EPS PaymentMethod.
ChargePaymentMethodDetailsFPX represents details about the FPX PaymentMethod.
ChargePaymentMethodDetailsGiropay represents details about the Giropay PaymentMethod.
ChargePaymentMethodDetailsIdeal represents details about the Ideal PaymentMethod.
ChargePaymentMethodDetailsKlarna represents details for the Klarna PaymentMethod.
ChargePaymentMethodDetailsMultibanco represents details about the Multibanco PaymentMethod.
ChargePaymentMethodDetailsP24 represents details about the P24 PaymentMethod.
ChargePaymentMethodDetailsSepaDebit represents details about the Sepa Debit PaymentMethod.
ChargePaymentMethodDetailsSofort represents details about the Sofort PaymentMethod.
ChargePaymentMethodDetailsStripeAccount represents details about the StripeAccount PaymentMethod.
ChargePaymentMethodDetailsWechat represents details about the Wechat PaymentMethod.
ChargeTransferData represents the information for the transfer_data associated with a charge.
ChargeTransferDataParams is the set of parameters allowed for the transfer_data hash.
CheckoutSession is the resource representing a Stripe checkout session.
CheckoutSessionDisplayItem represents one of the items in a checkout session.
CheckoutSessionDisplayItemCustom represents an item of type custom in a checkout session.
CheckoutSessionLineItemParams is the set of parameters allowed for a line item on a checkout session.
CheckoutSessionParams is the set of parameters that can be used when creating a checkout session.
CheckoutSessionPaymentIntentDataParams is the set of parameters allowed for the payment intent creation on a checkout session.
CheckoutSessionPaymentIntentDataTransferDataParams is the set of parameters allowed for the transfer_data hash.
CheckoutSessionSetupIntentDataParams is the set of parameters allowed for the setup intent creation on a checkout session.
CheckoutSessionSubscriptionDataItemsParams is the set of parameters allowed for one item on a checkout session associated with a subscription.
CheckoutSessionSubscriptionDataParams is the set of parameters allowed for the subscription creation on a checkout session.
CodeVerificationFlow informs of the state of a verification authentication flow.
CountrySpec is the resource representing the rules required for a Stripe account.
CountrySpecList is a list of country specs as retrieved from a list endpoint.
CountrySpecListParams are the parameters allowed during CountrySpec listing.
CountrySpecParams are the parameters allowed during CountrySpec retrieval.
Coupon is the resource representing a Stripe coupon.
CouponList is a list of coupons as retrieved from a list endpoint.
CouponListParams is the set of parameters that can be used when listing coupons.
CouponParams is the set of parameters that can be used when creating a coupon.
CreditNote is the resource representing a Stripe credit note.
CreditNoteList is a list of credit notes as retrieved from a list endpoint.
CreditNoteListParams is the set of parameters that can be used when listing credit notes.
CreditNoteParams is the set of parameters that can be used when creating or updating a credit note.
CreditNotePreviewParams is the set of parameters that can be used when previewing a credit note.
CreditNoteVoidParams is the set of parameters that can be used when voiding invoices.
Customer is the resource representing a Stripe customer.
CustomerBalanceTransaction is the resource representing a customer balance transaction.
CustomerBalanceTransactionList is a list of customer balance transactions as retrieved from a list endpoint.
CustomerBalanceTransactionListParams is the set of parameters that can be used when listing customer balance transactions.
CustomerBalanceTransactionParams is the set of parameters that can be used when creating or updating a customer balance transactions.
CustomerInvoiceCustomField represents a custom field associated with the customer's invoices.
CustomerInvoiceCustomFieldParams represents the parameters associated with one custom field on the customer's invoices.
CustomerInvoiceSettings is the structure containing the default settings for invoices associated with this customer.
CustomerInvoiceSettingsParams is the structure containing the default settings for invoices associated with this customer.
CustomerList is a list of customers as retrieved from a list endpoint.
CustomerListParams is the set of parameters that can be used when listing customers.
CustomerParams is the set of parameters that can be used when creating or updating a customer.
CustomerShippingDetails is the structure containing shipping information.
CustomerShippingDetailsParams is the structure containing shipping information.
CustomerSourceParams are used to manipulate a given Stripe Customer object's payment sources.
CustomerTaxIDDataParams lets you pass the tax id details associated with a Customer.
Deauthorize is the value of the return from deauthorizing.
DeauthorizeParams for deauthorizing an account.
DeliveryEstimate represent the properties available for a shipping method's estimated delivery.
DestinationParams describes the parameters available for the destination hash when creating a charge.
Discount is the resource representing a Stripe discount.
DiscountParams is the set of parameters that can be used when deleting a discount.
Dispute is the resource representing a Stripe dispute.
DisputeEvidence is the structure that contains various details about the evidence submitted for the dispute.
DisputeEvidenceParams is the set of parameters that can be used when submitting evidence for disputes.
DisputeList is a list of disputes as retrieved from a list endpoint.
DisputeListParams is the set of parameters that can be used when listing disputes.
DisputeParams is the set of parameters that can be used when updating a dispute.
DOB represents a Person's date of birth.
DOBParams represents a DOB during account creation/updates.
EphemeralKey is the resource representing a Stripe ephemeral key.
EphemeralKeyParams is the set of parameters that can be used when creating an ephemeral key.
Error is the response returned when a call is unsuccessful.
Event is the resource representing a Stripe event.
EventData is the unmarshalled object as a map.
EventList is a list of events as retrieved from a list endpoint.
EventListParams is the set of parameters that can be used when listing events.
EventParams is the set of parameters that can be used when retrieving events.
EventRequest contains information on a request that created an event.
EvidenceDetails is the structure representing more details about the dispute.
ExchangeRate is the resource representing the currency exchange rates at a given time.
ExchangeRateList is a list of exchange rates as retrieved from a list endpoint.
ExchangeRateListParams are the parameters allowed during ExchangeRate listing.
ExchangeRateParams is the set of parameters that can be used when retrieving exchange rates.
ExternalAccount is an external account (a bank account or card) that's attached to an account.
ExternalAccountList is a list of external accounts that may be either bank accounts or cards.
ExtraValues are extra parameters that are attached to an API request.
FeeRefund is the resource representing a Stripe application fee refund.
FeeRefundList is a list object for application fee refunds.
FeeRefundListParams is the set of parameters that can be used when listing application fee refunds.
FeeRefundParams is the set of parameters that can be used when refunding an application fee.
File is the resource representing a Stripe file.
FileFileLinkDataParams is the set of parameters allowed for the file_link_data hash.
FileLink is the resource representing a Stripe file link.
FileLinkList is a list of file links as retrieved from a list endpoint.
FileLinkListParams is the set of parameters that can be used when listing file links.
FileLinkParams is the set of parameters that can be used when creating or updating a file link.
FileList is a list of files as retrieved from a list endpoint.
FileListParams is the set of parameters that can be used when listing files.
FileParams is the set of parameters that can be used when creating a file.
Filters is a structure that contains a collection of filters for list-related APIs.
FraudDetails is the structure detailing fraud status.
FraudDetailsParams provides information on the fraud details for a charge.
InvalidRequestError is an error that occurs when a request contains invalid parameters.
Inventory represents the inventory options of a SKU.
InventoryParams is the set of parameters allowed as inventory on a SKU.
Invoice is the resource representing a Stripe invoice.
InvoiceCustomerTaxID is a structure representing a customer tax id on an invoice.
InvoiceCustomField is a structure representing a custom field on an invoice.
InvoiceCustomFieldParams represents the parameters associated with one custom field on an invoice.
InvoiceFinalizeParams is the set of parameters that can be used when finalizing invoices.
InvoiceItem is the resource represneting a Stripe invoice item.
InvoiceItemList is a list of invoice items as retrieved from a list endpoint.
InvoiceItemListParams is the set of parameters that can be used when listing invoice items.
InvoiceItemParams is the set of parameters that can be used when creating or updating an invoice item.
InvoiceItemPeriodParams represents the period associated with that invoice item.
InvoiceLine is the resource representing a Stripe invoice line item.
InvoiceLineList is a list object for invoice line items.
InvoiceLineListParams is the set of parameters that can be used when listing invoice line items.
InvoiceList is a list of invoices as retrieved from a list endpoint.
InvoiceListParams is the set of parameters that can be used when listing invoices.
InvoiceMarkUncollectibleParams is the set of parameters that can be used when marking invoices as uncollectible.
InvoiceParams is the set of parameters that can be used when creating or updating an invoice.
InvoicePayParams is the set of parameters that can be used when paying invoices.
InvoiceSendParams is the set of parameters that can be used when sending invoices.
InvoiceStatusTransitions are the timestamps at which the invoice status was updated.
InvoiceTaxAmount is a structure representing one of the tax amounts on an invoice.
InvoiceThresholdReason is a structure representing a reason for a billing threshold.
InvoiceThresholdReasonItemReason is a structure representing the line items that triggered an invoice.
InvoiceTransferData represents the information for the transfer_data associated with an invoice.
InvoiceTransferDataParams is the set of parameters allowed for the transfer_data hash.
InvoiceUpcomingInvoiceItemParams is the set of parameters that can be used when adding or modifying invoice items on an upcoming invoice.
InvoiceUpcomingInvoiceItemPeriodParams represents the period associated with that invoice item.
InvoiceVoidParams is the set of parameters that can be used when voiding invoices.
IssuingAuthorization is the resource representing a Stripe issuing authorization.
IssuingAuthorizationAuthorizationControls is the resource representing authorization controls on an issuing authorization.
IssuingAuthorizationControlsSpendingLimits is the resource representing spending limits associated with a card or cardholder.
IssuingAuthorizationControlsSpendingLimitsParams is the set of parameters that can be used for the spending limits associated with a given issuing card or cardholder.
IssuingAuthorizationList is a list of issuing authorizations as retrieved from a list endpoint.
IssuingAuthorizationListParams is the set of parameters that can be used when listing issuing authorizations.
IssuingAuthorizationParams is the set of parameters that can be used when updating an issuing authorization.
IssuingAuthorizationRequestHistory is the resource representing a request history on an issuing authorization.
IssuingAuthorizationRequestHistoryViolatedAuthorizationControl is the resource representing an authorizaton control that caused the authorization to fail.
IssuingAuthorizationVerificationData is the resource representing verification data on an issuing authorization.
IssuingBilling is the resource representing the billing hash with the Issuing APIs.
IssuingBillingParams is the set of parameters that can be used for billing with the Issuing APIs.
IssuingCard is the resource representing a Stripe issuing card.
IssuingCardAuthorizationControls is the resource representing authorization controls on an issuing card.
IssuingCardDetails is the resource representing issuing card details.
IssuingCardholder is the resource representing a Stripe issuing cardholder.
IssuingCardholderCompany represents additional information about a business_entity cardholder.
IssuingCardholderCompanyParams represents additional information about a `business_entity` cardholder.
IssuingCardholderIndividual represents additional information about an individual cardholder.
IssuingCardholderIndividualDOB represents the date of birth of the issuing card hoder individual.
IssuingCardholderIndividualDOBParams represents the date of birth of the cardholder individual.
IssuingCardholderIndividualParams represents additional information about an `individual` cardholder.
IssuingCardholderIndividualVerification represents the Government-issued ID document for this cardholder.
IssuingCardholderIndividualVerificationDocument represents an identifying document, either a passport or local ID card.
IssuingCardholderIndividualVerificationDocumentParams represents an identifying document, either a passport or local ID card.
IssuingCardholderIndividualVerificationParams represents government-issued ID document for this cardholder.
IssuingCardholderList is a list of issuing cardholders as retrieved from a list endpoint.
IssuingCardholderListParams is the set of parameters that can be used when listing issuing cardholders.
IssuingCardholderParams is the set of parameters that can be used when creating or updating an issuing cardholder.
IssuingCardholderRequirements contains the verification requirements for the cardholder.
IssuingCardList is a list of issuing cards as retrieved from a list endpoint.
IssuingCardListParams is the set of parameters that can be used when listing issuing cards.
IssuingCardParams is the set of parameters that can be used when creating or updating an issuing card.
IssuingCardPIN contains data about the Card's PIN.
IssuingCardShipping is the resource representing shipping on an issuing card.
IssuingCardShippingParams is the set of parameters that can be used for the shipping parameter.
IssuingDispute is the resource representing an issuing dispute.
IssuingDisputeEvidence is the resource representing evidence on an issuing dispute.
IssuingDisputeEvidenceFraudulent is the resource representing the evidence hash on an issuing dispute with the reason set as fraudulent.
IssuingDisputeEvidenceFraudulentParams is the subset of parameters that can be sent as evidence for an issuing dispute with the reason set as fraudulent.
IssuingDisputeEvidenceOther is the resource representing the evidence hash on an issuing dispute with the reason set as other.
IssuingDisputeEvidenceOtherParams is the subset of parameters that can be sent as evidence for an issuing dispute with the reason set as other.
IssuingDisputeEvidenceParams is the set of parameters that can be sent as evidence for an issuing dispute.
IssuingDisputeList is a list of issuing disputes as retrieved from a list endpoint.
IssuingDisputeListParams is the set of parameters that can be used when listing issuing dispute.
IssuingDisputeParams is the set of parameters that can be used when creating or updating an issuing dispute.
IssuingMerchantData is the resource representing merchant data on Issuing APIs.
IssuingTransaction is the resource representing a Stripe issuing transaction.
IssuingTransactionList is a list of issuing transactions as retrieved from a list endpoint.
IssuingTransactionListParams is the set of parameters that can be used when listing issuing transactions.
IssuingTransactionParams is the set of parameters that can be used when creating or updating an issuing transaction.
Iter provides a convenient interface for iterating over the elements returned from paginated list API calls.
LeveledLogger is a leveled logger implementation.
ListMeta is the structure that contains the common properties of List iterators.
ListParams is the structure that contains the common properties of any *ListParams structure.
LoginLink is the resource representing a login link for Express accounts.
LoginLinkParams is the set of parameters that can be used when creating a login_link.
Mandate is the resource representing a Mandate.
MandateCustomerAcceptance represents details about the customer acceptance for a mandate.
MandateCustomerAcceptanceOffline represents details about the customer acceptance of an offline mandate.
MandateCustomerAcceptanceOnline represents details about the customer acceptance of an online mandate.
MandateMultiUse represents details about a multi-use mandate.
MandateParams is the set of parameters that can be used when retrieving a mandate.
MandatePaymentMethodDetails represents details about the payment method associated with this mandate.
MandatePaymentMethodDetailsAUBECSDebit represents details about the Australia BECS debit account associated with this mandate.
MandatePaymentMethodDetailsCard represents details about the card associated with this mandate.
MandatePaymentMethodDetailsSepaDebit represents details about the SEPA debit bank account associated with this mandate.
MandateSingleUse represents details about a single-use mandate.
OAuthStripeUserParams for the stripe_user OAuth Authorize params.
OAuthToken is the value of the OAuthToken from OAuth flow.
OAuthTokenParams is the set of paramaters that can be used to request OAuthTokens.
Order is the resource representing a Stripe charge.
OrderItem is the resource representing an order item.
OrderItemParams is the set of parameters describing an order item on order creation or update.
OrderItemParent describes the parent of an order item.
OrderList is a list of orders as retrieved from a list endpoint.
OrderListParams is the set of parameters that can be used when listing orders.
OrderParams is the set of parameters that can be used when creating an order.
OrderPayParams is the set of parameters that can be used when paying orders.
OrderReturn is the resource representing an order return.
OrderReturnList is a list of order returns as retrieved from a list endpoint.
OrderReturnListParams is the set of parameters that can be used when listing order returns.
OrderReturnParams is the set of parameters that can be used when returning orders.
OrderUpdateParams is the set of parameters that can be used when updating an order.
OrderUpdateShippingParams is the set of parameters that can be used for the shipping hash on order update.
PackageDimensions represents the dimension of a product or a SKU from the perspective of shipping.
PackageDimensionsParams represents the set of parameters for the the dimension of a product or a SKU from the perspective of shipping .
Params is the structure that contains the common properties of any *Params structure.
PaymentIntent is the resource representing a Stripe payout.
PaymentIntentCancelParams is the set of parameters that can be used when canceling a payment intent.
PaymentIntentCaptureParams is the set of parameters that can be used when capturing a payment intent.
PaymentIntentConfirmParams is the set of parameters that can be used when confirming a payment intent.
PaymentIntentList is a list of payment intents as retrieved from a list endpoint.
PaymentIntentListParams is the set of parameters that can be used when listing payment intents.
PaymentIntentMandateDataCustomerAcceptanceOfflineParams is the set of parameters for the customer acceptance of an offline mandate.
PaymentIntentMandateDataCustomerAcceptanceOnlineParams is the set of parameters for the customer acceptance of an online mandate.
PaymentIntentMandateDataCustomerAcceptanceParams is the set of parameters for the customer acceptance of a mandate.
PaymentIntentMandateDataParams is the set of parameters controlling the creation of the mandate associated with this PaymentIntent.
PaymentIntentNextAction represents the type of action to take on a payment intent.
PaymentIntentNextActionRedirectToURL represents the resource for the next action of type "redirect_to_url".
PaymentIntentParams is the set of parameters that can be used when handling a payment intent.
PaymentIntentPaymentMethodOptions is the set of payment method-specific options associated with that payment intent.
PaymentIntentPaymentMethodOptionsCard is the set of card-specific options associated with that payment intent.
PaymentIntentPaymentMethodOptionsCardInstallments describe the installment options available for a card associated with that payment intent.
PaymentIntentPaymentMethodOptionsCardInstallmentsParams controls whether to enable installment plans for this payment intent.
PaymentIntentPaymentMethodOptionsCardInstallmentsPlan describe a specific card installment plan.
PaymentIntentPaymentMethodOptionsCardInstallmentsPlanParams represents details about the installment plan chosen for this payment intent.
PaymentIntentPaymentMethodOptionsCardParams represents the card-specific options applied to a PaymentIntent.
PaymentIntentPaymentMethodOptionsParams represents the type-specific payment method options applied to a PaymentIntent.
PaymentIntentTransferData represents the information for the transfer associated with a payment intent.
PaymentIntentTransferDataParams is the set of parameters allowed for the transfer hash.
PaymentMethod is the resource representing a PaymentMethod.
PaymentMethodAttachParams is the set of parameters that can be used when attaching a PaymentMethod to a Customer.
PaymentMethodAUBECSDebit represents AUBECSDebit-specific properties (Australia Only).
PaymentMethodAUBECSDebitParams is the set of parameters allowed for the `AUBECSDebit` hash when creating a PaymentMethod of type AUBECSDebit.
PaymentMethodCard represents the card-specific properties.
PaymentMethodCardChecks represents the checks associated with a Card PaymentMethod.
PaymentMethodCardParams is the set of parameters allowed for the `card` hash when creating a PaymentMethod of type card.
PaymentMethodCardPresent represents the card-present-specific properties.
PaymentMethodCardThreeDSecureUsage represents the 3DS usage for that Card PaymentMethod.
PaymentMethodCardWallet represents the details of the card wallet if this Card PaymentMethod is part of a card wallet.
PaymentMethodDetachParams is the set of parameters that can be used when detaching a PaymentMethod.
PaymentMethodFPX represents FPX-specific properties (Malaysia Only).
PaymentMethodFPXParams is the set of parameters allowed for the `fpx` hash when creating a PaymentMethod of type fpx.
PaymentMethodIdeal represents the iDEAL-specific properties.
PaymentMethodIdealParams is the set of parameters allowed for the `ideal` hash when creating a PaymentMethod of type ideal.
PaymentMethodList is a list of PaymentMethods as retrieved from a list endpoint.
PaymentMethodListParams is the set of parameters that can be used when listing PaymentMethods.
PaymentMethodParams is the set of parameters that can be used when creating or updating a PaymentMethod.
PaymentMethodSepaDebit represents the SEPA-debit-specific properties.
PaymentMethodSepaDebitParams is the set of parameters allowed for the `sepa_debit` hash when creating a PaymentMethod of type sepa_debit.
PaymentSource describes the payment source used to make a Charge.
Payout is the resource representing a Stripe payout.
PayoutDestination describes the destination of a Payout.
PayoutList is a list of payouts as retrieved from a list endpoint.
PayoutListParams is the set of parameters that can be used when listing payouts.
PayoutParams is the set of parameters that can be used when creating or updating a payout.
PayoutScheduleParams are the parameters allowed for payout schedules.
Period is a structure representing a start and end dates.
PermissionError results when you attempt to make an API request for which your API key doesn't have the right permissions.
Person is the resource representing a Stripe person.
PersonList is a list of persons as retrieved from a list endpoint.
PersonListParams is the set of parameters that can be used when listing persons.
PersonParams is the set of parameters that can be used when creating or updating a person.
PersonVerification is the structure for a person's verification details.
PersonVerificationDocument represents the documents associated with a Person.
PersonVerificationDocumentParams represents the parameters available for the document verifying a person's identity.
PersonVerificationParams is used to represent parameters associated with a person's verification details.
PIIParams are parameters for personal identifiable information (PII).
Plan is the resource representing a Stripe plan.
PlanList is a list of plans as returned from a list endpoint.
PlanListParams is the set of parameters that can be used when listing plans.
PlanParams is the set of parameters that can be used when creating or updating a plan.
PlanProductParams is the set of parameters that can be used when creating a product inside a plan This can only be used on plan creation and won't work on plan update.
PlanTier configures tiered pricing.
PlanTierParams configures tiered pricing.
PlanTransformUsage represents the bucket billing configuration.
PlanTransformUsageParams represents the bucket billing configuration.
Product is the resource representing a Stripe product.
ProductList is a list of products as retrieved from a list endpoint.
ProductListParams is the set of parameters that can be used when listing products.
ProductParams is the set of parameters that can be used when creating or updating a product.
RadarEarlyFraudWarning is the resource representing an early fraud warning.
RadarEarlyFraudWarningList is a list of early fraud warnings as retrieved from a list endpoint.
RadarEarlyFraudWarningListParams is the set of parameters that can be used when listing early fraud warnings.
RadarEarlyFraudWarningParams is the set of parameters that can be used when retrieving early fraud warnings.
RadarValueList is the resource representing a value list.
RadarValueListItem is the resource representing a value list item.
RadarValueListItemList is a list of value list items as retrieved from a list endpoint.
RadarValueListItemListParams is the set of parameters that can be used when listing value list items.
RadarValueListItemParams is the set of parameters that can be used when creating a value list item.
RadarValueListList is a list of value lists as retrieved from a list endpoint.
RadarValueListListParams is the set of parameters that can be used when listing value lists.
RadarValueListParams is the set of parameters that can be used when creating a value list.
RangeQueryParams are a set of generic request parameters that are used on list endpoints to filter their results by some timestamp.
RateLimitError occurs when the Stripe API is hit to with too many requests too quickly and indicates that the current request has been rate limited.
ReceiverFlow informs of the state of a receiver authentication flow.
Recipient is the resource representing a Stripe recipient.
RecipientList is a list of recipients as retrieved from a list endpoint.
RecipientListParams is the set of parameters that can be used when listing recipients.
RecipientParams is the set of parameters that can be used when creating or updating recipients.
RecipientTransfer is the resource representing a Stripe recipient_transfer.
RecipientTransferDestination describes the destination of a RecipientTransfer.
RedirectFlow informs of the state of a redirect authentication flow.
RedirectParams is the set of parameters allowed for the redirect hash on source creation or update.
Refund is the resource representing a Stripe refund.
RefundList is a list object for refunds.
RefundListParams is the set of parameters that can be used when listing refunds.
RefundParams is the set of parameters that can be used when refunding a charge.
Relationship represents how the Person relates to the business.
RelationshipListParams is used to filter persons by the relationship.
RelationshipParams is used to set the relationship between an account and a person.
ReportRun is the resource representing a report run.
ReportRunList is a list of report runs as retrieved from a list endpoint.
ReportRunListParams is the set of parameters that can be used when listing report runs.
ReportRunParameters describes the parameters hash on a report run.
ReportRunParametersParams is the set of parameters that can be used when creating a report run.
ReportRunParams is the set of parameters that can be used when creating a report run.
ReportType is the resource representing a report type.
ReportTypeList is a list of report types as retrieved from a list endpoint.
ReportTypeListParams is the set of parameters that can be used when listing report types.
ReportTypeParams is the set of parameters that can be used when retrieving a report type.
Requirements represents what's missing to verify a Person.
Reversal represents a transfer reversal.
ReversalList is a list of object for reversals.
ReversalListParams is the set of parameters that can be used when listing reversals.
ReversalParams is the set of parameters that can be used when reversing a transfer.
Review is the resource representing a Radar review.
ReviewApproveParams is the set of parameters that can be used when approving a review.
ReviewList is a list of reviews as retrieved from a list endpoint.
ReviewListParams is the set of parameters that can be used when listing reviews.
ReviewParams is the set of parameters that can be used when approving a review.
SetupIntent is the resource representing a Stripe payout.
SetupIntentCancelParams is the set of parameters that can be used when canceling a setup intent.
SetupIntentConfirmParams is the set of parameters that can be used when confirming a setup intent.
SetupIntentList is a list of setup intents as retrieved from a list endpoint.
SetupIntentListParams is the set of parameters that can be used when listing setup intents.
SetupIntentMandateDataCustomerAcceptanceOfflineParams is the set of parameters for the customer acceptance of an offline mandate.
SetupIntentMandateDataCustomerAcceptanceOnlineParams is the set of parameters for the customer acceptance of an online mandate.
SetupIntentMandateDataCustomerAcceptanceParams is the set of parameters for the customer acceptance of a mandate.
SetupIntentMandateDataParams is the set of parameters controlling the creation of the mandate associated with this SetupIntent.
SetupIntentNextAction represents the type of action to take on a setup intent.
SetupIntentNextActionRedirectToURL represents the resource for the next action of type "redirect_to_url".
SetupIntentParams is the set of parameters that can be used when handling a setup intent.
SetupIntentPaymentMethodOptions represents the type-specific payment method options applied to a SetupIntent.
SetupIntentPaymentMethodOptionsCard represents the card-specific options applied to a SetupIntent.
SetupIntentPaymentMethodOptionsCardParams represents the card-specific options applied to a SetupIntent.
SetupIntentPaymentMethodOptionsParams represents the type-specific payment method options applied to a SetupIntent.
SetupIntentSingleUseParams represents the single-use mandate-specific parameters.
Shipping describes the shipping hash on an order.
ShippingDetails is the structure containing shipping information.
ShippingDetailsParams is the structure containing shipping information as parameters.
ShippingMethod describes a shipping method as available on an order.
ShippingParams is the set of parameters that can be used for the shipping hash on order creation.
SigmaScheduledQueryRun is the resource representing a scheduled query run.
SigmaScheduledQueryRunList is a list of scheduled query runs as retrieved from a list endpoint.
SigmaScheduledQueryRunListParams is the set of parameters that can be used when listing scheduled query runs.
SigmaScheduledQueryRunParams is the set of parameters that can be used when updating a scheduled query run.
SKU is the resource representing a SKU.
SKUList is a list of SKUs as returned from a list endpoint.
SKUListParams is the set of parameters that can be used when listing SKUs.
SKUParams is the set of parameters allowed on SKU creation or update.
Source is the resource representing a Source.
SourceList is a list object for cards.
SourceListParams are used to enumerate the payment sources that are attached to a Customer.
SourceMandate describes a source mandate.
SourceMandateAcceptance describes a source mandate acceptance state.
SourceMandateAcceptanceOfflineParams describes the set of parameters for offline accepted mandate.
SourceMandateAcceptanceOnlineParams describes the set of parameters for online accepted mandate.
SourceMandateAcceptanceParams describes the set of parameters allowed for the `acceptance` hash on source creation or update.
SourceMandateParams describes the set of parameters allowed for the `mandate` hash on source creation or update.
SourceObjectDetachParams is the set of parameters that can be used when detaching a source from a customer.
SourceObjectParams is the set of parameters allowed on source creation or update.
SourceOrderItemsParams is the set of parameters allowed for the items on a source order for a source.
SourceOrderParams is the set of parameters allowed for the source order of a source.
SourceOwner describes the owner hash on a source.
SourceOwnerParams is the set of parameters allowed for the owner hash on source creation or update.
SourceParams is a union struct used to describe an arbitrary payment source.
SourceReceiverParams is the set of parameters allowed for the `receiver` hash on source creation or update.
SourceSourceOrder describes a source order for a source.
SourceSourceOrderItems describes the items on source orders for sources.
SourceTransaction is the resource representing a Stripe source transaction.
SourceTransactionList is a list object for SourceTransactions.
SourceTransactionListParams is the set of parameters that can be used when listing SourceTransactions.
SourceVerifyParams are used to verify a customer source For more details see https://stripe.com/docs/guides/ach-beta.
StatusTransitions are the timestamps at which the order status was updated.
StatusTransitionsFilterParams are parameters that can used to filter on status_transition when listing orders.
Subscription is the resource representing a Stripe subscription.
SubscriptionBillingThresholds is a structure representing the billing thresholds for a subscription.
SubscriptionBillingThresholdsParams is a structure representing the parameters allowed to control billing thresholds for a subscription.
SubscriptionCancelParams is the set of parameters that can be used when canceling a subscription.
SubscriptionItem is the resource representing a Stripe subscription item.
SubscriptionItemBillingThresholds is a structure representing the billing thresholds for a subscription item.
SubscriptionItemBillingThresholdsParams is a structure representing the parameters allowed to control billing thresholds for a subscription item.
SubscriptionItemList is a list of invoice items as retrieved from a list endpoint.
SubscriptionItemListParams is the set of parameters that can be used when listing invoice items.
SubscriptionItemParams is the set of parameters that can be used when creating or updating a subscription item.
SubscriptionItemsParams is the set of parameters that can be used when creating or updating a subscription item on a subscription For more details see https://stripe.com/docs/api#create_subscription and https://stripe.com/docs/api#update_subscription.
SubscriptionList is a list object for subscriptions.
SubscriptionListParams is the set of parameters that can be used when listing active subscriptions.
SubscriptionParams is the set of parameters that can be used when creating or updating a subscription.
SubscriptionPendingInvoiceItemInterval represents the interval at which to invoice pending invoice items.
SubscriptionPendingInvoiceItemIntervalParams is the set of parameters allowed for the transfer_data hash.
SubscriptionSchedule is the resource representing a Stripe subscription schedule.
SubscriptionScheduleCancelParams is the set of parameters that can be used when canceling a subscription schedule.
SubscriptionScheduleCurrentPhase is a structure the current phase's period.
SubscriptionScheduleDefaultSettings is a structure representing the subscription schedule’s default settings.
SubscriptionScheduleDefaultSettingsParams is the set of parameters representing the subscription schedule’s default settings.
SubscriptionScheduleInvoiceSettings is a structure representing the settings applied to invoices associated with a subscription schedule.
SubscriptionScheduleInvoiceSettingsParams is a structure representing the parameters allowed to control invoice settings on invoices associated with a subscription schedule.
SubscriptionScheduleList is a list object for subscription schedules.
SubscriptionScheduleListParams is the set of parameters that can be used when listing subscription schedules.
SubscriptionScheduleParams is the set of parameters that can be used when creating or updating a subscription schedule.
SubscriptionSchedulePhase is a structure a phase of a subscription schedule.
SubscriptionSchedulePhaseItem represents plan details for a given phase.
SubscriptionSchedulePhaseItemParams is a structure representing the parameters allowed to control a specic plan on a phase on a subscription schedule.
SubscriptionSchedulePhaseParams is a structure representing the parameters allowed to control a phase on a subscription schedule.
SubscriptionScheduleReleaseParams is the set of parameters that can be used when releasing a subscription schedule.
SubscriptionScheduleRenewalInterval represents the interval and duration of a schedule.
SubscriptionTransferData represents the information for the transfer_data associated with a subscription.
SubscriptionTransferDataParams is the set of parameters allowed for the transfer_data hash.
TaxID is the resource representing a customer's tax id.
TaxIDList is a list of tax ids as retrieved from a list endpoint.
TaxIDListParams is the set of parameters that can be used when listing tax ids.
TaxIDParams is the set of parameters that can be used when creating a tax id.
TaxIDVerification represents the verification details of a customer's tax id.
TaxRate is the resource representing a Stripe tax rate.
TaxRateList is a list of tax rates as retrieved from a list endpoint.
TaxRateListParams is the set of parameters that can be used when listing tax rates.
TaxRateParams is the set of parameters that can be used when creating a tax rate.
TaxRatePercentageRangeQueryParams are used to filter tax rates by specific percentage values.
TerminalConnectionToken is the resource representing a Stripe terminal connection token.
TerminalConnectionTokenParams is the set of parameters that can be used when creating a terminal connection token.
TerminalLocation is the resource representing a Stripe terminal location.
TerminalLocationList is a list of terminal readers as retrieved from a list endpoint.
TerminalLocationListParams is the set of parameters that can be used when listing temrinal locations.
TerminalLocationParams is the set of parameters that can be used when creating or updating a terminal location.
TerminalReader is the resource representing a Stripe terminal reader.
TerminalReaderGetParams is the set of parameters that can be used to get a terminal reader.
TerminalReaderList is a list of terminal readers as retrieved from a list endpoint.
TerminalReaderListParams is the set of parameters that can be used when listing temrinal readers.
TerminalReaderParams is the set of parameters that can be used for creating or updating a terminal reader.
ThreeDSecure is the resource representing a Stripe 3DS object For more details see https://stripe.com/docs/api#three_d_secure.
ThreeDSecureParams is the set of parameters that can be used when creating a 3DS object.
Token is the resource representing a Stripe token.
TokenParams is the set of parameters that can be used when creating a token.
Topup is the resource representing a Stripe top-up.
TopupList is a list of top-ups as retrieved from a list endpoint.
TopupListParams is the set of parameters that can be used when listing top-ups.
TopupParams is the set of parameters that can be used when creating or updating a top-up.
Transfer is the resource representing a Stripe transfer.
TransferDestination describes the destination of a Transfer.
TransferList is a list of transfers as retrieved from a list endpoint.
TransferListParams is the set of parameters that can be used when listing transfers.
TransferParams is the set of parameters that can be used when creating or updating a transfer.
UsageRecord represents a usage record.
UsageRecordParams create a usage record for a specified subscription item and date, and fills it with a quantity.
UsageRecordSummary represents a usage record summary.
UsageRecordSummaryList is a list of usage record summaries as retrieved from a list endpoint.
UsageRecordSummaryListParams is the set of parameters that can be used when listing charges.
VerificationFieldsList lists the fields needed for an account verification.
WebhookEndpoint is the resource representing a Stripe webhook endpoint.
WebhookEndpointList is a list of webhook endpoints as retrieved from a list endpoint.
WebhookEndpointListParams is the set of parameters that can be used when listing webhook endpoints.
WebhookEndpointParams is the set of parameters that can be used when creating a webhook endpoint.

# Interfaces

Backend is an interface for making calls against a Stripe service.
LeveledLoggerInterface provides a basic leveled logging interface for printing debug, informational, warning, and error messages.
ListParamsContainer is a general interface for which all list parameter structs should comply.
ParamsContainer is a general interface for which all parameter structs should comply.
Printfer is an interface to be implemented by Logger.

# Type aliases

AccountBusinessType describes the business type associated with an account.
AccountCapability maps to a given capability for an account.
AccountCapabilityStatus is the status a given capability can have.
AccountCompanyVerificationDocumentDetailsCode is a machine-readable code specifying the verification state of a document associated with a company.
AccountLinkCollect describes what information the platform wants to collect with the account link.
AccountLinkType is the type of an account link.
AccountRejectReason describes the valid reason to reject an account.
AccountRequirementsDisabledReason describes why an account is disabled.
AccountType is the type of an account.
BalanceTransactionSourceType consts represent valid balance transaction sources.
BalanceTransactionStatus is the list of allowed values for the balance transaction's status.
BalanceTransactionType is the list of allowed values for the balance transaction's type.
BankAccountAccountHolderType is the list of allowed values for the bank account holder type.
BankAccountStatus is the list of allowed values for the bank account's status.
CapabilityDisabledReason describes why a capability is disabled.
CapabilityStatus describes the different statuses for a capability's status.
CardAvailablePayoutMethod is a set of available payout methods for the card.
CardBrand is the list of allowed values for the card's brand.
CardFunding is the list of allowed values for the card's funding.
CardTokenizationMethod is the list of allowed values for the card's tokenization method.
CardVerification is the list of allowed verification responses.
ChargeFraudStripeReport is the list of allowed values for reporting fraud.
ChargeFraudUserReport is the list of allowed values for reporting fraud.
ChargePaymentMethodDetailsType is the type of the PaymentMethod associated with the Charge's payment method details.
CheckoutSessionDisplayItemType is the list of allowed values for the display item type.
CheckoutSessionMode is the list of allowed values for the mode on a Session.
CheckoutSessionSubmitType is the list of allowed values for the `submit_type` of a Session.
Country is the list of supported countries.
CouponDuration is the list of allowed values for the coupon's duration.
CreditNoteReason is the reason why a given credit note was created.
CreditNoteStatus is the list of allowed values for the credit note's status.
CreditNoteType is the list of allowed values for the credit note's type.
Currency is the list of supported currencies.
CustomerBalanceTransactionType is the list of allowed values for the customer's balance transaction type.
CustomerTaxExempt is the type of tax exemption associated with a customer.
DeclineCode is the list of reasons provided by card issuers for decline of payment.
DisputeReason is the list of allowed values for a discount's reason.
DisputeStatus is the list of allowed values for a discount's status.
ErrorCode is the list of allowed values for the error's code.
ErrorType is the list of allowed values for the error's type.
ExternalAccountType is the type of an external account.
FilePurpose is the purpose of a particular file.
IdentityVerificationStatus describes the different statuses for identity verification.
InvoiceBillingReason is the reason why a given invoice was created.
InvoiceCollectionMethod is the type of collection method for this invoice.
InvoiceLineType is the list of allowed values for the invoice line's type.
InvoiceStatus is the reason why a given invoice was created.
IssuingAuthorizationAuthorizationMethod is the list of possible values for the authorization method on an issuing authorization.
IssuingAuthorizationRequestHistoryReason is the list of possible values for the request history reason on an issuing authorization.
IssuingAuthorizationRequestHistoryViolatedAuthorizationControlEntity is the list of possible values for the entity that owns the authorization control.
IssuingAuthorizationRequestHistoryViolatedAuthorizationControlName is the list of possible values for the name associated with the authorization control.
IssuingAuthorizationStatus is the possible values for status for an issuing authorization.
IssuingAuthorizationVerificationDataAuthentication is the list of possible values for the result of an authentication on an issuing authorization.
IssuingAuthorizationVerificationDataCheck is the list of possible values for result of a check for verification data on an issuing authorization.
IssuingAuthorizationWalletProviderType is the list of possible values for the authorization's wallet provider.
IssuingCardholderRequirementsDisabledReason is the possible values for the disabled reason on an issuing cardholder.
IssuingCardholderStatus is the possible values for status on an issuing cardholder.
IssuingCardholderType is the type of an issuing cardholder.
IssuingCardPINStatus is the list of possible values for the status field of a Card PIN.
IssuingCardReplacementReason is the list of possible values for the replacement reason on an issuing card.
IssuingCardShippingStatus is the list of possible values for the shipping status on an issuing card.
IssuingCardShippingType is the list of possible values for the shipping type on an issuing card.
IssuingCardStatus is the list of possible values for status on an issuing card.
IssuingCardType is the type of an issuing card.
IssuingDisputeReason is the list of possible values for status on an issuing dispute.
IssuingDisputeStatus is the list of possible values for status on an issuing dispute.
IssuingSpendingLimitInterval is the list of possible values for the interval of a given spending limit on an issuing card or cardholder.
IssuingTransactionType is the type of an issuing transaction.
Level represents a logging level.
MandateCustomerAcceptanceType is the list of allowed values for the type of customer acceptance for a given mandate..
MandateStatus is the list of allowed values for the mandate status.
MandateType is the list of allowed values for the mandate type.
OAuthScopeType is the type of OAuth scope.
OAuthStripeUserBusinessType is the business type for the Stripe oauth user.
OAuthStripeUserGender of the person who will be filling out a Stripe application.
OAuthTokenType is the type of token.
OrderDeliveryEstimateType represents the type of delivery estimate for shipping methods.
OrderItemParentType represents the type of order item parent.
OrderItemType represents the type of order item.
OrderStatus represents the statuses of an order object.
PaymentIntentCancellationReason is the list of allowed values for the cancelation reason.
PaymentIntentCaptureMethod is the list of allowed values for the capture method.
PaymentIntentConfirmationMethod is the list of allowed values for the confirmation method.
PaymentIntentNextActionType is the list of allowed values for the next action's type.
PaymentIntentOffSession is the list of allowed values for types of off-session.
PaymentIntentPaymentMethodOptionsCardInstallmentsPlanInterval is the interval of a card installment plan.
PaymentIntentPaymentMethodOptionsCardInstallmentsPlanType is the type of a card installment plan.
PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure is the list of allowed valuescontrolling when to request 3D Secure on a PaymentIntent.
PaymentIntentSetupFutureUsage is the list of allowed values for SetupFutureUsage.
PaymentIntentStatus is the list of allowed values for the payment intent's status.
PaymentMethodCardBrand is the list of allowed values for the brand property on a Card PaymentMethod.
PaymentMethodCardNetwork is the list of allowed values to represent the network used for a card-like transaction.
PaymentMethodCardWalletType is the list of allowed values for the type a wallet can take on a Card PaymentMethod.
PaymentMethodFPXAccountHolderType is a list of string values that FPX AccountHolderType accepts.
PaymentMethodType is the list of allowed values for the payment method type.
PaymentSourceType consts represent valid payment sources.
PayoutDestinationType consts represent valid payout destinations.
PayoutFailureCode is the list of allowed values for the payout's failure code.
PayoutInterval describes the payout interval.
PayoutMethodType represents the type of payout.
PayoutSourceType is the list of allowed values for the payout's source_type field.
PayoutStatus is the list of allowed values for the payout's status.
PayoutType is the list of allowed values for the payout's type.
PersonVerificationDetailsCode is a machine-readable code specifying the verification state of a person.
PlanAggregateUsage is the list of allowed values for a plan's aggregate usage.
PlanBillingScheme is the list of allowed values for a plan's billing scheme.
PlanInterval is the list of allowed values for a plan's interval.
PlanTiersMode is the list of allowed values for a plan's tiers mode.
PlanTransformUsageRound is the list of allowed values for a plan's transform usage round logic.
PlanUsageType is the list of allowed values for a plan's usage type.
ProductType is the type of a product.
Query is the function used to get a page listing.
RadarEarlyFraudWarningFraudType are strings that map to the type of fraud labelled by the issuer.
RadarValueListItemType is the possible values for a type of value list items.
RecipientTransferDestinationType consts represent valid recipient_transfer destinations.
RecipientTransferFailureCode is the list of allowed values for the recipient_transfer's failure code.
RecipientTransferMethodType represents the type of recipient_transfer.
RecipientTransferSourceType is the list of allowed values for the recipient_transfer's source_type field.
RecipientTransferStatus is the list of allowed values for the recipient_transfer's status.
RecipientTransferType is the list of allowed values for the recipient_transfer's type.
RecipientType is the list of allowed values for the recipient's type.
RefundFailureReason is, if set, the reason the refund failed.
RefundReason is, if set, the reason the refund is being made.
RefundStatus is the status of the refund.
ReportRunStatus is the possible values for status on a report run.
ReviewReasonType describes the reason why the review is open or closed.
SetupIntentCancellationReason is the list of allowed values for the cancelation reason.
SetupIntentNextActionType is the list of allowed values for the next action's type.
SetupIntentPaymentMethodOptionsCardRequestThreeDSecure is the list of allowed values controlling when to request 3D Secure on a SetupIntent.
SetupIntentStatus is the list of allowed values for the setup intent's status.
SetupIntentUsage is the list of allowed values for the setup intent's usage.
SigmaScheduledQueryRunStatus is the possible values for status for a scheduled query run.
SKUInventoryType describe's the possible value for inventory type.
SKUInventoryValue describe's the possible value for inventory value.
SourceCodeVerificationFlowStatus represents the possible statuses of a code verification flow.
SourceFlow represents the possible flows of a source object.
SourceMandateAcceptanceStatus represents the possible failure reasons of a redirect flow.
SourceMandateNotificationMethod represents the possible methods of notification for a mandate.
SourceRedirectFlowFailureReason represents the possible failure reasons of a redirect flow.
SourceRedirectFlowStatus represents the possible statuses of a redirect flow.
SourceRefundAttributesMethod are the possible method to retrieve a receiver's refund attributes.
SourceRefundAttributesStatus are the possible status of a receiver's refund attributes.
SourceSourceOrderItemType describes the type of source order items on source orders for sources.
SourceStatus represents the possible statuses of a source object.
SourceUsage represents the possible usages of a source object.
SubscriptionCollectionMethod is the type of collection method for this subscription's invoices.
SubscriptionPaymentBehavior lets you control the behavior of subscription creation in case of a failed payment.
SubscriptionPendingInvoiceItemIntervalInterval controls the interval at which pending invoice items should be invoiced.
SubscriptionScheduleEndBehavior describe what happens to a schedule when it ends.
SubscriptionScheduleStatus is the list of allowed values for the schedule's status.
SubscriptionStatus is the list of allowed values for the subscription's status.
SupportedBackend is an enumeration of supported Stripe endpoints.
TaxIDType is the list of allowed values for the tax id's type..
TaxIDVerificationStatus is the list of allowed values for the tax id's verification status..
ThreeDSecureStatus represents the possible statuses of a ThreeDSecure object.
TokenType is the list of allowed values for a token's type.
TransferSourceType is the list of allowed values for the transfer's source_type field.
VerificationDocumentDetailsCode is a machine-readable code specifying the verification state of a document associated with a person.