Official Python SDK for the Verifiquemos compliance API
Project description
verifiquemos
Official Python SDK for the Verifiquemos compliance API.
KYC, RENAP, OFAC, ONU, Lista Engel, PEP, CPE — Guatemala-specific compliance in one API call.
Install
pip install verifiquemos
Quickstart (sync)
from verifiquemos import VerifiquemosClient
with VerifiquemosClient(api_key="vfq_...") as client:
me = client.auth.me()
print(me["tenant"]["name"])
# cui is NOT a parameter — it is extracted from the DPI via OCR.
with open("dpi.jpg", "rb") as f:
validation = client.validations.create(
naturaleza_cliente="individual",
dpi_file=f.read(),
pais_origen_fondos="GTM",
)
print(f"Validation submitted: {validation['id']}")
Quickstart (async)
import asyncio
from verifiquemos import AsyncVerifiquemosClient
async def main():
async with AsyncVerifiquemosClient(api_key="vfq_...") as client:
me = await client.auth.me()
print(me)
asyncio.run(main())
Error handling
from verifiquemos import ApiError, RateLimitError, NetworkError, VerifiquemosClient
with VerifiquemosClient(api_key="vfq_...") as client:
try:
client.validations.create(...)
except RateLimitError as e:
print(f"Retry after {e.retry_after_seconds}s")
except ApiError as e:
if e.is_payment_required:
print("Buy more credits")
else:
raise
except NetworkError:
print("Connection failed")
Configuration
| Argument | Default | Description |
|---|---|---|
api_key |
(required) | Server-issued API key. Starts with vfq_. |
base_url |
https://api.verifiquemos.gt |
Override for staging/dev. |
timeout |
30.0 | httpx timeout in seconds. |
Documentation
- API reference: https://api.verifiquemos.gt/scalar
- Developer portal: https://verifiquemos.gt/developers
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
verifiquemos-0.1.1.tar.gz
(13.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file verifiquemos-0.1.1.tar.gz.
File metadata
- Download URL: verifiquemos-0.1.1.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebeea12cfd8d7664c1790a8916ca39dbb44556487877800ceca533b5e20d06cb
|
|
| MD5 |
813a580432d542ba1c9bcc71a3a5141a
|
|
| BLAKE2b-256 |
59411cc116dcb368c3760b425f247c0028ae923c6f59f075625c69b50688195d
|
File details
Details for the file verifiquemos-0.1.1-py3-none-any.whl.
File metadata
- Download URL: verifiquemos-0.1.1-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50f94de2c0cda80a57fe4351b2f6fb54b11b23a22f8c36a7f2f4c6087b4bacfd
|
|
| MD5 |
fa07f99f00a12a496dde35b10ac60537
|
|
| BLAKE2b-256 |
e40fe834c152680eb1fb9192a5ef8cd0ac3fcebe06ccf405fe88a7c62a55ee00
|