Get Customer Requests in a Period of Time
GEThttps://api.cleverhub.co/api/v2/customers/
This API allows you to fetch a complete list of customer linked to your app-id. You can filter the results based on multiple query params. This API is paginated. The default is 20 transactions per page.
Request
Query Parameters
from_date string
Start date to query payment requests from, format 'DD/MM/YY' or 'YYYY-MM-DDThh:mm:ss'. This datetime would be in UTC timezone
Example: 2022-01-01T00:00:00
to_date string
End date to query payment requests, format 'DD/MM/YY' or 'YYYY-MM-DDThh:mm:ss'. The datetime would be in UTC timezone
Example: 2022-01-01T00:00:00
page string
Page number to query. Currently we support 20 records per page
per_page string
Default 20 records per page
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (auto)
Schema
per_pageinteger
pageinteger
total_pageinteger
records object[]
{
"total": 100,
"page": 1,
"per_page": 20,
"records": [
{
"uuid": "VMMAOTFQ",
"email": "string",
"first_name": "string",
"last_name": "string",
"middle_name": "string",
"dob": "2024-04-16",
"phone": "+61-12345523",
"gender": "male",
"street": "string",
"street2": "string",
"city": "string",
"postal_code": "string",
"state": "string",
"country": "US",
"identity": {
"issue_country": "US",
"document_number": "string",
"issue_date": "2024-04-16",
"expiry_date": "2024-04-16",
"id_doc_type": "Passport"
}
}
]
}
Bad Request
Unauthorized
- application/json
- Schema
- Example (auto)
- Example
Schema
errors object
{
"errors": {
"code": "string",
"message": "string"
}
}
{
"errors": {
"code": "REQUIRE_LOGIN",
"message": "Not Authorised"
}
}
Authorization: app-id
name: app-idtype: apiKeydescription: The app-id is registered and secured inside Hello Clever system and only required when client has initiated or in the middle of the transaction.in: header
name: secret-keytype: apiKeydescription: The secret-key is our client's secret of the source. Required if a publishable key is used to retrieve the source.in: header
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
ResponseClear