Request Login
Request Login.
Request
Request header:
POST https://api.ipaymy.com/v2/admin/request_login
Host: api.ipaymy.com
Accept: application/json
Request body:
{
"email": "example@ipaymy.com",
"pass_code": "000000",
"app_id": "fetch"
}
email:
- Type: string
- Validate: required
pass_code:
- Type: string
- Validate: required
app_id:
- Type: string
- Validate: required
Response
Response body:
{
"data": {
"int_pay_reminder_notification": null,
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmb3IiOjQwMCwidWlkIjo0Nzc2MywidiI6IjF8MTI1ODk2fDQ3NzYzfF98MXwxfDF8MXw4MXwxfDB8MXxffDN8MTMxNDYzOXwwfGZldGNoIn0.0xCPDOGbqDD3naUMqd2NFJU8DROelQg_RrG84tqlwnQ"
},
"error": 0
}
Response codes:
- 200: Good stuff, and the response body should be easy to parse.
- 422: Typically malformed JSON, such as an integer in place of the required alphanumeric string, or a missing key. Check the response body for further details.