Description
API authentication for the customers
Headers
Authorization
Parameters
API_KEY
required, type: string
The unique
username
required, type: string
The unique username for the vendor identification.
secret
required, type: string
The secret for authenticaticating the user login.
customer_mobile
required, type: string
The customer mobile number
customer_id
optional, type: string
The customer unique ID.
customer_name
optional, type: string
The customer name
customer_email
optional, type: string
The customer E-mail
Example Request
{
"API_KEY": "HJASLL3324234999JJLLAUUQTTYE",
"username": "Stashfin",
"secret": "************",
"customer_id": "ABC123",
"customer_name": "kavitha",
"customer_mobile": "98765*****",
"customer_email": "kavitha@bigcity.in"
}
Example Response
{
"customer_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2Mzk0ODI2ODMsImlzcyI6Imh0dHA6XC9cL2h1YmFkbWluYXBpLmNhcmxzYmVyZy5iaWdjaXR5dm91Y2hlci5jby5pbiIsImF1ZCI6Imh0dHA6XC9cL2h1YmFkbWluYXBpLmNhcmxzYmVyZy5iaWdjaXR5dm91Y2hlci5jby5pbiIsIm5iZiI6MTYzOTQ4MjY4MywiZXhwIjoxNjM5NTY5MDgzLCJkYXRhIjp7InVzZXJuYW1lIjoiaHViYWRtaW4iLCJsYXN0TG9naW5BdCI6eyJleHByZXNzaW9uIjoiTk9XKCkiLCJwYXJhbXMiOltdfSwicHJvZ3JhbV9pZCI6MX0sImp0aSI6MX0.23yD8BonsvnrRlvzP63tnKJuiomOGYdb7RabGJdG1Lk",
"token_expiry": "2024-03-26T15:42:36-04:00"
}