Menu

SDK steps (session token)

Submit NFC chip data

POST/v1/sessions/{id}/documents/nfc

Chip data read by our mobile SDKs (ICAO 9303: BAC/PACE, Active and Chip Authentication). The chip protocol is internal to the SDKs and changes with them: read the chip with an IDotta mobile SDK rather than calling this endpoint yourself.

Authorization: Bearer JWT (session token, SDK)

Passive authentication (SOD signature + CSCA chain) runs in the request: 422 with reason sod_signature_invalid, sod_hash_mismatch or sod_chain_untrusted; otherwise 202 { "status": "nfc_processing" }.

Request
curl -X POST https://api.idotta.com/v1/sessions/{id}/documents/nfc \
  -H "Authorization: Bearer <access_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "dg1_base64": "<base64>",
    "dg2_base64": "<base64>",
    "sod_base64": "<base64>",
    "chip_auth": "bac"
  }'