How to use API "new account virtual"?

edited February 2016 in General

Hello,

Any example for this feature: https://developers.binary.com/api/#new_account_virtual

Testing default code:
{ "new_account_virtual": "1", "email": "test@mydomain.com", "client_password": "abc123", "residence": "id", "verification_code": "Ag76JL9+B/g=" }

Always got this error:
{ "echo_req": { "email": "test@mydomain.com", "client_password": "abc123", "verification_code": "Ag76JL9+B/g=", "new_account_virtual": "1", "residence": "id" }, "error": { "details": { "verification_code": "does not match the regex pattern ^\w{15,128}$" }, "message": "Input validation failed: verification_code", "code": "InputValidationFailed" }, "msg_type": "new_account_virtual" }

Please advise

Thank you

Comments

This discussion has been closed.