POST {{baseURL}}/v2/payment-methods/ach
This endpoint creates an ACH (automated clearing house) payment method.
The ACH account information is tokenized and stored, assigning it to the merchant.
Tokenization means the sensitive payment data, such as the ACH account number or bank account number, is submitted to Flute once. After that, Flute assigns a non-sensitive value to paymentMethodId. The paymentMethodId is then used as the payment reference for later transactions.
For Business ACH where the orphan caller will not supply ContactInfo on transactions, include companyName so the legal entity name is available at transaction time.
See Also:
To add a new card payment method, see POST /v2/payment-methods/cards.
To list payment methods, see GET /v2/payment-methods.
To retrieve a payment method by ID, see GET /v2/payment-methods/{{paymentMethodId}}.
Specifies the ACH's account routing number.
Example: 021000021
Specifies the bank account number for the ACH transaction.
We recommend avoiding the use of an account number. Instead, use paymentMethodId when possible.
Example: 1234567890
Identifies the holder type of the account.
Valid values are:
| Type | Description |
|---|---|
| Business | Card issued to a business or company account. |
| Personal | Card issued to an individual for personal use. |
Example: Business
Identifies the type of the account.
Valid values are:
| Type | Description |
|---|---|
| Checking | Account used for regular daily transactions. |
| Savings | Account used to hold and grow funds over time. |
Example: Checking
Identifies the customer to link this payment method to.
This value may be null when this payment method is an orphan owned by the merchant directly. An orphan payment method is a payment method in the merchant's vault but has no customer record associated with it.
Example: 8fa8e727-73c6-436e-b56f-6f55aabf3b1c
Specifies the name for the payment method.
This is a free-formed name that is convenient for the merchant to recognize.
Example: Peppared Street Cafe's Preferred Payment
- Sandbox environmenthttps://sandbox.api.flute.com/v2/payment-methods/ach
- Production environmenthttps://api.flute.com/v2/payment-methods/ach
curl -i -X POST \
https://sandbox.api.flute.com/v2/payment-methods/ach \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"customerId": "3ad6a05a-48b4-4c77-9601-fdad2963b92b",
"name": "Business Checking",
"companyName": "Acme Corp Inc",
"routingNumber": "021000021",
"accountNumber": "1234567890",
"taxId": "12-3456789",
"accountHolderType": "Business",
"accountType": "Checking"
}'{ "paymentMethodId": "83eed29d-849d-4aff-8ff7-02783bfe97d5" }