stripe-core-2.0.0: Stripe API for Haskell - Pure Core

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

{-# LANGUAGE OverloadedStrings #-}
import Web.Stripe
import Web.Stripe.Account

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

Synopsis

API

data GetAccountDetails Source

Retrieve the object that represents your Stripe account

Types