authorization

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 authorization provides the /issuing/authorizations APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Capture

Capture a test-mode authorization.

func Expire

Expire a test-mode Authorization.

func FinalizeAmount

Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount.

func Increment

Increment a test-mode Authorization.

func New

Create a test-mode authorization.

func Respond added in v81.1.0

Respond to a fraud challenge on a testmode Issuing authorization, simulating either a confirmation of fraud or a correction of legitimacy.

func Reverse

Reverse a test-mode Authorization.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /issuing/authorizations APIs.

func (Client) Capture

Capture a test-mode authorization.

func (Client) Expire

Expire a test-mode Authorization.

func (Client) FinalizeAmount

Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount.

func (Client) Increment

Increment a test-mode Authorization.

func (Client) New

Create a test-mode authorization.

func (Client) Respond added in v81.1.0

Respond to a fraud challenge on a testmode Issuing authorization, simulating either a confirmation of fraud or a correction of legitimacy.

func (Client) Reverse

Reverse a test-mode Authorization.

Jump to

Keyboard shortcuts

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