Payment Cards

Create a card

Adds new payment card to user cards.

Requires <code>write_payment_cards</code> OAuth access scope.

post/payment_cards

Request

  • Base URL
    https://api.lokalise.com/api2
  • URL
    https://api.lokalise.com/api2/payment_cards
  • Auth
    API key in header X-Api-Token

Request body

numberstring required

Card number.

cvcstring required

3-digit card CVC code.

exp_monthnumber required

Card expiration month (1-12).

exp_yearnumber required

Card expiration year.

Response

OK

card_idnumber

A unique identifier of the card.

last4string

Last 4 digits of the card.

brandstring

Card brand.

created_atstring

Date/time at which the card was created.

created_at_timestampnumber

Unix timestamp when the card was created.

Changes

No recorded changes to this operation across all 2 revisions of this API.