stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction

Description

Contains the different functions to run the operation postCustomersCustomerBalanceTransactionsTransaction

Synopsis

Documentation

postCustomersCustomerBalanceTransactionsTransaction Source #

Arguments

:: (MonadHTTP m, SecurityScheme s) 
=> Configuration s

The configuration to use in the request

-> String

customer | Constraints: Maximum length of 5000

-> String

transaction | Constraints: Maximum length of 5000

-> PostCustomersCustomerBalanceTransactionsTransactionRequestBody

The request body to send

-> m (Either HttpException (Response PostCustomersCustomerBalanceTransactionsTransactionResponse))

Monad containing the result of the operation

POST /v1/customers/{customer}/balance_transactions/{transaction}

<p>Most customer balance transaction fields are immutable, but you may update its <code>description</code> and <code>metadata</code>.</p>

data PostCustomersCustomerBalanceTransactionsTransactionRequestBody Source #

Defines the data type for the schema postCustomersCustomerBalanceTransactionsTransactionRequestBody

Constructors

PostCustomersCustomerBalanceTransactionsTransactionRequestBody 

Fields

Instances
Eq PostCustomersCustomerBalanceTransactionsTransactionRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction

Show PostCustomersCustomerBalanceTransactionsTransactionRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction

ToJSON PostCustomersCustomerBalanceTransactionsTransactionRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction

FromJSON PostCustomersCustomerBalanceTransactionsTransactionRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction

data PostCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata' Source #

Defines the data type for the schema postCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata'

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.

Instances
Eq PostCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction

Show PostCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction

ToJSON PostCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction

FromJSON PostCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction

data PostCustomersCustomerBalanceTransactionsTransactionResponse Source #

Represents a response of the operation postCustomersCustomerBalanceTransactionsTransaction.

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