---
title: "Initiate a refund"
method: POST
path: "/v1/payment_pages/{pageId}/refund"
tags: ["Payment Pages"]
---

# Initiate a refund

`POST /v1/payment_pages/{pageId}/refund`

Initiates a refund for a succeeded payin (payment page).

> **Sandbox limitation** — pages manually marked paid via the sandbox "Mark as Paid" button have no captured payment to reverse, so refunds fail with `DB_QUERY_DOCUMENT_FAILED` (`payment:undefined`). This is expected. To test refunds in sandbox, complete a real payment with test-card details first.

## Path parameters

- `pageId` string, required

## Response `200`

Success

- object — The initiate refund response
  - `status` 'SUCCEEDED', required
  - `data` InitiateRefundResponse, required
    - `id` string
    - `status` 'new'

## Other responses

- `400` — Bad request
- `401` — Unauthorized

---

[API](https://skmtc.dev/breeze/apis/breeze-api.md) · [All operations](https://skmtc.dev/breeze/apis/breeze-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/breeze/breeze-api/revisions/8911892bdf29/schema)
