Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Billie Direct API, 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%2Fbillie.io%2Fbillie" | 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%2Fbillie.io%2Fbillie" | 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 Billie Direct API.
Authenticate via OAuth 2.0 bearer tokens with revocation and validation endpoints
Create and update B2B orders, then cancel them before fulfillment
Capture invoices against orders, confirm payment, and extend the payment due date
Issue credit notes and pause dunning on disputed invoices to protect the buyer relationship
GET STARTED
Spin up hosted checkout sessions or in-line authorization flows for embedded BNPL
Patterns agents use Billie Direct API for, with concrete tasks.
★ B2B buy-now-pay-later checkout
Offer Billie BNPL as a checkout option on a B2B storefront. The agent calls POST /orders to create the order, POST /invoices to capture payment terms, and uses POST /checkout/session/hpp for the hosted page when the buyer prefers Billie's UX. Buyers get net-payment terms and the merchant gets paid up front by Billie.
Call POST /orders for a buyer at €1,200 net-30, then call POST /invoices to capture the invoice and return the resulting captureId
Dispute and credit-note handling
Pause dunning when a buyer raises a dispute and issue a credit note when goods are returned or the invoice was incorrect. POST /invoice/{captureId}/pause-dunning halts collections, POST /invoices/{captureId}/credit-notes issues the credit, and DELETE /invoices/{captureId} cancels the invoice as a refund. This keeps the buyer relationship intact while finance reconciles.
Call POST /invoice/{captureId}/pause-dunning for a disputed invoice, then issue a €200 credit note via POST /invoices/{captureId}/credit-notes
Payment-term extension for cash-strapped buyers
Extend the due date on an invoice when a buyer needs more time, without writing the receivable off. POST /invoices/{captureId}/extend-duration extends the term and POST /invoices/{captureId}/update-details lets the agent update the metadata. Useful for finance ops automating extension requests that would otherwise sit in a support queue.
Call POST /invoices/{captureId}/extend-duration for an invoice nearing due date, extending the payment window by 14 days
Order lifecycle management
Manage the full order lifecycle from creation to capture or cancellation. POST /orders creates, POST /orders/{id} updates, GET /orders/{id} reads detail, and POST /orders/{id}/cancel cancels before the invoice is captured. POST /invoices/{captureId}/confirm-payment closes the loop once funds arrive.
Call POST /orders to create an order, then GET /orders/{id} to read its status, and POST /orders/{id}/cancel if the buyer abandons checkout
Agent-driven BNPL flow via Jentic
An AI agent uses Jentic to discover Billie operations from intents like 'create a b2b bnpl order' or 'pause dunning on an invoice'. Jentic returns the matching operation, loads its schema, and executes with the OAuth bearer token from the vault. The agent can run the full BNPL lifecycle without ever holding the raw token.
Search Jentic for 'create a b2b bnpl order in billie', load the POST /orders schema, and execute it for a buyer with €1,200 net-30 terms
20 endpoints — jentic publishes the only available openapi specification for billie direct api, keeping it validated and agent-ready.
METHOD
PATH
DESCRIPTION
/oauth/token
Request an OAuth token
/orders
Create a B2B order
/orders/{id}/cancel
Cancel an order
/invoices
Capture an invoice (payment)
/invoices/{captureId}/confirm-payment
Confirm invoice payment
/invoices/{captureId}/credit-notes
Issue a credit note
/invoices/{captureId}/extend-duration
Extend invoice payment duration
/checkout/session/hpp
Create a hosted payment page session
/oauth/token
Request an OAuth token
/orders
Create a B2B order
/orders/{id}/cancel
Cancel an order
/invoices
Capture an invoice (payment)
/invoices/{captureId}/confirm-payment
Confirm invoice payment
/invoices/{captureId}/credit-notes
Issue a credit note
/invoices/{captureId}/extend-duration
Extend invoice payment duration
/checkout/session/hpp
Create a hosted payment page session
What agents get from Jentic-routed access to this vendor.
Setup
Wiring the Billie Direct API by hand means exchanging OAuth client credentials at /oauth/token, refreshing the access token, and shaping each B2B order and invoice-capture body yourself. Through Jentic you install once, import Billie from the API Directory, store the client credentials once, and your agent calls it.
Permission scoping
Billie puts the order and capture id in the URL path (/orders/{id}/cancel, /invoices/{captureId}/confirm-payment), so a rule can pin your agent to one order or one capture. You choose the operations it may call, so cancelling an order or issuing a credit note is not included unless you add them.
Credential isolation
Your Billie OAuth client credentials and access token are stored once, encrypted, by your own Jentic One instance and injected at execution time. They never enter the agent's prompt, logs, or context.
Intent-based discovery
Agents search Jentic by intent such as 'create a B2B BNPL order' or 'confirm payment on an invoice', and Jentic returns the matching Billie 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.
Stripe
Stripe handles card and instant payments alongside Billie's BNPL terms.
Use Stripe alongside Billie when the cart offers card or wallet payment as alternatives to deferred B2B terms.
Specific to using Billie Direct API through Jentic.
Why is there no official OpenAPI spec for Billie Direct API?
Billie does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call Billie Direct API via structured tooling. It is validated against the live API and kept up to date. Get started with Jentic One, the self-hosted execution layer.
What authentication does the Billie Direct API use?
Billie uses OAuth 2.0 with JWT bearer tokens. Call POST /oauth/token to mint a token and pass it as Authorization: Bearer on every subsequent call. POST /oauth/token/revoke revokes a token and GET /oauth/authorization validates one. Through Jentic the OAuth client and tokens sit encrypted in the vault.
Can I issue credit notes with this API?
Yes. Call POST /invoices/{captureId}/credit-notes against a captured invoice to issue a credit note for the disputed or returned amount. Pair with DELETE /invoices/{captureId} when the entire invoice needs to be cancelled, or POST /invoice/{captureId}/pause-dunning when the buyer is in dispute and you want to halt collections.
How do I run a checkout session through Jentic?
Search Jentic for 'create a billie hosted checkout session'. Jentic returns the POST /checkout/session/hpp operation, loads its schema, and your agent calls it with the order detail. Use POST /checkout/session for an in-line flow or PUT /checkout/session/{id}/confirm to confirm a session.
What rate limits apply to the Billie Direct API?
The published spec does not document specific rate limits. As a payment provider Billie throttles per merchant to prevent abuse, so cache OAuth tokens (rather than minting one per request via POST /oauth/token) and back off if HTTP 429 is returned.
Is the Billie Direct API free?
API access is part of Billie's merchant offering rather than a separate paid tier; Billie earns revenue on the BNPL transactions themselves. You need an active Billie merchant account and OAuth credentials to use the Direct API. Jentic does not add usage charges on top.
Can I limit what my agent is allowed to do with the Billie Direct API?
Yes. Because you run Jentic One yourself, your own rules decide which Billie operations the agent may call and which OAuth credentials it may use. Billie puts the order and capture id in the URL path, as in /orders/{id}/cancel and /invoices/{captureId}/confirm-payment, so you can pin the agent to a single order or invoice. You also pick the exact operations it can reach, so destructive calls like cancelling an order or issuing a credit note via POST /invoices/{captureId}/credit-notes stay off limits until you explicitly add them.
Know of an official OpenAPI document? Contribute it →
For Agents
Run a B2B buy-now-pay-later flow end-to-end: create orders, capture invoices, extend due dates, issue credit notes, and host checkout sessions through Billie.
Use for: I need to create a B2B BNPL order for a buyer, I want to capture an invoice against an existing order, Extend the payment duration on an outstanding Billie invoice, Issue a credit note against a captured invoice
Not supported: Does not handle consumer BNPL, card processing, or accounting reconciliation - use for B2B buy-now-pay-later orders, invoice capture, and dunning control only.
Jentic publishes the only available OpenAPI specification for Billie Direct API, keeping it validated and agent-ready. Billie is a German buy-now-pay-later provider focused on B2B transactions, and the Direct API runs the full BNPL flow: OAuth bearer auth, order creation and updates, invoicing with capture-style payment, credit notes, dunning controls, and a hosted checkout session option. Agents can create an order, capture an invoice, extend the payment duration, pause dunning if a buyer disputes, and issue credit notes against past invoices.