---
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
  - `merchant_id` string, uuid — Merchant ID. Defaults to the logged-in merchant if not provided. Required for admin tokens.
  - `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 — ISO 4217 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

---

[API](https://skmtc.net/banqzinc/apis/quidkey-api.md) · [All operations](https://skmtc.net/banqzinc/apis/quidkey-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/banqzinc/quidkey-api/revisions/f86d2bdbcb08/schema)
