API changes: restructuring of the authorize API response

Dear developers,

We’re changing the structure of the authorize API response. This will be released in the week starting April 12.

Note: This may affect your app(s) if you’re using fields that will be removed. Please make the necessary changes to your app(s) before April 12.

API response before the change:

{
  "authorize": {
    "account_list": [
      {
        "account_type": "trading",
        "trading": {}
        ...
      },
      ...
    ],
    "trading": {}
    ...
  },
  ...
}

API response after the change:

{
  "authorize": {
    "account_list": [
      {
        "account_category": "trading",
        "account_type": "binary",
        "linked_to": []
        ...
      },
      ...
    ],
    "linked_to": []
    ...
  },
  ...
}

If you have any questions, write to us at api-support@deriv.com.

Tagged:
Sign In or Register to comment.