Your data has a carriage return at the end:
$ status=$'409\r'
$ echo "<<$status>>"
>>409
To remove it, use tr -d '\r'tonumber in jq:
status=$( curl ... | jq ... | tr -dr '\r''.[0].status|tonumber' )
Also note that there is no need for status to be an array variable, as in your script, as far as I can see.