Bank Account Form

This approach encapsulates all tokenization logic for bank account / eCheck inside a reusable, framework-agnostic <echeck-form> component. Merchants embed a JavaScript bundle and use a single HTML tag to securely handle the flow.

echeck-form Web Component

The <echeck-form> tag and provide the required properties: Note: If you're using a JavaScript framework with dynamic data binding (e.g., React, Vue, Angular), follow the HTML example. If not, use the vanilla JavaScript example to programmatically create the tag and bind the data.

🔹 Required Properties:

  • sessions: contains all the authorization sessions required for the web component. Do not alter/modify this object or build logic with it—it may change frequently.
  • submit-success: Callback function to handle the generated oneTimeToken.
  • validation-error: Callback to handle validation errors.

🔹 Optional Properties:

  • isrequired (boolean, default true)