Skip to content
Reponse.ai LogoDocs
DocsAPIGuides

Search Documentation

Search for an article...

Getting Started

  • Overview
  • Architecture
  • Installation
  • Authentication
  • First Request

Loyalty & Gift Cards

  • Loyalty — Balance
  • Loyalty — Redeem
  • Loyalty — Referral

Tickets & Support

  • Tickets — List
  • Tickets — Create
  • Tickets — Reply

Guides

  • Chat Widget
  • Shopify Sync
  • Reponse in Shopify Admin
  • Loyalty Program
  • Klaviyo Integration
  • Custom Domains
  • AI Engines

Webhooks

  • Webhooks Overview
  • Events Reference
  • Shopify Webhooks
  • Stripe Webhooks
  • Reviews (Stamped / Trustpilot)
  • Logistics
  • Email Inbound

Resources

  • Environment Variables
  • Rate Limits
  • Changelog
DocsOrders & FulfillmentOrders — Refund

Orders — Refund

Refund all or part of an order.

1 min read/Last updated Sep 22, 2026
On this page

Overview

Issues a refund through Stripe. Omit `amount` for a full refund, or pass an amount for a partial refund.

Authentication

This endpoint requires a Bearer token. Include your workspace API key in the `Authorization` header.

Authorization: Bearer <your_api_key>

Request

**POST** `/v1/orders/:orderId/refund`

Path parameters

NameTypeRequiredDescription
orderIdstring (uuid)✅The order ID.

Body parameters

NameTypeRequiredDescription
amountnumber❌Amount to refund (full refund if omitted).
reasonstring❌Refund reason (default requested_by_customer).
notestring❌Internal note.

Response

json
{ "refund": { "id": "re_...", "amount": 53.98, "status": "succeeded" } }

SDK example

typescript
await reponse.orders.refund({ path: { orderId }, body: { amount: 10.00, note: "Damaged item" } });

Errors

StatusMeaning
404Order not found.