Troubleshooting HTTP API Error code 402
What HTTP API error 402 means, and how to resolve it
If you’ve received an Error 402 when sending an HTTP API request, it is caused by incorrect user details.
The username and password parameters for the HTTP API must be completed using your Master API Keys.
Further details on how to view your Master API Key, and generate a new password are available here: Master API Keys