For Agents
Programmatically list all gift card providers, get a gift card provider by id. Covers 15 operations with apiKey authentication.
Use for: I need to all gift card providers, I want to a gift card provider by id, Search for or update a gift card provider by id, Find all a gift card provider by id
Not supported: Does not handle communications, crm, or developer tools - use for payments only.
>ℹ️ Check the new [Payments onboarding guide](https://developers.vtex.com/vtex-rest-api/docs/payments-overview). We created this guide to improve the onboarding experience for developers at VTEX. It assembles all documentation on our Developer Portal about Payments and is organized by focusing on the developer's journey. The Gift Card Hub API allows interactions with all Gift card providers regist. The API exposes 15 endpoints secured with apiKey authentication.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Giftcard Hub 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%2Fvtex.local%2Fgiftcard-hub-api" | 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%2Fvtex.local%2Fgiftcard-hub-api" | 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 Giftcard Hub API.
List all gift card providers
Get a gift card provider by ID
Create or update a gift card provider by ID
Delete a gift card provider by ID
Monitor Giftcard Hub API operational status and events
GET STARTED
Patterns agents use Giftcard Hub API for, with concrete tasks.
★ Payments Operations
Use the Giftcard Hub API to perform payments operations programmatically. The API provides 15 endpoints covering core functionality including list all gift card providers, get a gift card provider by id, create or update a gift card provider by id.
Call GET /api/giftcardproviders to list all gift card providers
Automated Provider Management
Automate provider operations by combining multiple Giftcard Hub API endpoints. Agents can get a gift card provider by id and then create or update a gift card provider by id in a single workflow.
Call GET /api/giftcardproviders/{giftCardProviderId} to get a gift card provider by id, then verify the result
AI Agent Integration via Jentic
AI agents discover and call Giftcard Hub 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 'list all gift card providers', load the operation schema, and execute with Jentic-managed credentials
15 endpoints — >ℹ️ check the new [payments onboarding guide](https://developers.
METHOD
PATH
DESCRIPTION
/api/giftcardproviders
List all gift card providers
/api/giftcardproviders/{giftCardProviderId}
Get a gift card provider by ID
/api/giftcardproviders/{giftCardProviderId}
Create or update a gift card provider by ID
/api/giftcardproviders/{giftCardProviderId}
Delete a gift card provider by ID
/api/giftcardproviders/{giftCardProviderId}/giftcards
Create a gift card at a gift card provider
/api/giftcardproviders/{giftCardProviderId}/giftcards/_search
Get a gift card from a gift card provider
/api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId}
Get a gift card from a gift card provider by ID
/api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId}/transactions
Create a gift card transaction
/api/giftcardproviders
List all gift card providers
/api/giftcardproviders/{giftCardProviderId}
Get a gift card provider by ID
/api/giftcardproviders/{giftCardProviderId}
Create or update a gift card provider by ID
/api/giftcardproviders/{giftCardProviderId}
Delete a gift card provider by ID
/api/giftcardproviders/{giftCardProviderId}/giftcards
Create a gift card at a gift card provider
/api/giftcardproviders/{giftCardProviderId}/giftcards/_search
Get a gift card from a gift card provider
/api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId}
Get a gift card from a gift card provider by ID
What agents get from Jentic-routed access to this vendor.
Setup
Wiring the VTEX Giftcard Hub 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 gift card provider calls yourself. Through Jentic you install once, import the Giftcard Hub API from the API Directory, store the key pair once, and your agent calls it.
Permission scoping
The Giftcard Hub API puts the provider id in the URL path (/api/giftcardproviders/{giftCardProviderId}), so a rule can pin your agent to reading and searching gift cards for one provider. You choose the operations it may call, so destructive ones like provider deletion are not included unless you add them.
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
Agents search Jentic by intent such as 'list gift card providers' or 'search gift cards', and Jentic returns the matching Giftcard Hub API 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
Alternative payments API
Choose Stripe when you need a different approach to payments operations
Specific to using Giftcard Hub API through Jentic.
What authentication does the Giftcard Hub API use?
The Giftcard Hub 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 list all gift card providers with the Giftcard Hub API?
Yes. Use the GET /api/giftcardproviders endpoint. The API returns structured JSON responses that agents can parse and act on directly.
What are the rate limits for the Giftcard Hub 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 list all gift card providers through Jentic?
Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'list all gift card providers'. Jentic returns the matching Giftcard Hub API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.
How many endpoints does the Giftcard Hub API have?
The Giftcard Hub API exposes 15 endpoints covering provider, transaction operations.
Can I limit what my agent is allowed to do with the Giftcard Hub API?
Yes. Because you run Jentic One yourself, your own rules decide which Giftcard Hub API operations and credentials the agent may use. Since the provider id sits in the URL path (/api/giftcardproviders/{giftCardProviderId}), you can pin the agent to reading and searching gift cards for a single provider and allow only calls like GET /api/giftcardproviders and its gift card lookups. Destructive operations such as DELETE /api/giftcardproviders/{giftCardProviderId} stay off unless you explicitly add them to what the agent is permitted to call.
/api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId}/transactions
Create a gift card transaction