Change password
Request
Request header:
PUT https://api.ipaymy.com/v2/password
Host: api.ipaymy.com
Accept: application/json
Authorization: Bearer your_access_token
Request body:
{
"old_password": "example@ipaymy.com",
"new_password": "ipaymy"
}
old_password:
- Type: string
- Validate: required
new_password:
- Type: string
- Validate: required
Response
Response body:
{
"data": {
"email": "example@ipaymy.com"
},
"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.