stripeapi-1.0.0.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetCreditNotesId

Description

Contains the different functions to run the operation getCreditNotesId

Synopsis

Documentation

getCreditNotesId Source #

Arguments

:: forall m. MonadHTTP m 
=> GetCreditNotesIdParameters

Contains all available parameters of this operation (query and path parameters)

-> StripeT m (Response GetCreditNotesIdResponse)

Monadic computation which returns the result of the operation

GET /v1/credit_notes/{id}

<p>Retrieves the credit note object with the given identifier.</p>

data GetCreditNotesIdParameters Source #

Defines the object schema located at paths./v1/credit_notes/{id}.GET.parameters in the specification.

Constructors

GetCreditNotesIdParameters 

Fields

data GetCreditNotesIdResponse Source #

Represents a response of the operation getCreditNotesId.

The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), GetCreditNotesIdResponseError is used.

Constructors

GetCreditNotesIdResponseError String

Means either no matching case available or a parse error

GetCreditNotesIdResponse200 CreditNote

Successful response.

GetCreditNotesIdResponseDefault Error

Error response.