ffl_integrations.atf.ez_check_api¶
Source: apps/ffl_integrations/ffl_integrations/atf/ez_check_api.py · 3 endpoint(s)
Generated by
make api-docs— do not edit by hand.
verify_customer_ffl¶
POST /api/method/ffl_integrations.atf.ez_check_api.verify_customer_ffl
Auth (derived from code): Roles: Stock Manager / System Manager
Live-verify a dealer customer's FFL and stamp the result on the Customer.
Customer-side mirror of verify_supplier_ffl: stamps status/licensee/expiry onto the Customer. The dealer-shipment gate (ffl_core.compliance.dealer_transfer) requires Verified + unexpired before firearms may ship to this customer. A provider outage stamps status "Failed" rather than raising.
| arg | type | required | default | description |
|---|---|---|---|---|
customer_name |
string | yes | — | Customer with a non-empty ffl_number. |
Returns: {ok, status, licensee_name, expiry_date}.
apps/ffl_integrations/ffl_integrations/atf/ez_check_api.py:47
verify_own_ffl¶
POST /api/method/ffl_integrations.atf.ez_check_api.verify_own_ffl
Auth (derived from code): Roles: System Manager
Live-verify the store's own FFL (FFL Settings → Our FFL Licence Number).
The Test Connection of the FFL Settings form: exercises the configured provider end to end without stamping anything. Provider outages come back as status "Failed" with the reason rather than a traceback.
Returns: {ok, status, licensee_name, expiry_date, error}. ok is true only for status "Verified".
apps/ffl_integrations/ffl_integrations/atf/ez_check_api.py:85
verify_supplier_ffl¶
POST /api/method/ffl_integrations.atf.ez_check_api.verify_supplier_ffl
Auth (derived from code): Roles: Stock Manager / System Manager
Live-verify a supplier's FFL and stamp the result on the Supplier.
The Verify FFL button on the Supplier form. Stamps ez_check_status/licensee/expiry; a provider outage stamps status "Failed" rather than raising.
| arg | type | required | default | description |
|---|---|---|---|---|
supplier_name |
string | yes | — | Supplier with a non-empty ffl_number. |
Returns: {ok, status, licensee_name, expiry_date}.
apps/ffl_integrations/ffl_integrations/atf/ez_check_api.py:67