stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.Issuing_Authorization

Description

Contains the types generated from the schema Issuing_Authorization

Synopsis

Documentation

data Issuing'authorization Source #

Defines the object schema located at components.schemas.issuing.authorization in the specification.

When an issued card is used to make a purchase, an Issuing `Authorization` object is created. Authorizations must be approved for the purchase to be completed successfully.

Related guide: Issued Card Authorizations.

Constructors

Issuing'authorization 

Fields

data Issuing'authorizationAmountDetails' Source #

Defines the object schema located at components.schemas.issuing.authorization.properties.amount_details.anyOf in the specification.

Detailed breakdown of amount components. These amounts are denominated in \`currency\` and in the smallest currency unit.

Constructors

Issuing'authorizationAmountDetails' 

Fields

data Issuing'authorizationAuthorizationMethod' Source #

Defines the enum schema located at components.schemas.issuing.authorization.properties.authorization_method in the specification.

How the card details were provided.

Constructors

Issuing'authorizationAuthorizationMethod'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

Issuing'authorizationAuthorizationMethod'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

Issuing'authorizationAuthorizationMethod'EnumChip

Represents the JSON value "chip"

Issuing'authorizationAuthorizationMethod'EnumContactless

Represents the JSON value "contactless"

Issuing'authorizationAuthorizationMethod'EnumKeyedIn

Represents the JSON value "keyed_in"

Issuing'authorizationAuthorizationMethod'EnumOnline

Represents the JSON value "online"

Issuing'authorizationAuthorizationMethod'EnumSwipe

Represents the JSON value "swipe"

data Issuing'authorizationCardholder'Variants Source #

Defines the oneOf schema located at components.schemas.issuing.authorization.properties.cardholder.anyOf in the specification.

The cardholder to whom this authorization belongs.

data Issuing'authorizationPendingRequest' Source #

Defines the object schema located at components.schemas.issuing.authorization.properties.pending_request.anyOf in the specification.

The pending authorization request. This field will only be non-null during an \`issuing_authorization.request\` webhook.

Constructors

Issuing'authorizationPendingRequest' 

Fields

data Issuing'authorizationPendingRequest'AmountDetails' Source #

Defines the object schema located at components.schemas.issuing.authorization.properties.pending_request.anyOf.properties.amount_details.anyOf in the specification.

Detailed breakdown of amount components. These amounts are denominated in \`currency\` and in the smallest currency unit.

Constructors

Issuing'authorizationPendingRequest'AmountDetails' 

Fields

Instances

Instances details
Eq Issuing'authorizationPendingRequest'AmountDetails' Source # 
Instance details

Defined in StripeAPI.Types.Issuing_Authorization

Show Issuing'authorizationPendingRequest'AmountDetails' Source # 
Instance details

Defined in StripeAPI.Types.Issuing_Authorization

ToJSON Issuing'authorizationPendingRequest'AmountDetails' Source # 
Instance details

Defined in StripeAPI.Types.Issuing_Authorization

FromJSON Issuing'authorizationPendingRequest'AmountDetails' Source # 
Instance details

Defined in StripeAPI.Types.Issuing_Authorization

data Issuing'authorizationStatus' Source #

Defines the enum schema located at components.schemas.issuing.authorization.properties.status in the specification.

The current status of the authorization in its lifecycle.

Constructors

Issuing'authorizationStatus'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

Issuing'authorizationStatus'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

Issuing'authorizationStatus'EnumClosed

Represents the JSON value "closed"

Issuing'authorizationStatus'EnumPending

Represents the JSON value "pending"

Issuing'authorizationStatus'EnumReversed

Represents the JSON value "reversed"