Taiki Client SDK

What is the Taiki Client SDK?

The Taiki Client SDK is a frontend library that simplifies the integration of Taiki's tax data retrieval service into web applications. We handle the entire user flow from log-in to data fetching for you!

Purpose

  • Streamlined API Integration: The Taiki Client SDK provides a secure and user-friendly interface for authenticating users and retrieving tax documents directly from their accounts through the Taiki API.

  • Security Focus: This modal is designed to prioritize security, handling sensitive communication with Taiki servers to protect user credentials and data.

How to use the Taiki Modal:

Paste this script in your html file.

<script src="https://www.taiki.ai/link/link-initialize.js"></script>

Then in the JS section you can use the Taiki modal like so

const taikiModal = window.Taiki.create({
    token: TEMPORARY_TOKEN,
    metadata: {YOUR_METADATA},
    onSuccess: {YOUR_FUNCTION}
})
Key
Value
Description

Obtained from calling /initialize-token

Obtained from calling /initialize-token If you already called Taiki with this id, Taiki will use the user's saved credentials from last year

Your metadata that you want to receive when Taiki calls your webhook.

Any function

For now, the Taiki modal is a CDN-Hosted Script. We will add support for more popular libraries in the future.