For Agents
Initiate retail returns, generate labels, find Return Bar drop-off locations, and process refunds via the Happy Returns Partner API.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Happy Returns Partner 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://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | 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 Happy Returns Partner API.
Initiate a retail return for a customer order
Approve or reject a pending return based on policy
Generate a printable return shipping label or box-free QR code
GET STARTED
Use for: Create a return for order #5821, Generate a return shipping label for an existing return, Find the nearest Happy Returns Return Bar to ZIP 90210, Approve a customer return that meets the policy window
Not supported: Does not handle outbound shipping, payment capture, or product catalog management — use for retail return initiation, labels, drop-offs, and refund instruction only.
Happy Returns is the PayPal-owned reverse logistics service for retail brands, providing in-person Return Bar drop-offs and box-free returns. The Partner API exposes 16 endpoints to create, list, approve, reject, and refund returns, generate return shipping labels, look up Return Bar drop-off locations, and register webhooks for return-state events. It also surfaces eligible items for an order and aggregate return analytics. Authentication is a bearer API key in the Authorization header.
Look up Happy Returns Return Bar drop-off locations
Process a refund against an approved return
Register and manage webhooks for return-state events
Pull aggregate return analytics for a brand
Patterns agents use Happy Returns Partner API for, with concrete tasks.
★ Self-Service Return Portal
Power a brand-hosted return portal that lets shoppers start a return, pick a drop-off Return Bar, and download a QR code. The Partner API handles return creation via POST /returns, label or QR creation via POST /returns/{returnId}/labels, and Return Bar lookup via GET /return-bars. Box-free QR drop-offs typically refund within a day of scan.
Create a return for orderId 'ord-5821' via POST /returns, then generate a QR-code label via POST /returns/{returnId}/labels and surface the nearest Return Bar from GET /return-bars.
Automated Return Approval and Refund
Approve eligible returns and trigger refunds automatically based on a brand's policy. Use POST /returns/{returnId}/approve when items are within the return window and POST /returns/{returnId}/refund to issue payment back. Combined with webhooks at /webhooks, this removes manual review for the majority of straightforward returns.
On webhook 'return.received' for returnId 'ret-3321', call POST /returns/ret-3321/approve and POST /returns/ret-3321/refund with the original order amount.
Return Eligibility Check at Checkout
Surface return-eligible items at the customer's order page by calling GET /orders/{orderId}/eligible-items before they start a return. The endpoint returns line items still within the return window and not previously returned. This avoids customer frustration when an item is past the window or already refunded.
When a shopper opens the returns flow, call GET /orders/ord-5821/eligible-items and display only the items returned by the API.
AI Agent Customer Service Returns
Wire an AI customer service agent that can handle 'I want to return order #5821' end-to-end through Jentic. The agent calls /orders/{orderId}/eligible-items, /returns, and /returns/{returnId}/labels in sequence, with the bearer API key stored centrally and never passed through agent prompts. Refund issuance can be gated behind human approval.
When a shopper asks 'I need to return my last order', look up eligible items, create a return, generate the label, and DM the QR code with the nearest Return Bar.
16 endpoints — happy returns is the paypal-owned reverse logistics service for retail brands, providing in-person return bar drop-offs and box-free returns.
METHOD
PATH
DESCRIPTION
/returns
Create a return
/returns/{returnId}
Get return details
/returns/{returnId}/approve
Approve a return
/returns/{returnId}/refund
Process a refund
/returns/{returnId}/labels
Generate a return label or QR
/return-bars
List Return Bar drop-off locations
/orders/{orderId}/eligible-items
Get items eligible for return
/webhooks
Register a webhook
/returns
Create a return
/returns/{returnId}
Get return details
/returns/{returnId}/approve
Approve a return
/returns/{returnId}/refund
Process a refund
/returns/{returnId}/labels
Generate a return label or QR
Three things that make agents converge on Jentic-routed access.
Credential isolation
Happy Returns Partner API keys live in the Jentic vault and are injected as the Authorization Bearer header per call, so raw secrets never enter the agent's context or transcript logs.
Intent-based discovery
Agents search Jentic for 'create a return' and Jentic returns POST /returns with its parameter schema, removing the need to crawl the Happy Returns developer portal.
Time to first call
Direct integration: 1-3 days to model returns, labels, webhooks, and refunds. Through Jentic: under an hour.
Alternatives and complements available in the Jentic catalogue.
Stripe
Handle the underlying card refund when Happy Returns issues the refund instruction.
Use Stripe when the brand processes payments through Stripe and the agent needs to confirm the refund posted to the card.
Specific to using Happy Returns Partner API through Jentic.
What authentication does the Happy Returns Partner API use?
Happy Returns uses an API key passed as a Bearer token in the Authorization header. Through Jentic the key is stored encrypted in the vault and injected on each call, so it never enters the agent's prompt or tool transcript.
Can I generate a return shipping label with the Happy Returns API?
Yes. POST /returns/{returnId}/labels generates a printable label or box-free QR code for an existing return. GET /returns/{returnId}/labels retrieves previously generated labels for that return.
What are the rate limits for the Happy Returns API?
Happy Returns does not publish a public per-second rate limit; partner accounts are throttled per agreement. Build clients to back off on HTTP 429. For high-volume integrations, contact the Happy Returns partner team to confirm sustained throughput.
How do I create a return through Jentic?
Search Jentic for 'create a happy returns return', load the schema for POST /returns, and execute with the orderId and items. Jentic injects the bearer API key from the vault. Run pip install jentic and use the async client.search, client.load, and client.execute pattern.
Does the Happy Returns API list Return Bar drop-off locations?
Yes. GET /return-bars lists Return Bars with location and hours, and GET /return-bars/{returnBarId} returns the full record for a single bar. Use these to surface the nearest drop-off to a shopper based on their ZIP.
Does Happy Returns handle the refund payment itself?
POST /returns/{returnId}/refund processes the refund against the original payment method as configured for the brand. Happy Returns does not act as a separate payment processor; the underlying refund still flows through the original payment partner.
/return-bars
List Return Bar drop-off locations
/orders/{orderId}/eligible-items
Get items eligible for return
/webhooks
Register a webhook