Documentation ¶
Overview ¶
Package balance provides the /balance APIs
Index ¶
Constants ¶
View Source
const ( TxAvailable stripe.TransactionStatus = "available" TxPending stripe.TransactionStatus = "pending" TxCharge stripe.TransactionType = "charge" TxRefund stripe.TransactionType = "refund" TxAdjust stripe.TransactionType = "adjustment" TxAppFee stripe.TransactionType = "application_fee" TxFeeRefund stripe.TransactionType = "application_fee_refund" TxTransfer stripe.TransactionType = "transfer" TxTransferCancel stripe.TransactionType = "transfer_cancel" TxTransferFail stripe.TransactionType = "transfer_failure" )
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(params *stripe.BalanceParams) (*stripe.Balance, error)
Get returns the details of your balance. For more details see https://stripe.com/docs/api#retrieve_balance.
func GetTx ¶
GetTx returns the details of a balance transaction. For more details see https://stripe.com/docs/api#retrieve_balance_transaction.
Types ¶
type Iter ¶
Iter is an iterator for lists of Transactions. The embedded Iter carries methods with it; see its documentation for details.
func List ¶
func List(params *stripe.TxListParams) *Iter
List returns a list of balance transactions. For more details see https://stripe.com/docs/api#balance_history.
func (*Iter) Transaction ¶
func (i *Iter) Transaction() *stripe.Transaction
Charge returns the most recent Transaction visited by a call to Next.
Click to show internal directories.
Click to hide internal directories.