@binance/kyc-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

**# @binance/kyc-sdk

kyc-ui to broker

How to use

import BinanceKyc from '@binance/kyc-sdk'
const app = () => {
    React.useEffect(() => {
      const binanceKyc = new BinanceKyc({
        authToken: 'YzBhMWRjMTUyZGJiNGVhNjhiNGZmZjdmODhiZTk0M2U6RklOQU5EWQ%3D%3D',
        bizEntityKey: 'FINANDY',
        apiHost: 'https://dip-qacb.sdtaop.com',
        onMessage: ({ typeCode }) => {
          if (typeCode === '102') {
            binanceKyc.switchVisible(true)
          }
        },
      })
    }, [])
    return <div id="test"></div>
}

**

Readme

Keywords

none

Package Sidebar

Install

npm i @binance/kyc-sdk

Weekly Downloads

1

Version

0.0.3

License

UNLICENSED

Unpacked Size

26.8 kB

Total Files

17

Last publish

Collaborators

  • binance-bot