New integration keys receive both invoice scopes. The required scope is also declared on every generated endpoint page.
Missing scope
An authenticated key without the required permission receives403 Forbidden with the error code insufficient_scope.
403 as an authentication retry. Create a replacement key, update the integration to use it, and then revoke the old key.