balance

package
v79.0.0-...-280c9b4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package balance provides the /balance APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(params *stripe.BalanceParams) (*stripe.Balance, error)

Retrieves the current account balance, based on the authentication that was used to make the request.

For a sample request, see [Accounting for negative balances](https://stripe.com/docs/connect/account-balances#accounting-for-negative-balances).

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /balance APIs.

func (Client) Get

func (c Client) Get(params *stripe.BalanceParams) (*stripe.Balance, error)

Retrieves the current account balance, based on the authentication that was used to make the request.

For a sample request, see [Accounting for negative balances](https://stripe.com/docs/connect/account-balances#accounting-for-negative-balances).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL