stripe-haskell-0.1.0.5: Stripe API for Haskell

Copyright(c) David Johnson, 2014
Maintainerdjohnson.m@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Web.Stripe.Account

Contents

Description

https://stripe.com/docs/api#account

import Web.Stripe         
import Web.Stripe.Account

main :: IO ()
main = do
  let config = SecretKey "secret_key"
  result <- stripe config getAccountDetails
  case result of
    Right account    -> print account
    Left stripeError -> print stripeError

Synopsis

API

getAccountDetails :: Stripe Account Source

Retrieve the object that represents your Stripe account

Types