Stripe client for cash balance API.
// 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 cashbalance provides the /v1/customers/{customer}/cash_balance APIs
package cashbalance
import (
"fmt"
"net/http"
stripe "github.com/stripe/stripe-go/v87"
)
// Client is used to invoke /v1/customers/{customer}/cash_balance 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
}
// Retrieves a customer's cash balance.
func Get(params *stripe.CashBalanceParams
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key