canonical: https://jentic.com/apis/swaggerhub.visanetperu/api-visanet-antifraud

# Visanetperu API Visanet Antifraud

API encargada de la evaluacion para la transaccion. The API exposes 1 endpoints secured with apiKey authentication.

## For AI agents

Programmatically antifraud. Covers 1 operations with apiKey authentication.

## Scope

Does not handle payments, communications, or crm - use for developer tools only.

## Capabilities

- Antifraud
- Manage developer tools data programmatically
- Integrate API Visanet Antifraud into automated workflows
- Query and filter API Visanet Antifraud records by parameters
- Monitor API Visanet Antifraud operational status and events

## Use cases

### Developer Tools Operations

Use the API Visanet Antifraud to perform developer tools operations programmatically. The API provides 1 endpoints covering core functionality including antifraud.

Example prompt: Call POST /antifraud/{product}/{merchantId} to antifraud

### Data Retrieval and Monitoring

Query API Visanet Antifraud resources on a schedule to track changes, generate alerts, or feed downstream dashboards. Agents poll relevant endpoints, compare against previous state, and trigger actions when thresholds are crossed.

Example prompt: Poll the primary API Visanet Antifraud endpoint, compare response to last known state, and alert if changed

### AI Agent Integration via Jentic

AI agents discover and call API Visanet Antifraud endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle apiKey tokens manually.

Example prompt: Search Jentic for 'antifraud', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | /antifraud/{product}/{merchantId} | Antifraud |

## Key resources

- **Antifraud Api** — RESTful API to evaluate transactions.

## Why Jentic

- **Setup:** Wiring the API Visanet Antifraud by hand means obtaining an access token from Niubiz api.security, passing it in the Authorization header, and coding the antifraud call against its vnforapps.com host yourself. Through Jentic you install once, import the API Visanet Antifraud from the API Directory, store the key once, and your agent calls it.
- **Permission scoping:** The API Visanet Antifraud puts the product and merchant id in the URL path (/antifraud/{product}/{merchantId}), so a rule can pin your agent to one merchant: it can run antifraud checks for that merchant and nothing else. You choose the operations it may call, so this stays the single operation you grant rather than a broader set.
- **Credential handling:** Your Niubiz access token is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'run an antifraud check for a merchant', and Jentic returns the matching API Visanet Antifraud operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Github** — Alternative developer tools API
- **Gitlab** — Alternative developer tools API

## FAQ

### What authentication does the API Visanet Antifraud use?

The API Visanet Antifraud uses an API key passed in the `Authorization` header. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I antifraud with the API Visanet Antifraud?

Yes. Use the POST /antifraud/{product}/{merchantId} endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the API Visanet Antifraud?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I antifraud through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'antifraud'. Jentic returns the matching API Visanet Antifraud operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the API Visanet Antifraud have?

The API Visanet Antifraud exposes 1 endpoints covering antifraud API operations.

### Can I limit what my agent is allowed to do with the API Visanet Antifraud?

Yes. Because Jentic One is self-hosted and governed by your own rules, you decide which operations and credentials your agent may use. This API takes the product and merchant id in the URL path (/antifraud/{product}/{merchantId}), so you can pin the agent to a single merchant and let it run antifraud checks only for that merchant. Since you grant operations one at a time, its access stays scoped to the single POST /antifraud/{product}/{merchantId} call and nothing more.
