---
title: "Dev-only: wipe all transactions on the merchant's fake-provider refund account and reset its balance to 0. Use for a clean demo slate without tearing down enrollment. Refused in production or for non-fake providers."
method: POST
path: "/api/v1/admin/dev/merchants/{merchantId}/refund-account/clear-activity"
tags: ["Merchants", "Admin", "Dev"]
---

# Dev-only: wipe all transactions on the merchant's fake-provider refund account and reset its balance to 0. Use for a clean demo slate without tearing down enrollment. Refused in production or for non-fake providers.

`POST /api/v1/admin/dev/merchants/{merchantId}/refund-account/clear-activity`

## Request

- Base URL: `https://core.quidkey.com`
- URL: `https://core.quidkey.com/api/v1/admin/dev/merchants/{merchantId}/refund-account/clear-activity`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/banqzinc/apis/quidkey-api/docs/api/v1/admin/dev/merchants/:merchantId/refund-account/clear-activity/post.ts> (a function with typed inputs; its response is checked against the schema)

Dev-only: wipe all transactions on the merchant's fake-provider refund account and reset its balance to 0. Use for a clean demo slate without tearing down enrollment. Refused in production or for non-fake providers.

## Path parameters

- `merchantId` string, uuid, required

## Request body

- DevMerchantClearRefundActivityInput
  - `currency` string: ISO 4217 currency to scope the clear. Omit to clear every refund account.

## Response `200`

Success

- DevMerchantClearRefundActivityResponse
  - `success` boolean, required: Indicates if the request was successful
  - `data` object, required
    - `merchantId` string, uuid, required
    - `cleared` object[], required
      - `bankAccountId` string, uuid, required
      - `currency` string, required
      - `deleted` integer, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2026-06-17** `b372e7d5563d`: 1 info
  - endpoint added
- **2025-11-02** `919eb7a392aa`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/banqzinc/apis/quidkey-api/changes/api/v1/admin/dev/merchants/:merchantId/refund-account/clear-activity/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/f86d2bdbcb08?raw)
