Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultAPIBaseURL = "https://api.stripe.com"
DefaultAPIBaseURL is the default base URL for API requests
View Source
const DefaultDashboardBaseURL = "https://dashboard.stripe.com"
DefaultDashboardBaseURL is the default base URL for dashboard requests
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// The base URL (protocol + hostname) used for all requests sent by this
// client.
BaseURL *url.URL
// API key used to authenticate requests sent by this client. If left
// empty, the `Authorization` header will be omitted.
APIKey string
// When this is enabled, request and response headers will be printed to
// stdout.
Verbose bool
// contains filtered or unexported fields
}
Client is the API client used to sent requests to Stripe.
Click to show internal directories.
Click to hide internal directories.