Product
Jentic OSThe workplace. An in-house AI platform for every employeeJentic OneSafe access. Agents reach your systems without holding keysJentic AIRThe foundation. Gets your existing platforms ready for AI
Pricing
Developers

GET STARTED

API DirectoryBrowse 10,000+ APIs Ready For AI Agent IntegrationDocumentationGuides and API reference

TOOLS

API ScoringCheck your AI Readiness using our scorecardArazzo UIVisualize Arazzo Workflows As Interactive DocumentationArazzo EditorBuild And Edit Multi-Step API Workflows Visually

COMMUNITY

GitHubOpen source projects and examplesOpen StandardsBuilt on open specs. Never locked in.
Resources
Company
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationAPI ScoringArazzo UIArazzo EditorGitHubOpen Standards
Resources
About UsCareersContact
Try it now
JenticJentic
Products
  • Jentic OS
  • Jentic One
  • Jentic AIR
For Developers
  • API Directory
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
  • Trust Centre
ISO/IEC 27001:2022 certification badge issued by Prescient SecurityISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

Terms & Conditions•Privacy Policy•
© 2026 Jentic. All rights reserved.
Switch to light modeSwitch to dark mode
APIs / Payments / Vtex / Customer Credit API
Customer Credit API logo

Vtex Customer Credit API

Browse all Vtex APIs
PaymentsPayment ProcessingapiKey25 EndpointsREST

For Agents

Programmatically search all invoices, retrieve invoice by id. Covers 25 operations with apiKey authentication.

Use for: I need to all invoices, I want to invoice by id, Search for change invoice, Find all cancel invoice

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

