Customers are entities used to organize and manage saved payment methods. These include billing details, transaction history, and recurring payments. A customer record may contain their name, email address, phone number, billing, and shipping addresses. Having a customer association is not required to pay for transactions.
Creating a customer
Customers may be created in the following ways:
- Explicitly with POST /pay-api/v1/customers. This includes full customer details and optional payment methods.
- The Merchant Portal. Merchants and their partner can create customers through this portal.
- Implicitly with POST /pay-int-api/payment-sessions. When this endpoint's
modeis eitherSaveMethodorPaymentAndSave, ifcustomerIdis not provided, one will be created. - Implicitly with POST /pay-int-api/invoices/publish. If
customerIdis not provided, one will be created.
New customerId values can be reviewed with GET /v2/customers.
Pay transactions
Customers may pay transactions in one of three ways:
- Vaulted payments
- Standalone tokenization, also known as orphan vaulted payment
- Account supported
Vaulted payments
Customers can be associated with one or more vaulted payment methods. A vaulted payment method is a securely stored payment credential. This applies to credit card or bank account payments. A vaulted payment method is a securely stored payment credential. This is considered a more secure method rather than storing the card number directly. That information has previously been tokenized and saved for future use. Vaulted information can be safely accessed through a payment identifier. This is typically used for recurring billing, subscriptions, saved checkout experiences, and card-on-file transactions.
In the transaction payment, the field customerId is provided. The customer's vaulted payment methods are available for selection.
Standalone tokenization
Clients may use standalone tokenization, also known as an orphan vaulted payment. This allows a payment method to be vaulted even when the payer has not been recognized as a customer entity. The transaction proceeds using a previously established payment method identifier.
Standalone tokenization is useful when a payment method must be vaulted before a customer profile exists. This includes guest checkouts, delayed onboarding, account setup, or card-on-file collection before registration is complete.
In the transaction payment, the field customerId is omitted but paymentMethodId is provided. This indicates the merchant's orphan vaulted payment method is used.
Accounts Supported
Clients may use accounts supporting orphan payments. This is a form of a payment method that temporarily exists without a customer association.
In the transaction payment, both fields customerId and paymentMethodId are omitted. The transaction uses the credit or debit card, or bank account data supplied in the request.
GET {{baseURL}}/v2/customers
This endpoint lists customers.
Results are returned in pages of pageSize items, with a default of 20 and a maximum of 100 per page. The pageIndex parameter selects which page to return, starting at 0. The fullName, email, companyName, and mobilePhoneNumber parameters filter the results. The createdFrom and createdTo parameters filter by a customer's creation date range. Results can be sorted using orderBy and asc.
This endpoint requires a merchant API token. A partner API token will result in a permissions error including possibly a 403 response.
See Also:
To create a new customer, see POST /v2/customers.
To retrieve a customer by ID, see GET /v2/customers/{customerId}.
To update a customer, see PATCH /v2/customers/{customerId}.
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 a field name to sort the results by.
If null or omitted, results are sorted by createdOn, newest first.
The sort direction is specified by the asc value.
The following fields may be used to sort results:
customerId
externalId
firstName
lastName
companyName
email
mobilePhoneNumber
lastTransactionDate
paymentMethodsCount
Example: customerId
Filters by the earliest inclusive created date (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
Filters by the latest inclusive created date (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/customers
- Production environmenthttps://api.flute.com/v2/customers
// 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.
{ "items": [ { "customerId": "f81ca0b7-fa2e-4a6c-be9e-7def348c1ddf", "externalId": "CUST-EXT-001", "firstName": "John", "lastName": "Peppared", "companyName": "Peppared Street Cafe", "email": "peppared@example.com", "mobilePhoneNumber": "+14125553845", "billingAddress": { "city": "New York", "countryCode": "US", "addressLine1": "123 Main Street", "addressLine2": null, "postalCode": "10001", "stateCode": "NY" }, "lastTransactionDate": "2026-05-29T22:04:31.771Z", "paymentMethodsCount": 3 }, { "customerId": "a98bbbba-40e6-4114-970a-078ebfdcbac2", "externalId": "CUST-EXT-002", "firstName": "Alexandro", "lastName": "Peppared", "companyName": "Tech Solutions Inc", "email": "peppared@techsolutions.com", "mobilePhoneNumber": "+14155557890", "billingAddress": { "city": "Los Angeles", "countryCode": "US", "addressLine1": "456 Oak Avenue", "addressLine2": null, "postalCode": "90001", "stateCode": "CA" }, "lastTransactionDate": "2026-06-01T22:04:31.771Z", "paymentMethodsCount": 1 } ], "pageInfo": { "pageIndex": 0, "pageSize": 20, "totalItems": 150, "totalPages": 8, "hasMore": true } }