Live on the PayPal Sandbox · real API calls

Stop losing money to returns and fake disputes.

PayGuard AI handles buyer complaints for small online shops. It reads the message and photo, checks PayPal order and tracking data, applies the shop's rules, then settles it through PayPal. It refunds fairly, fights false claims, and asks the owner before any big payout.

$0
Revenue saved
$0
Refunded
0
Cases handled

Live numbers from this deployment

New claim · Warisan Batik Studio
My scarf arrived with a pulled thread near the hem.
  1. Order & tracking checked
  2. Photo graded: minor damage
  3. Rule: 30% keep-it offer
  4. $15 refunded via PayPal

Meet Aisyah

Three situations every cross-border seller dreads

Aisyah runs Warisan Batik Studio in Kelantan and sells hand-drawn batik worldwide. Each complaint costs her time and money. Here is what PayGuard does for her. Every button below runs the real flow against PayPal.

Small flaw

The problem
A $50 scarf arrives with one pulled thread. Shipping it back to Malaysia costs more than the scarf.
What PayGuard does
AI grades the photo as minor and offers 30% back if the buyer keeps it. Under $25, so it pays automatically.
$15 refunded, $35 saved

Ruined item

The problem
The scarf arrives torn and stained. The buyer deserves a full refund, but it is a big amount.
What PayGuard does
AI agrees it is unusable and proposes $50. The safety gate holds it until the owner taps Approve.
Owner stays in control

False “not received”

The problem
A buyer opens a PayPal dispute saying the parcel never came, but the carrier marked it delivered.
What PayGuard does
AI reads the dispute, sees DELIVERED tracking, and sends proof of delivery to PayPal instead of refunding.
$50 kept

How it works

Four agents, one hand-off at a time

Each complaint passes through four specialist agents in order. You can watch every step happen live in the demo below.

1

Intake

AI

Pulls the order, tracking and any dispute from PayPal, and works out what the buyer is claiming.

get_orderget_shipment_trackingget_dispute
2

Vision & evidence

AI

Looks at the buyer's photo and grades the damage: none, minor, or severe. For “not received” claims it checks delivery.

show_product_detailsvision model
3

Policy

Rules

Applies the shop's own rules to pick the cheapest fair fix. Plain code decides the amount. AI only writes the reply to the buyer.

shop rulesreply draft
4

Payment

Rules

Moves the money through PayPal: refund, offer, or proof of delivery. Every call is logged and protected against double payment.

create_refundprovide-evidencemake-offer

Live demo · PayPal Sandbox

Watch it handle a real claim

Left is the buyer's chat. Right is what the shop owner sees. Every refund and dispute response below is a real PayPal Sandbox API call.

  1. 1Create test orders
  2. 2Pick a scenario
  3. 3Watch the agents
  4. 4Approve or reply

Buyer's view

Step 1: create test orders

Real PayPal Sandbox orders, paid and marked delivered by DHL.

Scenario 1: 0 readyScenario 2: 0 readyScenario 3: 0 ready

No conversation yet

Run a scenario to start one

This is what the buyer sees.

Create test orders, then press a scenario button above. The conversation appears here as the agents work.

Shop owner's view

Revenue saved

$0.00

Refunded

$0.00

Open cases

0

Auto-resolved

0

Agent pipeline

  1. Intake

  2. Vision

  3. Policy

  4. Payment

Run a scenario and each agent lights up here as it finishes its step.

Owner approval

Anything over $25.00 waits here

Nothing waiting for you.

Built to be trusted with money

An AI agent you can safely let near your PayPal account

Never pays twice

Every payment gets a fixed fingerprint that is also sent to PayPal. A retry, crash or double-click returns the first result instead of refunding again.

PayPal-Request-Id: pg_4e4c921a…

Asks before anything over $25

Small refunds go through automatically. Bigger ones stop at an approval gate and wait for the owner to tap Approve.

BLOCKED_BY_GUARDRAIL → Approve

No AI in the money path

The AI reads photos and writes messages. Ordinary, tested code decides how much to pay and makes the PayPal call.

decidePolicy() · 19 tests passing