API Documentation

POST /cards

This endpoint adds a card in your account, giving access to transactions and auth.

NOTE. This endpoint is currently disabled. For linking credit and debit cards use POST /accounts instead.

Headers

NAME VALUE
Content-Type application/json
Authorization Bearer {token}

Request

KEY REQUIRED COMMENT
pan Yes String. The card number ("primary account number").
first_name Yes String
last_name Yes String
exp_month Yes Int. Valid are 1, 6, 12. Non-valid: 01, 04.
exp_year Yes Int (4-digits)
cvv Yes String
person_id Yes Int. The ID of a person you created via POST /persons.
consent No Deprecated. Use ConsumerConsent instead.
postal_code Yes String

Response

NAME VALUE
card_id The id to refer this card.

Status Code

CODE COMMENT
201 OK, card enrolled
400 Input data not correct
401 User not authorized