Documentation ¶
Overview ¶
Package authorization provides the /issuing/authorizations APIs
Index ¶
- func Approve(id string, params *stripe.IssuingAuthorizationApproveParams) (*stripe.IssuingAuthorization, error)
- func Decline(id string, params *stripe.IssuingAuthorizationDeclineParams) (*stripe.IssuingAuthorization, error)
- func Get(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
- func Update(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
- type Client
- func (c Client) Approve(id string, params *stripe.IssuingAuthorizationApproveParams) (*stripe.IssuingAuthorization, error)
- func (c Client) Decline(id string, params *stripe.IssuingAuthorizationDeclineParams) (*stripe.IssuingAuthorization, error)
- func (c Client) Get(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
- func (c Client) List(listParams *stripe.IssuingAuthorizationListParams) *Iter
- func (c Client) Update(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Approve ¶
func Approve(id string, params *stripe.IssuingAuthorizationApproveParams) (*stripe.IssuingAuthorization, error)
[Deprecated] Approves a pending Issuing Authorization object. This request should be made within the timeout window of the [real-time authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations) flow. This method is deprecated. Instead, [respond directly to the webhook request to approve an authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling). Deprecated:
func Decline ¶
func Decline(id string, params *stripe.IssuingAuthorizationDeclineParams) (*stripe.IssuingAuthorization, error)
[Deprecated] Declines a pending Issuing Authorization object. This request should be made within the timeout window of the [real time authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations) flow. This method is deprecated. Instead, [respond directly to the webhook request to decline an authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling). Deprecated:
func Get ¶
func Get(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
Retrieves an Issuing Authorization object.
func Update ¶
func Update(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
Updates the specified Issuing Authorization object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Types ¶
type Client ¶
Client is used to invoke /issuing/authorizations APIs.
func (Client) Approve ¶
func (c Client) Approve(id string, params *stripe.IssuingAuthorizationApproveParams) (*stripe.IssuingAuthorization, error)
[Deprecated] Approves a pending Issuing Authorization object. This request should be made within the timeout window of the [real-time authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations) flow. This method is deprecated. Instead, [respond directly to the webhook request to approve an authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling). Deprecated:
func (Client) Decline ¶
func (c Client) Decline(id string, params *stripe.IssuingAuthorizationDeclineParams) (*stripe.IssuingAuthorization, error)
[Deprecated] Declines a pending Issuing Authorization object. This request should be made within the timeout window of the [real time authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations) flow. This method is deprecated. Instead, [respond directly to the webhook request to decline an authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling). Deprecated:
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
Retrieves an Issuing Authorization object.
func (Client) List ¶
func (c Client) List(listParams *stripe.IssuingAuthorizationListParams) *Iter
Returns a list of Issuing Authorization objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
Updates the specified Issuing Authorization object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
type Iter ¶
Iter is an iterator for issuing authorizations.
func List ¶
func List(params *stripe.IssuingAuthorizationListParams) *Iter
Returns a list of Issuing Authorization objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
func (*Iter) IssuingAuthorization ¶
func (i *Iter) IssuingAuthorization() *stripe.IssuingAuthorization
IssuingAuthorization returns the issuing authorization which the iterator is currently pointing to.
func (*Iter) IssuingAuthorizationList ¶
func (i *Iter) IssuingAuthorizationList() *stripe.IssuingAuthorizationList
IssuingAuthorizationList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.