Last updated

These docs are intended for a developer audience.

Set up ACH with Rebilly Instruments

This topic describes how to set up ACH for use with the Rebilly Instruments JavaScript library.

Important

To use ACH with the Rebilly Instruments JavaScript library, you must have a ACH gateway configured and connected to your Rebilly account. If you have not already done so, complete the Set up a gateway tutorial.

Basic library setup

If you have not already done so, complete the basic setup tutorial.

For this example the purchase data property type is money.

  1. JavaScript
  2. HTML
import RebillyInstruments from '@rebilly/instruments';

RebillyInstruments.mount({
  organizationId: 'test-org-2019-12-07',
  publishableKey: 'pk_sandbox_WcUZLs3xwB7dubewna3zJA75wdMBEHeWHOyQww8',
  websiteId: 'ach-example',
  apiMode: "sandbox",
  money: {
    amount: 50,
    currency: 'USD'
}
});