Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Integração Koin - iFood, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fsp-api.koin.com.br%2Fsp-api-koin" | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fsp-api.koin.com.br%2Fsp-api-koin" | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Integração Koin - iFood API.
Run a pre-limit analysis that simulates a customer's available limit, rate, and late fee before signup completes
Look up a customer's current credit limit, which recalculates through Koin's credit engine when no valid limit exists
Create an order with transaction, payer, and recipient data and get back a transaction_id and status
Cancel an order in full, partially, or with a penalty using an idempotencyKey
GET STARTED
List a customer's invoices with due dates and totals, and drill into each installment's status, interest, and payable amount
Generate a PIX QR code, with its EMV payload, to pay an invoice or installment due on a given date
Patterns agents use Integração Koin - iFood API for, with concrete tasks.
★ Agent-assisted customer support for Koin installments
A support agent working for the iFood integration team answers customer questions about Koin purchases through Jentic. It looks up the customer's invoices by CPF, reads the installment detail for the due date in question, and, when the customer wants to pay, generates a PIX QR code for that invoice. A rule can keep the agent to these read and QR operations so it never creates or cancels orders.
Call POST /invoices with filter.socialSecurityNumber set to the customer's CPF, then POST /invoices/detail for the invoice whose originalDueDate is 2026-12-10, then POST /invoices/qr-code with that document and dueDate
Credit-backed checkout
At checkout, the integration checks the customer's Koin limit and then creates the order. The order request requires a transaction with reference_id, channel, and amount, a payer with document, email, name, birthdate, phone, and address, and a recipient with full_name, and the response returns a transaction_id and status synchronously.
Call POST /limit with the customer's details to read availableLimit, and if it covers the basket, call POST /order with a transaction amount of 89.90 BRL and the payer and recipient objects
Order cancellations and partial refunds
When an iFood order is cancelled, the reverse operation records a cancellation of type 1 (total), 2 (partial), or 3 (with penalty). Each request needs the order reference, the type, the value, and an idempotencyKey, and can carry bank details for the refund.
Call POST /order/cancel with the order reference, type 2, value 25.00, and a new idempotencyKey to cancel part of the order
12 endpoints — the integração koin - ifood api connects ifood's checkout to koin's buy-now-pay-later credit in brazil: it pre-analyses and signs up customers, checks their available credit limit, and creates or cancels the orders financed by that limit.
METHOD
PATH
DESCRIPTION
/limit
Get a customer's credit limit
/prelimit
Run a pre-limit analysis
/order
Create an order
/order/cancel
Cancel an order in full or in part
/invoices
List invoice summaries
/invoices/detail
List installment details
/invoices/qr-code
Generate a PIX QR code
/limit
Get a customer's credit limit
/prelimit
Run a pre-limit analysis
/order
Create an order
/order/cancel
Cancel an order in full or in part
/invoices
List invoice summaries
/invoices/detail
List installment details
/invoices/qr-code
Generate a PIX QR code
What agents get from Jentic-routed access to this vendor.
Setup
Wiring this integration by hand means managing a JWT bearer token, switching between the production and pre-production hosts, building the nested device and details payloads, and generating idempotency keys for cancellations. Through Jentic you install once, import the API from the API Directory, store the token once, and your agent calls it.
Permission scoping
Every operation is a POST that carries the customer CPF and order reference in the request body, so rules bound which operations your agent may call, not which customer or order. You choose the operations it may call, so ones like order creation or cancellation are not included unless you add them.
Credential isolation
Your Koin 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.
Intent-based discovery
Agents search Jentic by intent such as 'check a customer credit limit' or 'generate a PIX QR code', and Jentic returns the matching Koin operation with its input schema so the agent calls the right endpoint without browsing the reference docs.
Alternatives and complements available in the Jentic catalogue.
Specific to using Integração Koin - iFood API through Jentic.
What authentication does the Integração Koin - iFood API use?
The API authenticates with an HTTP bearer token in JWT format, sent in the Authorization header, per its OpenAPI spec, and the spec applies it globally to every operation. Through Jentic the token is stored encrypted by your own Jentic One instance and injected at call time, so it never enters the agent's context.
Can I generate a PIX payment code with the Integração Koin - iFood API?
Yes. POST /invoices/qr-code takes the customer's document and the invoice dueDate and returns a QR code with its emv payload, a qrCodeUrl, the amount, and any delayCharges, so the customer can pay that invoice or installment by PIX.
What are the rate limits for the Integração Koin - iFood API?
The OpenAPI spec does not specify rate limits. Check with Koin through `koin.com.br` for the limits that apply to your integration.
How do I check a customer's credit limit through Jentic?
Install Jentic One with `curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh`, import the API from the Jentic API Directory, and store your bearer token once. Your agent searches for 'check a customer credit limit', gets POST /limit with its input schema, and sends the details object with the customer's email, name, birthDate, phoneDetail, addressDetail, and documentDetail. To run it on your own infrastructure, install Jentic One from its GitHub repo.
Is there a Koin MCP server?
You don't need an MCP server to give your agent the Integração Koin - iFood API. Jentic connects it directly from the API Directory: import it, store your token once, and your agent calls it. Operations are discovered by intent when they are needed, so no extra tool definitions are loaded into the agent's context.
Can I limit what my agent is allowed to do with the Integração Koin - iFood API?
Yes. For a support assistant, write a rule that allows only POST /invoices, POST /invoices/detail, and POST /invoices/qr-code. The agent can look up invoices and installments and issue a PIX code, while order creation, cancellation, and signup stay outside what it can reach, and every call it makes is logged.
Know of an official OpenAPI document? Contribute it →
For Agents
Check a customer's Koin credit limit, create and cancel iFood orders financed by Koin, list invoices and installments, and generate PIX QR codes for payment.
Use for: Check the available Koin limit for this CPF, I need to create a Koin-financed order for an iFood purchase, Cancel this order partially and refund part of the value, List all invoices due next month for this customer
Not supported: Does not handle card acquiring, merchant payouts, or food ordering on iFood itself. Use for Koin buy-now-pay-later credit, orders, invoices, and PIX payment codes in the iFood integration only.
The Integração Koin - iFood API connects iFood's checkout to Koin's buy-now-pay-later credit in Brazil: it pre-analyses and signs up customers, checks their available credit limit, and creates or cancels the orders financed by that limit. It also lists a customer's invoices and their installments, generates a PIX QR code to pay an invoice or installment, and exchanges limit-change webhooks between iFood and Koin. Requests identify the customer by CPF and are sent as JSON with a bearer token, against a production host and a pre-production host.
This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.
Base layer of spec validity and structural soundness.
Aggregated quality score from linter diagnostics, weighted by severity.
Percentage of `$ref` references that resolve successfully.
Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).
Structural correctness score based on schema issues using logarithmic dampening.
Clarity, completeness, and ingestion readiness for developers and tooling.
How richly the API is illustrated with examples.
Percentage of examples that conform to their schemas.
Percentage of operations with complete response definitions (success, client error, server error).
Health of API ingestion, bundling, and resolution within Jentic pipelines.
Semantic breadth, depth, and agent comprehension for AI systems.
Coverage of descriptions across API elements.
Coverage of RFC 9457 Problem Details for error responses.
Coverage, uniqueness, and casing consistency of operationIds for AI inference.
Coverage of summaries across operations/tags/info.
Functional utility, complexity comfort, and AI orchestration readiness.
Agent comfort level based on API operational and structural complexity.
Trust, risk posture, and security compliance.
Average quality of security schemes based on authentication method strength (weakest link for OAuth2).
Findability, semantic richness, and reasoning readiness.
Clarity and depth of descriptions across API elements.
Score it yourself
Every API in the directory is allowlisted, so you can re-score it with no key required.
npx @jentic/api-scorecard-cli score <openapi-url>