POST
/
institutions
/
cards
/
enroll2fa
Enroll Cards 2FA
curl --request POST \
  --url https://sandbox-api.cardcore.cloud/institutions/cards/enroll2fa \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cardIds": [
    "{{cardId}}"
  ]
}
'
{
  "statusCode": 200,
  "message": "All cards enrolled successfully",
  "data": {
    "enrolledCardIds": [
      "6a14458764e77fc7a0e2b770"
    ],
    "count": 1
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
cardIds
string[]
required

Response

Enroll Cards 2FA completed successfully.

The response is of type object.