Add Card POST /publicapi/v1/user/{apiKey}/add-card Adds a payment card to a user's account. This payment method can be used to place subsequent orders.

Returns: CreditCard
Parameters
Description
Location
Type
Value
Name
User API key, discovered via sign-in or registration.
path
string
apiKey
The name as printed on the card.
body
string
cardholderName
The street address associated with this card.
body
string
cardholderStreetAddress
The zip code associated with this card.
body
string
cardholderZip
CVV
body
string
cvv
Card number without formatting or dashes.
body
string
cardNumber
Two digit expiration month (10)
body
string
expirationMonth
Two digit expiration year (15)
body
string
expirationYear

Curl

curl -X POST \
 -H 'X-Access-Token: __API_EXPLORER_AUTH_KEY__' \
 -H 'Content-Type: application/json' \
 'https://eatstreet.com/publicapi/v1/user/{apiKey}/add-card'