Skip to content

despoina555/CardCostCalculatorAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summary

The Card cost calculator API is a case study of implementing an external API Integration

Based on card number, using the first 6 digits of a payment card number (credit cards, debit cards, etc.) identify the institution that issued the card to the card holder and calculate the cost.

Clearing cost matrix:

Issuing Country, Cost (USD)

  • US , $5
  • GR , $15
  • Others , $10

Tools that I used:

  • H2 in memory database
  • OpenApi spec , to generate and document the API (thanks openapi && swagger <3 )
  • Lombok library to reduce boilerplate code for model/data objects (thanks lombok <3 )

##H2 in memory DB http://localhost:8080/h2-console

Postman requests

Content-Type: application/json

OpenApi

You can check the documentation by using:

or

todo:

adding Security + Application Scaling

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages