Card File

Metadata.json

{
    "info" : "New Card from Company 1",
    "files" : [
       "info" : "Company1's card",
       "content_type" : "application/json",
       "file_type_id" : 2, 
       "name" : "card1.json",
       "thumbnail" : ""   
    ]
}

file_type_id = 2 indicate the file is a card.

card1.json

{
    "version" : 1,
    "status_id" : 1,
    "card_number" : "1234567890",
    "folder_pk" : "fd5a1c7faa2bc43587394f26aa8f8ab49b8a5a40305934e6bb10bda71cd1e2a5",
    "secret_key" : "",
}

secret_key: TODO: Define size and encoding.

card status id values are

Value
Description
Notes

1

inactive

Initial state when the card is created

2

activation_pending

Card Activation Request has been sent, mobile app is waiting to receive the activation response from Azur Desktop.

3

activation_failed

Received a activation response with fail status. It is possible to send a new activation request

4

active

Received an activation response with success status. The card is now active an can be used to identify the user on Azur Desktop.

5

disabled

Received a request from Azur Desktop to disable the card.

Last updated