GET {{baseURL}}/pay-api/v1/customers
This endpoint lists the partner's customers.
The search can specify filters to better target intended customers.
See Also:
To create a customer, see POST /pay-api/v1/customers.
To retrieve a customer by ID, see GET /pay-api/v1/customers/{customerId}.
To update a customer's information, see PUT /pay-api/v1/customers/{customerId}.
To delete a customer, see DELETE /pay-api/v1/customers/{customerId}.
Specifies the search string.
This performs a case insensitive, matching, or partially matching search.
Fields does not have to be specified. If the results are to be sorted, use the field orderby to specify the sort field.
firstName
lastName
companyName
email
mobilePhoneNumber
id
createdOn
lastTransactionDate
contactName
Example: Conners Electric
Specifies a filter to return items at or after this date-time (in an ISO 8601 date-time format).).
If dateFrom only is specified, the search returns all available items from the dateFrom value to the present. The fields dateFrom and dateTo may be used together to create an inclusive range. We recommend creating an inclusive range to avoid a potentially excessive number of returns.
Example: 2025-01-27T12:05:54.322587Z
Specifies returning items at or before this date-time (in an ISO 8601 date-time format).
If dateTo only is specified, the search returns all available items up to the dateTo value. The fields dateFrom and dateTo 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-01-27T12:05:54.322587Z
Specifies the page number of the returned search results.
A page is considered each set of the pageSize value.
The maximum page value is the pageSize divided by the total count rounded up. The count is zero-based. For example, if pageSize is 50 and the total is 130, there are three pages. The maximum page value is 2.
Values above the maximum page value will complete successfully but not return any items.
Example: 0
Specifies the number of items for each page of the returned search results.
A page is considered each set of the pageSize value.
The maximum page value is the pageSize divided by the total count rounded up. The count is zero-based. For example, if pageSize is 50 and the total is 130, there are three pages. The maximum page value is 2.
Example: 50
- Mock serverhttps://developer.flute.com/_mock/api-reference/pay-api/v1/customers
- Sandbox environmenthttps://sandbox.api.flute.com/pay-api/v1/customers
- Production environmenthttps://api.flute.com/pay-api/v1/customers
curl -i -X GET \
'https://developer.flute.com/_mock/api-reference/pay-api/v1/customers?search=Conners%20Electric&customerIds=c4b210e9-be39-4ebc-8195-0c422de87f90&orderBy=string&asc=false&dateFrom=2025-01-27T12%3A05%3A54.322587Z&dateTo=2026-01-27T12%3A05%3A54.322587Z&page=0&pageSize=15' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "items": [ { "id": "019bf058-960f-72a0-8194-6d554c7d6004", "createdOn": "2025-01-27T12:05:54.322587Z", "modifiedOn": "2025-01-27T12:05:54.322587Z", "lastTransactionDate": "2025-01-27T12:05:54.322587Z", "lastTransactionAmount": 0.1, "activeSubscriptionsAmount": 0.1, "contactName": "Alexandro Peppared", "firstName": "Alexandro", "lastName": "Peppared", "companyName": "Peppared Street Cafe", "email": "peppared@example.com", "mobilePhoneNumber": "+14155552309", "isMobileNumberSmsNotificationsEnabled": true, "billingAddress": { "addressLine1": "21 E. Main Street", "addressLine2": "Office 3", "city": "Chicago", "zip": "60612", "stateName": "Illinois", "state": { "id": 0, "code": "IL", "name": "Illinois" }, "country": { "id": 1, "isoCode": "US", "name": "United States" } }, "paymentMethodsCount": 0 } ], "total": 5 }