npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@adyen/kyc-components

v3.38.0

Published

`adyen-kyc-components` provides the required pieces to build an onboarding flow based on a legal entity. To onboard and verify users, you need to create a user interface (UI) to collect user data. To speed up building your integration, Adyen offers onboar

Downloads

3,657

Readme

Adyen KYC Components (Onboarding Components)

adyen-kyc-components provides the required pieces to build an onboarding flow based on a legal entity. To onboard and verify users, you need to create a user interface (UI) to collect user data. To speed up building your integration, Adyen offers onboarding components. You can integrate these components into your UI to let your users enter their data. The component then uses the entered data to create the relevant resource. This means you don't need to implement the API call to create the resource yourself.

Setup

  1. Install and import the npm package

    • Install the node package
     npm install @adyen/kyc-components --save
    • Import the package and the style sheet in your application
     import AdyenKyc from '@adyen/kyc-components';
     import '@adyen/kyc-components/styles.css';
  2. Initializing the sdk

    const adyenKycHandler = new AdyenKyc({
      locale: 'en-US',
      country: 'US',
      environment: 'https://test.adyen.com',
      sdkToken: token,
      getSdkToken,
    });
  3. Including createTransferInstrument component

    const createTransferInstrumentComponent = adyenKycHandler
      .create('createTransferInstrumentComponent', {
        legalEntityId,
        transferInstrumentId, // Optional
        openBankingPartnerConfigId: 'YourBrandOBConfigId',
        settings: {
          allowIntraRegionCrossBorderPayout: true, // Optional
          allowBankAccountFormatSelection: true, // Optional
        },
        onSubmitSuccess: (submittedData) => {},
      })
      .mount('#create-transfer-instrument-container'); // Mount to the container you created

See our Onboarding components documentation for more details.

Supported countries/regions

You can use the Onboarding components to onboard users operating in countries listed here.

Supported languages

You can localize the Onboarding components by setting locale parameter to one of the supported languages listed here.