Safe Haskell | None |
---|---|
Language | Haskell98 |
- data Card = Card {
- cardId :: Text
- cardType :: Text
- cardCountry :: Maybe Text
- cardLastFour :: Text
- cardExpMonth :: Int
- cardExpYear :: Int
- cardFingerprint :: Text
- cardChecks :: CardChecks
- data RequestCard = RequestCard {}
- data CardChecks = CardChecks {}
- data CardCheckResult
- rCardKV :: RequestCard -> [(ByteString, ByteString)]
- deleteCard :: MonadIO m => CustomerId -> CardId -> StripeT m Bool
Documentation
Represents a credit card in the Stripe system.
Card | |
|
data RequestCard Source
Represents a credit car (with full details) that is used as input to the Stripe API.
RequestCard | |
|
data CardCheckResult Source
rCardKV :: RequestCard -> [(ByteString, ByteString)] Source
Turns a RequestCard
into a list of key-value pairs that can be submitted
to the Stripe API in a query.
deleteCard :: MonadIO m => CustomerId -> CardId -> StripeT m Bool Source