Description

Add a card to the user account.

General

End Point
https://www.mogl.com/api/v2/cards
HTTP Method POST
Requires SSL true
Requires Acting User true (learn more)
Scope(s) cards_write

Path Parameters

Path parameters are ALWAYS required.

None

Request Parameters

Parameters are NOT REQUIRED unless noted otherwise.

cardNumber required The card number without spaces or hyphens.
expirationMonth required A valid expiration month (1 to 12).
expirationYear required A valid expiration year.

Response Fields

card A card detail object. See card details

Try It Now

Endpoint
Client Id
(required)
Access Token
(required)
User Token
*(see below -- client_credentials only)
cardNumber
(required)
expirationMonth
(required)
expirationYear
(required)
*Partners that authenticate with client_credentials should provide a user_token.