Repository navigation
Home
Anders Van Winkle edited this page May 12, 2015
·
9 revisions

##Website: http://kaching.xyz
##Transactional API: The system must support 4 transactions:
- Balance - Balance inquire: Given an account number, provide the current account balance (in dollars)
- Withdraw - Debit: deduct the specified amount from the account balance– account number and debit amount are specified
- Deposit - Deposit: Add the specified amount to the account balance – account number and deposit amount are specified
- History - Inquire: provide a list of recent deposits and debits – account number and history range (days in the past) are specified
Requests are sent in JSON to https://kaching.xyz/api/TransactionServlet
Examples of those request bodies include:
- {“type” : “balance”, “info” : {“account_number” : “XXXXXXXXXX”}}
- {“type” : “withdraw”, “info” : {“account_number” : “XXXXXXXXXX”, “amount” : XX.XX}}
- (same as above) {“type” : “charge”, “info” : {“account_number” : “XXXXXXXXXX”, “amount” : XX.XX}}
- {“type” : “deposit”, “info” : {“account_number” : “XXXXXXXXXX”, “amount” : XX.XX}}
- (same as above) {“type” : “payment”, “info” : {“account_ number” : “XXXXXXXXXX”, “amount” : XX.XX}}
- {“type” : “history”, “Info” : {“account_ number” : “XXXXXXXXXX”, “day_range” : XX}}
##Old udel google site This site is only accessible those with UDel accounts https://sites.google.com/a/udel.edu/kaboom/home
##Overall KaChing Architecture