stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetOrdersId

Description

Contains the different functions to run the operation getOrdersId

Synopsis

Documentation

getOrdersId Source #

Arguments

:: forall m. MonadHTTP m 
=> GetOrdersIdParameters

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

-> ClientT m (Response GetOrdersIdResponse)

Monadic computation which returns the result of the operation

GET /v1/orders/{id}

<p>Retrieves the details of an existing order. Supply the unique order ID from either an order creation request or the order list, and Stripe will return the corresponding order information.</p>

data GetOrdersIdParameters Source #

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

Constructors

GetOrdersIdParameters 

Fields

data GetOrdersIdResponse Source #

Represents a response of the operation getOrdersId.

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), GetOrdersIdResponseError is used.

Constructors

GetOrdersIdResponseError String

Means either no matching case available or a parse error

GetOrdersIdResponse200 Order

Successful response.

GetOrdersIdResponseDefault Error

Error response.