---
title: "Create a refund session"
method: POST
path: "/api/v1/refund-session"
tags: ["Refunds"]
---

# Create a refund session

`POST /api/v1/refund-session`

Create a refund session

## Request body

- RefundSessionInput
  - `id` string — Shopify refund session ID
  - `gid` string — Global identifier
  - `payment_id` string, required — Original payment ID
  - `amount` string, required — Refund amount
  - `currency` string, required — Currency code
  - `merchant_locale` string — Merchant locale
  - `platform` union, required — Platform initiating the refund
    - 'shopify'
    - 'woocommerce'
  - `proposed_at` string — When the refund was proposed
  - `test` boolean — Whether this is a test refund

## Response `200`

Success

- object
  - `id` string, required
  - `status` string, required
  - `reason` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

## Changes

- **2025-11-03** `6637b341d86d` — 1 info
  - endpoint added
- **2025-11-02** `919eb7a392aa` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/banqzinc/apis/quidkey-api/changes/api/v1/refund-session/post.md)

---

[API](https://skmtc.dev/banqzinc/apis/quidkey-api.md) · [All operations](https://skmtc.dev/banqzinc/apis/quidkey-api/llms.txt) · [OpenAPI document](https://skmtc.dev/banqzinc/apis/quidkey-api/revisions/ecd256fe0106?raw)
