1. Home
  2. Docs
  3. Data Subscriber API Documentation
  4. Endpoints – Cards
  5. POST /cards

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

How can we help?