With Customer Credit your store can enable **credit payments** through the checkout. You can also control **invoices** and the **credit limits** of your clients. Learn more about Customer Credit in our [Help Center article](https://help.vtex.com/en/tracks/customer-credit-getting-started--1hCRg21lXYy2seOKgqQ2CC/36grlQ69NK6OCuioeekyCs). Additionally, you can find more information on installment paym. The API exposes 25 endpoints secured with apiKey authentication.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the Customer Credit API to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Customer Credit 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.

1

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%2Fvtex.local%2Fcustomer-credit-api" | sh
2

Step 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%2Fvtex.local%2Fcustomer-credit-api" | sh
jentic register       # connects your agent to your Jentic One instance

Jentic 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.

Capabilities

What an agent can do with Customer Credit API.

Search all invoices

Retrieve invoice by ID

Change invoice

Cancel invoice

Mark an invoice as paid

Postpone an invoice

Use Cases

Patterns agents use Customer Credit API for, with concrete tasks.

★ Payments Operations

Use the Customer Credit API to perform payments operations programmatically. The API provides 25 endpoints covering core functionality including search all invoices, retrieve invoice by id, change invoice.

Call GET /api/creditcontrol/invoices to search all invoices

Automated Invoices Management

Automate invoices operations by combining multiple Customer Credit API endpoints. Agents can retrieve invoice by id and then change invoice in a single workflow.

Call GET /api/creditcontrol/accounts/{creditAccountId}/invoices/{invoiceId} to retrieve invoice by id, then verify the result

AI Agent Integration via Jentic

AI agents discover and call Customer Credit API 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.

Search Jentic for 'search all invoices', load the operation schema, and execute with Jentic-managed credentials

Key Endpoints

25 endpoints — with customer credit your store can enable **credit payments** through the checkout.

METHOD

PATH

DESCRIPTION

GET

/api/creditcontrol/invoices

Search all invoices

GET

/api/creditcontrol/accounts/{creditAccountId}/invoices/{invoiceId}

Retrieve invoice by ID

PUT

/api/creditcontrol/accounts/{creditAccountId}/invoices/{invoiceId}

Change invoice

DELETE

/api/creditcontrol/accounts/{creditAccountId}/invoices/{invoiceId}

Cancel invoice

GET

/api/creditcontrol/accounts/{creditAccountId}/invoices

Retrieve invoices by Customer Credit account ID

POST

/api/creditcontrol/accounts/{creditAccountId}/invoices/{invoiceId}/payments

Mark an invoice as paid

PUT

/api/creditcontrol/accounts/{creditAccountId}/invoices/{invoiceId}/postponement

Postpone an invoice

POST

/api/creditcontrol/accounts

Open an account

GET

/api/creditcontrol/invoices

Search all invoices

GET

/api/creditcontrol/accounts/{creditAccountId}/invoices/{invoiceId}

Retrieve invoice by ID

PUT

/api/creditcontrol/accounts/{creditAccountId}/invoices/{invoiceId}

Change invoice

DELETE

/api/creditcontrol/accounts/{creditAccountId}/invoices/{invoiceId}

Cancel invoice

GET

/api/creditcontrol/accounts/{creditAccountId}/invoices

Retrieve invoices by Customer Credit account ID

POST

/api/creditcontrol/accounts/{creditAccountId}/invoices/{invoiceId}/payments

Mark an invoice as paid

PUT

/api/creditcontrol/accounts/{creditAccountId}/invoices/{invoiceId}/postponement

Postpone an invoice

POST

/api/creditcontrol/accounts

Open an account

Why Jentic?

What agents get from Jentic-routed access to this vendor.

Setup

Setup

Wiring the VTEX Customer Credit API by hand means setting both the X-VTEX-API-AppKey and X-VTEX-API-AppToken headers, resolving the account and environment host template, and managing the invoice and account calls yourself. Through Jentic you install once, import the Customer Credit API from the API Directory, store the key pair once, and your agent calls it.

Permission scoping

Permission scoping

The Customer Credit API puts the credit account and invoice ids in the URL path (/api/creditcontrol/accounts/{creditAccountId}/invoices/{invoiceId}), so a rule can pin your agent to reading invoices for one account. You choose the operations it may call, so destructive ones like invoice deletion are not included unless you add them.

Credential management

Credential isolation

Your VTEX AppKey and AppToken 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

Intent-based discovery

Agents search Jentic by intent such as 'list invoices' or 'read an invoice for an account', and Jentic returns the matching Customer Credit API operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Alternative

Stripe

Alternative payments API

Choose Stripe when you need a different approach to payments operations

Alternative

Adyen

→

Alternative payments API

Choose Adyen when you need a different approach to payments operations

Complementary

Square

→

Complementary payments API

Choose Square when you need a complementary approach to payments operations

Complementary

Paypal

→

Complementary payments API

Choose Paypal when you need a complementary approach to payments operations

FAQs

Specific to using Customer Credit API through Jentic.

What authentication does the Customer Credit API use?

The Customer Credit API uses an API key passed in the `X-VTEX-API-AppKey` 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 search all invoices with the Customer Credit API?

Yes. Use the GET /api/creditcontrol/invoices endpoint. The API returns structured JSON responses that agents can parse and act on directly.

What are the rate limits for the Customer Credit API?

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 search all invoices through Jentic?

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

How many endpoints does the Customer Credit API have?

The Customer Credit API exposes 25 endpoints covering invoices, account, store configuration operations.

Can I limit what my agent is allowed to do with the Customer Credit API?

Yes. Jentic One is self-hosted by you, so your own rules decide which Customer Credit API operations and credentials the agent may use. Because the credit account and invoice ids sit in the URL path (/api/creditcontrol/accounts/{creditAccountId}/invoices/{invoiceId}), you can pin the agent to reading invoices for a single account, and you choose the exact operations it may call so destructive ones like Cancel invoice (DELETE) stay out unless you add them. Your VTEX AppKey and AppToken are stored encrypted by your own instance and injected only at execution time, never entering the agent's prompt or logs.

GET STARTED

Start building with Customer Credit API

Explore with Jentic One
View OpenAPI Document