How it uses PayPal

Each line is real code, in the file named. A test fails if the code leaves that file. PayPal sandbox, no real charge. Everything that keeps families safe stays free.

Where you see each call

On a demo shop, the queue and each refund page also list what the app just asked PayPal, under What this app asked PayPal.

CallWhere you see it
GET /v1/reporting/transactionsThe queue's line that says what was searched, when a demo shop starts
POST /v2/checkout/ordersBuy this as a family, Buy with a PayPal sandbox login, and the shopping agent's Approve on PayPal
GET /v2/payments/captures/:idReview refund, on a sale after the recall
GET /v1/customer/disputesReview refund, which won't go on while the buyer has a dispute open
POST /v2/payments/captures/:id/refundThe refund button, through PayPal Agent Toolkit for the demo shop
GET /v2/payments/refunds/:idCheck it against PayPal, through PayPal's Server SDK for the demo shop
Webhook: PAYMENT.CAPTURE.COMPLETEDA new card in the queue, with nothing pressed

What PayPal's data does not do

Nothing PayPal returns goes to Claude or Channel3. Claude reads CPSC's public text and the shop's own item titles. Sales join to those items here, by order number, SKU or exact title. Tests plant PayPal values in the database and check they are in no request Claude would receive from the recall check, the record check, the question writer, the follow-up adviser or Studio. The shopping agent reads what the person typed, public listing titles and brands, with common price formats taken out of titles, and what its recall check found, and no PayPal table. One more test plants them and finds none in the market searches the recall sweep sends to Channel3. Each test reads what would be sent, with the service it checks replaced by a stand-in. All but Studio's run in CI; Studio's is a local Playwright test.

What a person decides

A person approves every refund, and every notice unless they turn on preparing them for one recall. Either way they send each notice from their own mail. The agent has no refund tool, and the mail is opened in the shop's own account. See the safety checks.

Sandbox PayPal