Checkout

Propose a refund

Propose a refund for a PayPal order (status PENDING_APPROVAL) — requires human merchant approval via the dashboard. The calling agent key must hold a non-blocked merchant allowlist binding for the order's store.

post/agent/orders/{orderId}/refund

Request

  • Base URL: https://api.trusteed.xyz/api/v1
  • URL: https://api.trusteed.xyz/api/v1/agent/orders/{orderId}/refund
  • Auth: API key in header X-Agent-Api-Key

Path parameters

orderIdstring required

Request body

amountinteger

Cents. Omit for a full refund.

reasonstring

Response

Refund request created — awaiting merchant approval

Changes

No recorded changes to this operation across all 1 revision of this API.