Documentation ¶
Overview ¶
Package payout provides the /payouts APIs
Index ¶
- func Cancel(id string, params *stripe.PayoutParams) (*stripe.Payout, error)
- func Get(id string, params *stripe.PayoutParams) (*stripe.Payout, error)
- func New(params *stripe.PayoutParams) (*stripe.Payout, error)
- func Update(id string, params *stripe.PayoutParams) (*stripe.Payout, error)
- type Client
- func (c Client) Cancel(id string, params *stripe.PayoutParams) (*stripe.Payout, error)
- func (c Client) Get(id string, params *stripe.PayoutParams) (*stripe.Payout, error)
- func (c Client) List(params *stripe.PayoutListParams) *Iter
- func (c Client) New(params *stripe.PayoutParams) (*stripe.Payout, error)
- func (c Client) Update(id string, params *stripe.PayoutParams) (*stripe.Payout, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cancel ¶
Cancel cancels a pending payout. For more details see https://stripe.com/docs/api#cancel_payout.
func Get ¶
Get returns the details of a payout. For more details see https://stripe.com/docs/api#retrieve_payout.
func New ¶
func New(params *stripe.PayoutParams) (*stripe.Payout, error)
New POSTs a new payout. For more details see https://stripe.com/docs/api#create_payout.
func Update ¶
Update updates a payout's properties. For more details see https://stripe.com/docs/api#update_payout.
Types ¶
type Iter ¶
Iter is an iterator for lists of Payouts. The embedded Iter carries methods with it; see its documentation for details.
func List ¶
func List(params *stripe.PayoutListParams) *Iter
List returns a list of payouts. For more details see https://stripe.com/docs/api#list_payouts.
Click to show internal directories.
Click to hide internal directories.