add smartcard api and documents