Skip to main content

Shooting House Integration (Financial Standing)

The Shooting House integration connects ACCELERO to the external Shooting House system to query the person's financial standing at the moment of access. With the plugin active, ACCELERO queries the external system by the person's CPF and, based on the response, grants or denies passage — useful in environments (such as shooting clubs) where entry depends on the member being financially up to date.

Availability

This integration is provided as a plugin (shootinghouse) and must be installed and enabled by the IONGRADE technical team. Contact support to check compatibility with your ACCELERO version.

Compatibility

Current plugin version: 1.0.0 — compatible with ACCELERO 2.17.0 or higher.


What the integration does​

The integration adds an access verification rule that queries Shooting House in real time, during passage, and decides the release according to the returned financial standing.

FeatureWhat happens in ACCELERO
Financial standing queryOn an access attempt, ACCELERO queries Shooting House by the person's CPF and checks the returned financial status
Release for up-to-date standingIf the external system indicates a regular financial standing, access is authorized by the rule
Blocking for a financial pending itemIf the financial status is negative (or the CPF is not recognized by the external system), access is denied
Behavior in case of failureIf the API query fails, access is granted or denied according to the option configured in If the request fails
Event recordingWhen access is denied by the rule, the log event "Access denied - Financial standing" is generated
Main benefit

Conditions physical passage on the financial standing maintained in an external system, without the operator having to manually check the financial record on each access.


Configuration​

Navigation path: Advanced > System > Integrations - Shooting House

The configuration screen has a single tab: General.

Shooting House screen, General tab, with Endpoint, User, Password, If the request fails set to Access denied and the Status switch on

FieldDescription
EndpointBase URL of the Shooting House service used for the query. ACCELERO appends the person's CPF to this URL at query time. Provided by IONGRADE during deployment
UserUser for authentication in the Shooting House service (Basic authentication)
PasswordPassword corresponding to the user
If the request failsDefines the behavior when the API query fails: Access allowed or Access denied
StatusSwitch that activates or deactivates the integration. With Status off, the verification rule always authorizes access, without querying the external system
Credentials

The credentials (Endpoint, User, and Password) are provided by IONGRADE during deployment. All fields are required.

Screen buttons​

ButtonFunction
BackReturns without saving
SavePersists the configuration

Access verification rule​

The plugin provides a dedicated access verification rule, "Shooting House - Financial standing query", that conditions passage on the person's financial standing in the external system.

Navigation path: Advanced > System > Customization - Customizable access rules, Access rules to enable field.

The rule is enabled for the whole system: once checked, it takes part in the decision of every person access. To suspend the verification without unchecking the rule, turn off the Status in the integration configuration.

Customizable access rules screen with the Shooting House - Financial standing query option checked

How the rule decides​

  1. Integration deactivated — if the configuration Status is off, the rule authorizes access without querying the external system.
  2. Successful query and regular standing — if Shooting House responds indicating an up-to-date financial standing, access is authorized.
  3. Successful query and irregular standing — if the returned financial status is negative, or the CPF is not recognized / the response is invalid, access is denied and the event "Access denied - Financial standing" is recorded.
  4. Query failure — if the API call fails (timeout or communication error), the decision follows the option configured in If the request fails: Access allowed grants; any other configuration denies access.
Query by CPF

The query uses the person's document (CPF) registered in ACCELERO. People without a registered CPF, or whose CPF does not exist in Shooting House, have access denied by the rule.


How the query works​

At the moment of access, ACCELERO makes a request to the configured Endpoint, providing the person's CPF, and authenticates with User and Password (Basic authentication). The integration works with a short response time limit; if the external service is slow or becomes unavailable, the call is treated as a failure and the decision follows the If the request fails option.

Release depends on the financial-standing indicator returned by Shooting House: a regular standing grants; an irregular standing blocks.


Integration test​

The plugin provides an endpoint to validate communication with Shooting House from a CPF registered in ACCELERO, returning the person's name and the query result (Approved or Rejected).

Request: GET /external/shootinghouse/integration-teste/{cpf}, where {cpf} is the CPF digits only, the same as the document registered on the person in ACCELERO.

