The response is in the form of a JSON schema and includes the following fields:
status: (boolean) A boolean indicating the success status of the response.
response: (integer) An integer representing the response code.
message: (string) A string containing any additional message.
data: (object) An object containing user data and subscription details.
userdata: (object) An object containing user information such as id, fullname, email, phone, address, account_type_name, account_type_num, status, roll, and authenticate status.
subscription: (object) An object containing subscription details including access, plan, planname, planamount, orderid, hitlimit, hitused, plan_from, expire_on, and bizid.
Request
Authorization
Add parameter in header
Example:
X-Token: ********************
Header Params
Body Params multipart/form-data
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST '/api/auth/login/' \
--header'marchant-id: BIZ12354124' \
--form'email="ab@gmail.com"' \
--form'password="123456"'