Skip to main content
GET
/
finance
/
customers
List all customers
curl --request GET \
  --url http://134.209.118.139:3002/finance/customers \
  --header 'x-access-token: <api-key>'
[
  {
    "customerid": 123,
    "fullname": "<string>",
    "telephone": "<string>",
    "accountnumber": "<string>",
    "salesstage": "<string>",
    "createdAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

x-access-token
string
header
required

JWT token obtained from POST /api/auth/signin

Response

Array of customers

customerid
integer
fullname
string
telephone
string
accountnumber
string
status
enum<string>
Available options:
PENDING,
APPROVED,
REPOSSESSED
salesstage
string
createdAt
string<date-time>