For AI agents: the complete documentation index is available at /es/llms.txt, the full documentation bundle is available at /es/llms-full.txt, and this page is available as Markdown at /es/guide/start/getting-started.md.
  • Español
  • Primeros pasos

    1. Obtén tus credenciales

    Solicita un client ID y un client secret a tu contacto de integración de Finity. Usa credenciales separadas para sandbox y producción.

    2. Solicita un token

    curl -X POST https://sandbox.dev.finity.com.co/v0/oauth/token \
      -H 'Content-Type: application/json' \
      -d '{"grant_type":"client_credentials","client_id":"YOUR_CLIENT_ID","client_secret":"YOUR_CLIENT_SECRET"}'

    La respuesta contiene access_token, token_type y el tiempo de expiración. Trata el token como un secreto y solicita uno nuevo cuando expire.

    3. Llama un endpoint protegido

    curl https://sandbox.dev.finity.com.co/v0/rates?from=USD\&to=COP \
      -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'

    4. Continúa con tu flujo

    Usa el resumen de la API para consultar parámetros obligatorios, ejemplos, códigos de respuesta y grupos de operaciones disponibles.