New (shippingrate/client.go)

stripe-go · shippingrate/client.go · go · MIT
integration

File generated from our OpenAPI spec Package shippingrate provides the /v1/shipping_rates APIs

// Source: https://github.com/stripe/stripe-go | License: MIT | Copyright 2014- Stripe, Inc. (https://stripe.com)
// Provided via justclaw.it.com; keep this notice with the code.
//
//
// File generated from our OpenAPI spec
//
//

// Package shippingrate provides the /v1/shipping_rates APIs
package shippingrate

import (
	"net/http"

	stripe "github.com/stripe/stripe-go/v87"
	"github.com/stripe/stripe-go/v87/form"
)

// Client is used to invoke /v1/shipping_rates APIs.
// Deprecated: Use [stripe.Client] instead. See the [migration guide] for more info.
//
// [migration guide]: https://github.com/stripe/stripe-go/wiki/Migration-guide-for-Stripe-Client
type Client struct {
	B   stripe.Backend
	Key string
}

// Creates a new shipping rate object.
func New(params *stripe.ShippingRateParams) (

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key