Open JFatih opened 1 month ago
Payment methods will be implemented in this task
/user/card
[x] To save card data, you need to create a POST request to “/user/card” endpoint using data structure below:
{ "card_no": "1234123412341234", "expire_month": 12, "expire_year": 2025, "name_on_card": "Ali Baş" }
Update Card
[x] To update card data you need to create a PUT request to “/user/card” endpoint using data structure below:
{ "id": "1", "card_no": "1234123412341234", "expire_month": 1, "expire_year": 2030, "name_on_card": "Ahmet Taş" }
Delete Card
Payment methods will be implemented in this task
/user/card
/user/card
[x] To save card data, you need to create a POST request to “/user/card” endpoint using data structure below:
Update Card
[x] To update card data you need to create a PUT request to “/user/card” endpoint using data structure below:
Delete Card