https://github.com/pushkar-anand/cardmax
https://github.com/pushkar-anand/cardmax
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/pushkar-anand/cardmax
- Owner: pushkar-anand
- Created: 2025-04-27T10:27:16.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2025-04-27T11:54:29.000Z (about 1 month ago)
- Last Synced: 2025-04-27T12:26:08.435Z (about 1 month ago)
- Language: JavaScript
- Size: 283 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CardMax
A credit card management and recommendation application.
## Features
- Manage your credit cards
- Get recommendations for the best card to use for a purchase
- Track your transactions
- View rewards and benefits## API Documentation
### Predefined Cards
#### Get All Predefined Cards
```
GET /api/predefined-cards
```Returns a list of all predefined credit cards in the system.
Example response:
```json
[
{
"card_key": "ICICI-APAY",
"name": "ICICI Amazon Pay Credit Card",
"issuer": "ICICI",
"card_type": "Visa",
"default_reward_rate": 1.0,
"reward_type": "Cashback",
"point_value": 1.0,
"annual_fee": 0,
"annual_fee_waiver": "",
"reward_rules": [
{
"type": "Merchant",
"entity_name": "amazon",
"reward_rate": 5.0,
"reward_type": "Cashback"
}
],
"benefits": [
"5% unlimited cashback on Amazon.in shopping (using Amazon Prime)"
]
}
]
```#### Get Predefined Card by Key
```
GET /api/predefined-cards/{key}
```Returns a specific predefined credit card by its key.
Example response:
```json
{
"card_key": "ICICI-APAY",
"name": "ICICI Amazon Pay Credit Card",
"issuer": "ICICI",
"card_type": "Visa",
"default_reward_rate": 1.0,
"reward_type": "Cashback",
"point_value": 1.0,
"annual_fee": 0,
"annual_fee_waiver": "",
"reward_rules": [
{
"type": "Merchant",
"entity_name": "amazon",
"reward_rate": 5.0,
"reward_type": "Cashback"
}
],
"benefits": [
"5% unlimited cashback on Amazon.in shopping (using Amazon Prime)"
]
}
```