How to use this Bank Account form

This bank account form makes it easy for you to collect bank account card data and submitting it to PCI Vault without touching your own servers. This form can be used to easily become PCI-compliant.

You can use the form by adding ach_form.js and ach_form.css to your page, and calling window.ach_form() from your own javascript: Here's a quick example:

<!DOCTYPE html>
<html lang="en">
  <head>
    <link rel="stylesheet" href="https://api.pcivault.io/ach/ach_form.css" />
    <script src="https://api.pcivault.io/ach/ach_form.js"></script>
  </head>
  <body>
    <div id="ach_form"></div>

    <script defer>
        window.ach_form(document.getElementById("ach_form"), {
            submit_secret: "your_secret_here",
            submit_url: "/v1/capture/demo",
        })
    </script>
  </body>
</html>

The first argument to the ach_form method is the DOM element where you want to mount the form. The second argument is a settings object, of which submit_secret and submit_url is required. These two values can be obtained by making a POST request to /v1/capture on the PCI Vault API.

Available Options