stripe-0.8.3: A Haskell implementation of the Stripe API.

Safe HaskellNone
LanguageHaskell98

Web.Stripe.Card

Synopsis

Documentation

data Card Source

Represents a credit card in the Stripe system.

Instances

Show Card 
FromJSON Card

Attempts to parse JSON into a credit Card.

data RequestCard Source

Represents a credit car (with full details) that is used as input to the Stripe API.

Instances

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.