ACH Direct Debit

Automated Clearing House direct debit. Debits funds from a US bank account using account and routing numbers. Used for USD payments in the United States.

const paymentClient = new PaymentClient(config);

const response = await paymentClient.authorize({
    merchantTransactionId: "txn_001",
    amount: { minorAmount: 1000, currency: Currency.USD },
    paymentMethod: {
        ach: {
            accountNumber: { value: "000123456789" },
            routingNumber: { value: "110000000" },
            bankAccountHolderName: { value: "John Doe" },
        },
    },
    captureMethod: CaptureMethod.AUTOMATIC,
    address: { billingAddress: {} },
    authType: AuthenticationType.NO_THREE_DS,
    returnUrl: "https://example.com/return",
});

Last updated

Was this helpful?