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.com |
Override for staging/dev. |
timeout |
30.0 | httpx timeout in seconds. |
Documentation
- API reference: https://api.verifiquemos.com/scalar
- Developer portal: https://verifiquemos.com/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.4.tar.gz
(13.3 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.4.tar.gz.
File metadata
- Download URL: verifiquemos-0.1.4.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80cc8e43b875e1db97bac60d47bc871194c8966a3b0852f0627eb378ce11851d
|
|
| MD5 |
cf9dc9b269ec87ec568e7c9a394e5f6c
|
|
| BLAKE2b-256 |
ab4e20ab49706a516d511f7785647e001a29d67f4d018bcb518fc3f2045ce0d3
|
File details
Details for the file verifiquemos-0.1.4-py3-none-any.whl.
File metadata
- Download URL: verifiquemos-0.1.4-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 |
a79aaca9480cdef8d572065ae53e8921551fe4522bc505ce1c3ae21e75ac990c
|
|
| MD5 |
1cb850a15e947b0c27b07112faf9142c
|
|
| BLAKE2b-256 |
068515ae366a076e4a9fd738700077d340f0ea995a2013a0e63b7550e25e0f6d
|