A payment method is a stored, tokenized payment record that can be used to process transactions.
A stored record is created once and may be used for all future transactions. This includes submitting the raw card and account details only once, when it is first created.
Tokenization means the sensitive payment data, such as the raw card 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.
Payment methods can be set to one of the following types: linked to a customer or an orphan.
Linked to a customer
A customer is a defined business entity. Information includes the company name, the owner's name, billing and shipping addresses, and different kinds of payment methods. Rather than re-entering the information, it can be saved and used later as needed. A payment method linked to a customer can be used by referencing the customer using the customerId value.
An orphan
An orphan payment method is a stored payment method (card or ACH (automated clearing house) account) that belongs to the merchant directly. If the customerId is omitted from the payment method, the payment method is created as an orphan. It exists in the merchant's vault but has no customer record associated with it. A practical use case would be for a one-time transaction that uses a tokenize card but without creating a full customer profile.
There are two types of payment method: Cards and ACH.
Cards
Credit or debit cards are stored as a token. The raw card number is never fully displayed. It always uses a masked card number, such as ************1111. A card payment type includes a card brand (such as Visa or MasterCard), credit or debit card type, expiration date, and a paymentMethodName, a name recognizable to the merchant. The paymentMethodName field is required when creating a card or ACH payment method directly through this endpoint group. It can come back null for a payment method saved through a checkout session, a payment link, or an invoice instead.
ACH accounts
ACH accounts are electronic bank account transfers. They are stored with a routing number, account number, account type (checking or savings), and account holder type (personal or business). They also carry a paymentMethodName, a name recognizable to the merchant.
Either can be marked as the default payment method for a customer but only one payment method may set as the default at a time.
GET {{baseURL}}/v2/payment-methods
This endpoint lists the merchant's payment methods.
A payment method is a stored card or ACH (automated clearing house) account. It can be reused for future transactions. This avoids collecting the customer’s payment details again.
Use this endpoint to show a customer their saved payment options. It lets a customer pick one at checkout. The merchant can also audit what's on file for a single customer, or for the whole account.
It covers both customer-linked and orphan payment methods. An orphan payment method is one stored without a linked customer. It works whether a method is attached to a customer. It also works for methods stored independently.
This endpoint is typically called before a transaction to retrieve a method. It’s also called after creating a new card or ACH method. This confirms the new method was stored successfully.
This endpoint requires a merchant API token. A merchant API token managed by a partner also requires that partner's account to have the ListCustomers permission. Failure in either case returns a 403 response.
See Also:
To add a new card payment method, see POST /v2/payment-methods/card.
To add a new ACH (automated clearing house) payment method, see POST /v2/payment-methods/ach.
To retrieve a payment method, see GET /v2/payment-methods/{{paymentMethodId}}.
To update a payment method, see PATCH /v2/payment-methods/{{paymentMethodId}}.
Specifies the page number of the returned search results.
A page is considered each set of the pageSize values.
The page count is zero-based. The maximum for pageIndex, or the page number, is the pageSize divided by the total count rounded down. For example, the pageSize is 50 and the total is 130. That means there are three pages, but the pageIndex value is in the inclusive range from zero to two.
Value restrictions include:
- A value less than zero is not permitted.
- Values equal to or greater than
totalPagesend successfully but will not return any items.
For page size information, see pageSize.
Example: 0
Specifies the number of items for each page of the returned search results.
A page is considered each set of the pageSize values.
The page count is zero-based. The maximum for pageIndex, or the page number, is the pageSize divided by the total count rounded down. For example, the pageSize is 50 and the total is 130. That means there are three pages, but the pageIndex value is in the inclusive range from zero to two.
For page numbering information, see pageIndex.
Example: 50
Specifies the sort order.
The sort order is specified by the sortOrder value.
The field that gets sorted by is specified by the sortBy value.
Valid values are:
| Value | Description |
|---|---|
| asc | Sorts results in ascending order, from the lowest value to the highest, or from the oldest timestamp to the most recent. |
| desc | Sorts results in descending order, from the highest value to the lowest, or from the most recent timestamp to the oldest. |
Specifies the payment method type to filter by.
Valid values are:
| Value | Description |
|---|---|
| ACH | Automated clearing house (bank account) payment methods only. |
| Card | Credit or debit card payment methods only. |
If null or omitted, both types are returned.
Example: Card
Specifies a filter using a search string.
This performs a case-insensitive search that matches exactly or partially. The string is free-form text.
If the results are to be sorted, use the sortBy field to specify the sort field.
The field does not have to be specified. Multiple fields may be automatically searched to return precise results.
The search includes the following fields:
paymentMethodName
Example: Personal Visa
Specifies the earliest inclusive created date to filter by (in an ISO 8601 date-time UTC format).
If only createdFrom is specified, the search returns all available items from the createdFrom value to the present. The fields createdFrom and createdTo may be used together to create an inclusive range. We recommend creating an inclusive range to avoid a potentially excessive number of returns.
Example: 2026-02-19T20:24:52.934Z
Specifies the latest inclusive created date to filter by (in an ISO 8601 date-time UTC format).
If only createdFrom is specified, the search returns all available items from the createdFrom value to the present. The fields createdFrom and createdTo may be used together to create an inclusive range. We recommend creating an inclusive range to avoid a potentially excessive number of returns.
Example: 2026-03-06T14:24:52.934Z
- Sandbox environmenthttps://sandbox.api.flute.com/v2/payment-methods
- Production environmenthttps://api.flute.com/v2/payment-methods
// Language is not supported.Indicates an object describing the pagination status.
If additional pages to review are needed, repeat the exact same search but include a new pageIndex value. Typically, this will increment the current pageIndex by one. However, any valid value may be used. Value restrictions include:
- A value less than zero is not permitted.
- Values equal to or greater than
totalPagesend successfully but will not return any items.
One customer-linked card and one orphan business ACH (automated clearing house) account.
{ "items": [ { "paymentMethodId": "6e22f0f3-f3ed-407c-a46f-ec9cffde5d5b", "paymentMethodType": "Card", "paymentMethodName": "Personal Visa", "customerId": "588f57a5-fe6a-4844-851e-e98914e81980", "isDefault": true, "createdOn": "2026-01-15T10:30:56.264Z", "cardDetails": { "maskedCardNumber": "400112******1111", "cardNumberLast4": "1111", "expirationMonth": 12, "expirationYear": 2033, "cardBrand": "Visa", "cardType": "Credit", "cardTokenType": "Local" }, "achDetails": null }, { "paymentMethodId": "6bbfbe3e-04dd-41cd-82bf-1466e0159007", "paymentMethodType": "ACH", "paymentMethodName": "Business Checking", "customerId": null, "isDefault": false, "createdOn": "2026-02-01T09:00:56.264Z", "cardDetails": null, "achDetails": { "maskedAccountNumber": "****6789", "accountNumberLast2": "89", "accountRoutingNumber": "021000021", "accountType": "Checking", "accountHolderType": "Business", "taxId": "*****6789", "companyName": "Peppared Street Cafe" } } ], "pageInfo": { "pageIndex": 0, "pageSize": 20, "totalItems": 150, "totalPages": 8, "hasMore": true } }