A well-typed Haskell client for Starling Bank APIs
Haddock 🐟 starling.bank.rly.rocks
✅ Access Token
✅ GET requests for:
- Account Holders
- Accounts
- Addresses
- Direct Debits
- Payees
- Payments
- Spending Insights
- User Identities
- Signed message requests
- PUT, POST, DELETE requests
- GET requests for:
- Savings goals
- Profile Images
- Cards
- Recurring Card Payments
- Transaction Feeds
- Feed Round-up
- KYC
- Settle-up
- Spaces
- Generalised account interaction
->
bank
import Bank.Starling.API.Core (AccessToken(..), Endpoint(Production), getApiEndpoint)
import qualified Bank.Starling.API.Accounts as Accounts
main :: IO ()
main = do
let token = AccessToken (read "<token>")
let endpoint = getApiEndpoint Production -- Or Sandbox
accounts <- Accounts.accounts endpoint token
print accounts