Skip to main content

Get Customer Requests in a Period of Time

GET 

https://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

OK

Schema
    per_pageinteger
    pageinteger
    total_pageinteger
    records object[]
  • Array [
  • uuidstringrequired

    Customer uuid

    emailstringrequired

    Customer's email

    first_namestringrequired

    Customer's first name

    last_namestringrequired

    Customer's last name

    middle_namestring

    Customer's middle name

    dobstringrequired

    Customer date of birth format 'yyyy-mm-dd'

    phonestringrequired

    Customer's phone

    Example: +61-412345678
    genderstringrequired

    Customer's Gender

    Possible values: [male, female, other]

    Example: male
    streetstringrequired

    The primary name of an address's street.

    street2string

    The secondary name of an address's street.

    citystringrequired

    Name of an address's city or town.

    postal_codestringrequired

    The address's postcode

    statestringrequired

    The address's state / province / county.

    countrystringrequired

    ISO 3166-1 alpha-2 country code.

    identity objectrequired
    issue_countrystringrequired

    ISO 3166-1 alpha-2 country code.

    id_doc_typestringrequired

    Type of identification document

    Possible values: [passport, id_card, driving_license]

    document_numberstringrequired

    number ID

    issue_datestringrequired

    Format 'yyyy-mm-dd'

    expiry_datestringrequired

    Format 'yyyy-mm-dd'

  • ]

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

Request Collapse all
Base URL
https://api.cleverhub.co/api
Auth
Parameters
— query
— query
— query
— query
ResponseClear

Click the Send API Request button above and see the response here!