Skip to main content

ACH

warning

Before you start integrating ACH, please contact support. You won't get success response without domain registration.

Playgrounds​

Verification flow​

The customer verifies their bank account with the Verify Bank Account button (submitMode: 'inner'), or you start it with submit() (submitMode: 'outer').

  • If an email field is configured and its value is invalid, the field shows its error, Plaid does not open, and onError(422, validation, { error: 'Validation error' }) is called.
  • While the verification is in progress, the Card/ACH tabs are locked and further submit() calls are ignored.
  • If the customer closes Plaid, the form shows that the verification was unsuccessful and onError(400, validation, { error: 'user-cancelled' }) is called. They can start again.
  • reset() clears the email and stops the button's loading state.

See When onError fires for every case.

Response Types​

For detailed information about response types, see Response Types.

SimpleACHOptions​

The configurable options for the ACH payment form, set under config.ach.

type SimpleACHOptions = {
	/** Plaid redirect URL. Required. */
	redirectURL: URL | string;
	/**
	 * `'inner'` (default): the form renders its own **Verify Bank Account** button.
	 * `'outer'`: you render your own button and call `submit()`.
	 */
	submitMode?: 'inner' | 'outer';
	fields?: {
		email?: { placeholder?: string; value?: string; required?: boolean };
	};
};
// Example
config: {
	elementId: 'reverePaymentsForm',
	ach: {
		redirectURL: 'https://merchant.example.com',
		submitMode: 'outer',
		fields: { email: { required: true } }
	}
}

FieldUpdateConfig​

The types of the configurable options for the updatable ACH payment fields.

/**
 * Configuration for the ach fields.
 */
export type FieldUpdateConfig = {
	/**
	 * Configuration for the email field.
	 */
	email?: {
		/**
		 * Placeholder text for the email field.
		 */
		placeholder?: string;

		/**
		 * Value for the email field.
		 */
		value?: string;
	};
};