API changes - adding 'email_consent' to 'new_account_virtual'
Dear developers,
We are adding ‘email_consent’ as a new optional parameter to our new_account_virtual
endpoint.
This new boolean parameter indicates whether the client has given consent for marketing emails.
When not specified, the email consent will default to:
- 0 for Europe and the UK accounts
- 1 for Rest of the World
For example:
{ "new_account_virtual": 1, "client_password": "C0rrect_p4ssword", "residence": "id", "verification_code": "uoJvVuQ6", "email_consent": 1 | 0 }
Please make the necessary changes to your code.
Thank you.
Team Deriv.com
api-support@deriv.com
Tagged: