outboundpayment

package
v81.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package outboundpayment provides the /treasury/outbound_payments APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fail

Transitions a test mode created OutboundPayment to the failed status. The OutboundPayment must already be in the processing state.

func Post

Transitions a test mode created OutboundPayment to the posted status. The OutboundPayment must already be in the processing state.

func ReturnOutboundPayment

Transitions a test mode created OutboundPayment to the returned status. The OutboundPayment must already be in the processing state.

func Update

Updates a test mode created OutboundPayment with tracking details. The OutboundPayment must not be cancelable, and cannot be in the canceled or failed states.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /treasury/outbound_payments APIs.

func (Client) Fail

Transitions a test mode created OutboundPayment to the failed status. The OutboundPayment must already be in the processing state.

func (Client) Post

Transitions a test mode created OutboundPayment to the posted status. The OutboundPayment must already be in the processing state.

func (Client) ReturnOutboundPayment

Transitions a test mode created OutboundPayment to the returned status. The OutboundPayment must already be in the processing state.

func (Client) Update

Updates a test mode created OutboundPayment with tracking details. The OutboundPayment must not be cancelable, and cannot be in the canceled or failed states.

Jump to

Keyboard shortcuts

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