What's the issue with my cURL request?

It should return a payload on success or failure.

Did you check the content of $response?

Also, I believe the usernames param format should be a string “username1,username2,...” instead.