Spectrum API call fails with code 10012 unknown field

While creating a Spectrum application via terraform, the following error was returned:

    {
      "result": null,
      "success": false,
      "errors": [
        {
          "code": 10012,
          "message": "json: unknown field \"origin_port\""
        }
      ],
      "messages": []
    }

A quick look into the terraform provider and the API go client (cloudflare-go), the attribute is supported.
Using the example provided in the developer docs also returns the same error, this time about ip_firewall

Also looked at the api documentation, and origin_port does not show in the parameter list, but ip_firewall does.

Creating a spectrum app via the UI also doesn’t allow the same options as documented.

Is there an issue with the API ?

Thanks