package
1.25.0
Repository: https://github.com/stripe/stripe-cli.git
Documentation: pkg.go.dev

# Functions

BuildV1RequestData transforms the v2 post data into v1 post request param shape.
BuildDataForV2Request encodes the parameters for the API request.
GetPluginData returns the plugin download information.
IsAPIKeyExpiredError returns true if the provided error was caused by a request returning an `api_key_expired` error code.
SignRequest takes the http request and signs the request to send to Stripe.
WebhookEndpointCreate creates a new webhook endpoint.
WebhookEndpointsList returns all the webhook endpoints on a users' account.
WebhookEndpointsListWithClient returns all the webhook endpoints on a users' account.

# Constants

StripeVersionHeaderValue is the api version header value.

# Structs

Base encapsulates the required information needed to make requests to the API.
PluginData contains the plugin download information.
RequestError captures the response of the request that resulted in an error.
RequestParameters captures the structure of the parameters that can be sent to Stripe.
TracedTransport is an http.RoundTripper that keeps track of the in-flight request and implements hooks to report HTTP tracing events this is a different RoundTripper implementation to stripe.verboseTransport and is not designed for Stripe API requests.
WebhookEndpoint contains the data for each webhook endpoint.
WebhookEndpointList contains the list of webhook endpoints for the account.