-
Notifications
You must be signed in to change notification settings - Fork 0
Use Cases by PeteOK
Pete Oliver-Krueger edited this page Jan 16, 2014
·
3 revisions
- Credit Card Authorization
- User provides credit card information.
- System verifies that it is a valid credit card.
- Credit Card Charge
- User selects various items.
- (Another application totals the items and tracks the details of the transaction.)
- User provides credit card information, or system pulls credit card info from secure storage.
- Systems charges the credit card for the total amount.
- Payment Gateways
- Stripe
- PayPal
- REST AJAX Service
- Accessible from mobile device
- Accessible for Web
- Credit Cards
- American Express
- Visa
- Mastercard
- /transactions/
- GET
- data array
- TransactionID
- Amount
- Date/Time Timestamp
- Reversed?
- ReverseTransactionID
- data array
- GET
- /transaction/{transactionID}/
- TransactionID
- Amount
- Date/Time Timestamp
- Reversed?
- ReverseTransactionID
- /authorize/
- POST
- Credit Card Number
- Credit Card Account Holder
- Credit Card Expiration Month
- Credit Card Expiration Year
- Credit Card Zip Code (if required)
- POST
- /charge/
- POST
- Credit Card Number
- Credit Card Account Holder
- Credit Card Expiration Month
- Credit Card Expiration Year
- Credit Card Zip Code (if required)
- POST
- /reverse/
- POST
- Original TransactionID
- Amount
- Credit Card Number
- Credit Card Account Holder
- Credit Card Expiration Month (if required)
- Credit Card Expiration Year (if required)
- Credit Card Zip Code (if required)
- POST
- Transaction
- TransactionID
- Amount
- (Does not store credit card information. Pull from other, secure location.)