curl -k https://<accelero-server>/external/shootinghouse/integration-teste/12345678909

The endpoint finds the person by CPF and runs the same query the access rule runs (Endpoint + CPF + ?searchBy=CPF, with User and Password). Unlike the rule, it queries Shooting House even with Status turned off and does not apply the If the request fails option.

SituationResponse
Query completedHTTP 200 with JSON: cpf, pessoa (name in ACCELERO) and financeiro (Aprovado or Reprovado)
CPF with no person in ACCELEROHTTP 400, "CPF não encontrado"
Query failure (empty or unreachable Endpoint, timeout)HTTP 500, "Error checking ShootingHouse online server - authorized by exception"
{"cpf":"12345678909","pessoa":"João Batista Ferreira","financeiro":"Aprovado"}

Reprovado (rejected) covers the same cases in which the rule denies access: negative financial status, CPF not recognized by Shooting House or a response in an invalid format.

When to use it: right after configuring the integration, to validate the Endpoint and credentials with the CPF of a known member; and to investigate an "Acesso negado - Situação financeira" denial, checking what Shooting House answers for that CPF at that moment.

Endpoint without authentication

The endpoint requires no login or token: anyone who can reach the ACCELERO server can query a person's name and financial status from a CPF. Restrict access to /external/shootinghouse/ in the firewall or reverse proxy, allowing only the technical team's network.


Use cases​

Enable financial verification on access​

  1. Request that IONGRADE install the shootinghouse plugin.
  2. Receive the Endpoint, User, and Password of the Shooting House service.
  3. In Advanced > System > Integrations - Shooting House, fill in the fields and set If the request fails.
  4. Turn on the Status switch.
  5. In Advanced > System > Customization - Customizable access rules, check Shooting House - Financial standing query in Access rules to enable and save.
  6. Validate with a known CPF in regular standing and another in irregular standing.

Investigate an access denied due to financial standing​

  1. Locate the event "Access denied - Financial standing" in Logs and Monitoring.
  2. Confirm the person's standing directly in the Shooting House system.
  3. If the denial was improper, check the person's registered CPF in ACCELERO and the Endpoint configuration.

Best practices​

  • Registered and correct CPF: the query depends on the person's CPF; keep the document filled in and correct in the record.
  • Consciously set "If the request fails": choosing Access allowed favors operational continuity during outages; Access denied favors the strictness of the control. Assess the customer's scenario.
  • Deactivate via Status, not via the rule: to temporarily suspend the verification, turn off the Status in the configuration — the rule stops querying the external system and starts authorizing.

Troubleshooting​

All accesses are being denied​

Possible causes:

  • Incorrect endpoint, user, or password, making the query fail with If the request fails = Access denied.
  • People's CPFs not registered or not recognized by Shooting House.

Solution:

  1. Check the Endpoint, User, and Password in Advanced > System > Integrations - Shooting House.
  2. Test the communication with a known CPF (see Integration test).
  3. Confirm that the people's CPFs exist in the Shooting House system.

The verification is not being applied​

Possible causes:

  • The Status switch is off.
  • The rule Shooting House - Financial standing query is not checked in Advanced > System > Customization - Customizable access rules.

Solution:

  1. Turn on the Status in the configuration.
  2. Confirm that the rule is checked in Access rules to enable, on the Advanced > System > Customization - Customizable access rules screen.

Accesses granted even with a financial pending item​

Possible causes:

  • If the request fails set to Access allowed combined with communication failures with Shooting House.

Solution:

  1. Check the stability of the communication with the Endpoint.
  2. Reassess the If the request fails option according to the customer's security policy.

Integration with other modules​

People​

The query uses the CPF from the People registry. Without a valid CPF, the rule denies access.

Access policy​

The verification is applied as an access verification rule. See Access Policy to understand how verification rules participate in the release decision.

Logs and Events​

Denials by the rule generate the event "Access denied - Financial standing". See Logs and Monitoring to track and audit these occurrences.


Next Steps​

  • People — Ensure the people's registered and correct CPF
  • Access Policy — Understand how access verification rules act
  • Logs and Monitoring — Track the events of access denied due to financial standing
  • Plugins — Learn more about the ACCELERO plugin system