Skip to main content

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

License

MIT

Project details


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.3.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

verifiquemos-0.1.3-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file verifiquemos-0.1.3.tar.gz.

File metadata

  • Download URL: verifiquemos-0.1.3.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

Hashes for verifiquemos-0.1.3.tar.gz
Algorithm Hash digest
SHA256 ba295010468541306235df5ba58e1498a04d19f5ec4443b5a947bb60edaa76a7
MD5 cbce8df77e3f91c8037c726026422a59
BLAKE2b-256 09a8c6ff0fe4ae5a3c6471e9c6f414be947f10c762457870d901f7f81361b862

See more details on using hashes here.

File details

Details for the file verifiquemos-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: verifiquemos-0.1.3-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

Hashes for verifiquemos-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2d820ef99b9e65d5e967d3f2afc46bb89e8132fff7fc9cb2306a93f095a0296f
MD5 50cfd76f0eb3ee072314fc1c1bc2a02d
BLAKE2b-256 bc2628e05dc6db89a8d5a68c2ee48ddabed6601eb36264db1e316140cdc6a0ef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page