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.Types.Treasury_ReceivedCredit

Contains the types generated from the schema Treasury_ReceivedCredit

  • 7 types
  • 2 values
  • Packagestripeapi-3.0.0.0
  • Exports9
  • LanguageHaskell2010
  • LicenceMIT
  • SourceTreasury_ReceivedCredit.hs

Defines the object schema located at components.schemas.treasury.received_credit in the specification.

ReceivedCredits represent funds sent to a FinancialAccount (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Create a new Treasury'receivedCredit with all required fields.

Defines the enum schema located at components.schemas.treasury.received_credit.properties.failure_code in the specification.

Reason for the failure. A ReceivedCredit might fail because the receiving FinancialAccount is closed or frozen.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.treasury.received_credit.properties.network in the specification.

The rails used to send the funds.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.treasury.received_credit.properties.reversal_details.anyOf in the specification.

Details describing when a ReceivedCredit may be reversed.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.treasury.received_credit.properties.reversal_details.anyOf.properties.restricted_reason in the specification.

Set if a ReceivedCredit cannot be reversed.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.treasury.received_credit.properties.status in the specification.

Status of the ReceivedCredit. ReceivedCredits are created either `succeeded` (approved) or `failed` (declined). If a ReceivedCredit is declined, the failure reason can be found in the `failure_code` field.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.treasury.received_credit.properties.transaction.anyOf in the specification.

The Transaction associated with this object.

Instances4Eq, Show, FromJSON, ToJSON