Skip to content

API Reference


API Reference / GenerateAccessTokenRequest

Interface: GenerateAccessTokenRequest ​

Defined in: src/auth/DhanAuth.ts:11

Properties ​

clientId ​

clientId: string

Defined in: src/auth/DhanAuth.ts:12


pin ​

pin: string

Defined in: src/auth/DhanAuth.ts:13


totp ​

totp: string

Defined in: src/auth/DhanAuth.ts:15

A current 6-digit code. Use DhanAuth.generateTotp to derive one.

Community project — not affiliated with Dhan. MIT License.