How to set the provided Stripe card as default
GET https://mburger.cloud/api/cards/<id>/dafault
curl https://mburger.cloud/api/cards/<id>/dafault -H "Accept: application/json" -H "X-MBurger-Token: <token>" -H "X-MBurger-Version: 3" -H "Authorization: Bearer <JWT>"
Name
Type
Required
Description
id
int
Yes
Card ID in the format card_xxxxxxxxxxxxxxxxxxxxxxxx.
When successful, a HTTP 200 and JSON like this is returned:
{ "status_code": 0 }
Last updated 4 years ago