API changes - Deprecation of mt5_password_change and mt5_password_reset API calls.

Dear developers,

Soon our clients will be able to log in to all their MT5 accounts with a single password, called 'trading password'.

As a result, the following API calls will be deprecated on 24 May:

  • mt5_password_change
  • mt5_password_reset

They’ll be replaced by these API calls:

  • trading_platform_password_change
  • trading_platform_investor_password_change
  • trading_platform_password_reset
  • trading_platform_investor_password_reset

Examples:

Change MT5 main password:

{
    "trading_platform_password_change": 1,
    "new_password": "",
    "old_password": ""
}

Change MT5 investor password:

{
    "trading_platform_investor_password_change": 1,
    "account_id": "MTR1000",
    "new_password": "",
    "old_password": "",
    "platform": "mt5"
}

Reset MT5 main password:

  • request for a verification_code for trading_platform_password_reset API call
{
    "verify_email": "[email protected]",
    "type": "trading_platform_password_reset"
}
{
    "trading_platform_password_reset": 1,
    "new_password": "",
    "verification_code": "abCD0199"
}

Reset MT5 investor password:

  • request for a verification_code for trading_platform_investor_password_reset API call
{
    "verify_email": "[email protected]",
    "type": "trading_platform_investor_password_reset"
}
{
    "trading_platform_investor_password_reset": 1,
    "account_id": "MTR1000",
    "new_password": "",
    "platform": "mt5",
    "verification_code": "abCD0199"
}

Please make the necessary changes to your code.

If you have any questions, contact us at [email protected]

Thank you.

Tagged:
Sign In or Register to comment.