HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulestripeapi-3.0.0.0Haskell2010

StripeAPI.Operations.PostCustomersCustomerSourcesId

Contains the different functions to run the operation postCustomersCustomerSourcesId

  • 17 types
  • 9 values
  • Packagestripeapi-3.0.0.0
  • Exports26
  • LanguageHaskell2010
  • LicenceMIT
  • SourcePostCustomersCustomerSourcesId.hs

Defines the object schema located at paths./v1/customers/{customer}/sources/{id}.POST.parameters in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/customers/{customer}/sources/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at paths./v1/customers/{customer}/sources/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account_holder_type in the specification.

The type of entity that holds the account. This can be either `individual` or `company`.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at paths./v1/customers/{customer}/sources/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf in the specification.

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`.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/customers/{customer}/sources/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.owner in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/customers/{customer}/sources/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.owner.properties.address in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Represents a response of the operation postCustomersCustomerSourcesId.

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

Instances2Eq, Show

Defines the object schema located at paths./v1/customers/{customer}/sources/{id}.POST.responses.200.content.application/json.schema.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at paths./v1/customers/{customer}/sources/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.account.anyOf in the specification.

The account this card belongs to. This attribute will not be in the card object if the card belongs to a customer or recipient instead.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at paths./v1/customers/{customer}/sources/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.available_payout_methods.items in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at paths./v1/customers/{customer}/sources/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.customer.anyOf in the specification.

The customer that this card belongs to. This attribute will not be in the card object if the card belongs to an account or recipient instead.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at paths./v1/customers/{customer}/sources/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.object in the specification.

String representing the object's type. Objects of the same type share the same value.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/customers/{customer}/sources/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.owner.anyOf in the specification.

Information about the owner of the payment instrument that may be used or required by particular source types.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/customers/{customer}/sources/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.owner.anyOf.properties.address.anyOf in the specification.

Owner\'s address.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/customers/{customer}/sources/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.owner.anyOf.properties.verified_address.anyOf in the specification.

Verified owner\'s address. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at paths./v1/customers/{customer}/sources/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.recipient.anyOf in the specification.

The recipient that this card belongs to. This attribute will not be in the card object if the card belongs to a customer or account instead.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at paths./v1/customers/{customer}/sources/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.type in the specification.

The `type` of the source. The `type` is a payment method, one of `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`, `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An additional hash is included on the source with a name matching this value. It contains additional information specific to the payment method used.

Constructors

Instances4Eq, Show, FromJSON, ToJSON