Documentation
¶
Overview ¶
Package stripego makes stripe integration easy in go
Index ¶
- func CancelPaymentIntent(sk, paymentIntentID string) (piRes *stripe.PaymentIntent, err error)
- func CreatePaymentIntent(sk string, piReq stripe.PaymentIntentParams) (piRes *stripe.PaymentIntent, err error)
- func GetBalanceTx(sk, bTxID string) (txn *stripe.BalanceTransaction, err error)
- func TransferBalance(sk string, tp *stripe.TransferParams) (tRes *stripe.Transfer, err error)
- func UpdateAmountPaymentIntent(sk, paymentIntentID string, newAmount int64) (piRes *stripe.PaymentIntent, err error)
- func UpdateMethodPaymentIntent(sk, paymentIntentID string, pm *stripe.PaymentMethod) (piRes *stripe.PaymentIntent, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CancelPaymentIntent ¶
CancelPaymentIntent - cancel an existing PaymentIntent object in stripe
func CreatePaymentIntent ¶
func CreatePaymentIntent(sk string, piReq stripe.PaymentIntentParams) (piRes *stripe.PaymentIntent, err error)
CreatePaymentIntent - create a new PaymentIntent object in stripe
func GetBalanceTx ¶ added in v0.1.2
GetBalanceTx - get details of a balance transaction in Stripe
func TransferBalance ¶
TransferBalance - transfer balance to a connected Stripe account
func UpdateAmountPaymentIntent ¶
func UpdateAmountPaymentIntent(sk, paymentIntentID string, newAmount int64) (piRes *stripe.PaymentIntent, err error)
UpdateAmountPaymentIntent - update the amount of an existing PaymentIntent object in stripe
func UpdateMethodPaymentIntent ¶
func UpdateMethodPaymentIntent(sk, paymentIntentID string, pm *stripe.PaymentMethod) (piRes *stripe.PaymentIntent, err error)
UpdateMethodPaymentIntent - update the payment method of an existing PaymentIntent object in stripe
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.