v1
latestOpenAPI 3.0.02026-08-0696238481.7 KBList customers
Used to fetch a paginated list of one or more Customers
Query parameters
A case insensitive email to search by. Note that emails are unique per Customer so you can expect a single item within the response. Any other query parameters will be ignored if this is provided.
The start timestamp (inclusive), it must be before the endTimestamp.
The timestamp when to return payment sessions up to (inclusive), it must be after the startTimestamp.
Control the order (newest or oldest) in which the items are returned. false will arrange the results with newest first, whereas true shows oldest first. The default is false.
Control how many items are return in a given page The max limit we allow is 25. The default is 10.
A token to identify where to resume a subsequent paginated query. The value of the paginationToken field from that response should be supplied here, to retrieve the next page of results for that timestamp range.
Response
Successfully retrieved the customers
Example response
{
"items": [
{
"id": "cus_01G0EYVFR02KBBVE2YWQ8AKMGJ",
"email": "test@ryftpay.com",
"firstName": "Jeff",
"lastName": "Bridges",
"homePhoneNumber": "+447900000000",
"mobilePhoneNumber": "+447900000000",
"defaultPaymentMethod": "pmt_01G0EYVFR02KBBVE2YWQ8AKMGJ",
"metadata": {
"customerId": "1",
"registered": "123"
},
"createdTimestamp": 1470989538
}
],
"paginationToken": "cus_01FCTS1XMKH9FF43CAFA4CXT3P_1641912473"
}