How to get all saved cards for logged user
GET https://mburger.cloud/api/cards
curl https://mburger.cloud/api/cards -H "Accept: application/json" -H "X-MBurger-Token: <token>" -H "X-MBurger-Version: 3" -H "Authorization: Bearer <JWT>"
This API has no parameters.
When successful, a HTTP 200 and JSON like this is returned:
{ "status_code": 0, "body": [ { "id": "card_xxxxxxxxxxxxxxxxxxxxxxxx", "brand": "Visa", "exp_month": 4, "exp_year": 2024, "last4": "4242", "default": true } ] }
Last updated 4 years ago