[FEATURE] add `upsert` endpoint to `cards_info` table
- Dominant language
- Rust
- Stars
- 43.7k
- Forks
- 5.1k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 205
Description
### Feature Description
Currently there is only read endpoint available for `cards_info` table. It would be useful to add a `upsert` endpoint which would
- Insert the row if the `card_iin` is not present
- Update the fields if `card_iin` is already present
### Possible Implementation
Similar to the `get` endpoint.
### Have you spent some time to check if this feature request has been raised before?
- [X] I checked and didn't find similar issue
### Have you read the Contributing Guidelines?
- [X] I have read the [Contributing Guidelines](https://github.com/juspay/hyperswitch/blob/main/docs/CONTRIBUTING.md)
### Are you willing to submit a PR?
No, but I'm happy to collaborate on a PR with someone else
Contributor guide
Assessment
This issue has not been assessed yet.