Upcoming API Changes to get_account_status API
Dear developers,
We will be changing the name of the ‘experimental_suspended’ attribute (in the get_account_status API call) to ‘currency_config’ on 28 May 2020 at 1:00 AM GMT.
Please make the necessary changes to your code.
Before the change:
{ "echo_req": { "get_account_status": 1 }, "get_account_status": { "authentication": { "document": { "status": "none" }, "identity": { "further_resubmissions_allowed": 0, "services": { "onfido": { "documents_supported": [ "Passport", "Driving Licence", "National Identity Card" ], "is_country_supported": 1 } }, "status": "none" }, "needs_verification": [ ] }, "experimental_suspended": { "BTC": { "is_deposit_suspended": 0, "is_withdrawal_suspended": 0 } }, "prompt_client_to_authenticate": 0, "risk_classification": "low", "status": [ "financial_information_not_complete", "trading_experience_not_complete" ] }, "msg_type": "get_account_status" }
After the change:
{ "get_account_status": 1 } { "echo_req": { "get_account_status": 1 }, "get_account_status": { "authentication": { "document": { "status": "none" }, "identity": { "further_resubmissions_allowed": 0, "services": { "onfido": { "documents_supported": [ "Passport", "Driving Licence", "National Identity Card" ], "is_country_supported": 1 } }, "status": "none" }, "needs_verification": [ ] }, "currency_config": { "BTC": { "is_deposit_suspended": 0, "is_withdrawal_suspended": 0 } }, "prompt_client_to_authenticate": 0, "risk_classification": "low", "status": [ "financial_information_not_complete", "trading_experience_not_complete" ] }, "msg_type": "get_account_status" }
Thank you.
Team Deriv.com
api-support@deriv.com