Skip to main content

Basic usage

Square supports instant authentication through Plaid for verifying a buyer's bank account before making an ACH payment. Plaid lets your application quickly authenticate the bank account and uses the Web Payments SDK to connect to the ACH network to accept payments.

import { Ach, PaymentForm } from 'react-square-web-payments-sdk';

export default function MyApp() {
return (
<PaymentForm>
<Ach accountHolderName="John Doe" redirectURI="https://example.com/" transactionId="12345" />
</PaymentForm>
);
}
Test

We will never store your account data. But please use dummy data for testing.

info

After you hit the Pay with Direct debit (ACH) button you can see the output on the console.

This is how the button looks like: