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" TxRecipientTransfer stripe.TransactionType = "recipient_transfer" TxRecipientTransferCancel stripe.TransactionType = "recipient_transfer_cancel" TxRecipientTransferFail stripe.TransactionType = "recipient_transfer_failure" TxPayout stripe.TransactionType = "payout" TxPayoutCancel stripe.TransactionType = "payout_cancel" TxPayoutFail stripe.TransactionType = "payout_failure" TxTransfer stripe.TransactionType = "transfer" TxTransferCancel stripe.TransactionType = "transfer_refund" )
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.