post http://api.pandascrow.io/sandbox/index/user/auth/login
This endpoint would allow you to log in to your existing account with Pandascrow.
[POST] {{baseurl}}/sandbox/index/user/auth/login
Pandascrow Users
To log in to your Pandascrow account, you'll need to pass the required parameter as in the table below.
Param | Required? | Description | type |
---|---|---|---|
phone | Yes | Phone number of user (e.g +2348179000000) | String |
password | Yes | Password of user. (We encrypt password "AES-256-CBC") | String |
API Object
{
"status": 200,
"data": {
"user": {
"userID": 1,
"name": "Precious Tom",
"email": "[email protected]",
"gender": "Custom",
"phone": "+2348179000000",
"country": "Nigeria",
"state": null,
"address": null,
"username": null,
"dob": "1990-12-01",
"bout_me": "Hey there! I'm using Pandascrow.",
"dp_url": "https://api.pandascrow.io/assets/img/dp/dp-28.png",
"acc_type": 2,
"auto_created": 0,
"is_accepted": 1,
"is_verified": 0,
"is_admin": 0,
"is_interest_set": 0,
"default_currency": "NGN",
"token": "9f4dmj7il4qr25jk",
"invite_url": "https://app.pandascrow.io/auth/join/9f4dmj7il4qr25jk",
"ref_token": null,
"dateJoined": "Sat, 31 Dec 2022 10:44:15 +0000",
"dateJoined_alt": "2022-12-31",
"businessID": 1,
"verification_status": {
"email": 1,
"phone": 1,
"bvn": 0,
"bvn_issubmitted": 0,
"ssnitid": 0,
"ssnitid_issubmitted": 0,
"ssn": 0,
"ssn_issubmitted": 0
},
"quick_link": {
"store": 1,
"orders": 0,
"withdraw": 1,
"donate": 1,
"bills": 1,
"inbox": 0,
"transactions": 1,
"contact": 0
},
"zodiac": {
"sign": "Sagittarius",
"icon": "https://api.pandascrow.io/assets/img/zodiac/zodiac-sagittarius.png",
"quote": "Inquisitive. Searches every nook and cranny for answers until they gain clarity. They avoid scams with thorough questioning π",
"date": "1990-12-01"
},
"kyc_status": {
"personal": 1,
"business": 0,
"verification": 0,
"settlement": 1,
"progress": 100,
"send_verrequest": 0
}
}
}
}
curl -L -X POST '{{baseurl}}/sandbox/index/user/auth/login' \
-H 'Content-Type: application/json' \
-H 'Authorization: SECRET_KEY' \
-H 'Appid: appid'