wrong_auth_method

An API key was sent to a dashboard-only endpoint.

HTTP status401
Error typeauthentication_error
RetryNo. Check the key.

What to do

Dashboard endpoints (webhook endpoints, API keys, merchant settings) are managed in the dashboard UI.

Response shape

{
  "error": {
    "type": "authentication_error",
    "code": "wrong_auth_method",
    "message": "…",
    "doc_url": "https://docs.borga.is/errors/wrong_auth_method",
    "request_id": "req_…"
  }
}

See all error codes and how to handle them.