Create Card

How to create a new Stripe card

The new card will be set as the default payment method automatically by Stripe

POST https://mburger.cloud/api/cards

curl https://mburger.cloud/api/cards
-X POST
-H "Accept: application/json" 
-H "X-MBurger-Token: <token>" 
-H "X-MBurger-Version: 3"
-H "Authorization: Bearer <JWT>"

Parameters

Name

Type

Required

Description

token

string

Yes

Token provided by the Stripe SDK.

Last updated