---
title: "Refund a rental payment (boat owner)"
method: POST
path: "/api/v1/rental-payments/{id}/refund"
tags: ["Rental Payments"]
---

# Refund a rental payment (boat owner)

`POST /api/v1/rental-payments/{id}/refund`

## Request

- Base URL: `http://localhost:3002`
- URL: `http://localhost:3002/api/v1/rental-payments/{id}/refund`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- object
  - `amount` integer
  - `reason` 'REQUESTED_BY_CUSTOMER' | 'DUPLICATE' | 'FRAUDULENT' | 'OTHER'
  - `note` string

## Response `201`

Created

- object
  - `data` object, required
    - `paymentId` string, required

## Other responses

- `400`: Request body or query parameters failed validation.
- `401`: Authentication required, or the bearer token is missing or invalid.
- `404`: The requested resource does not exist (existence is not leaked).

---

[API](https://skmtc.dev/chartercaptain/apis/charter-captain-api.md) · [All operations](https://skmtc.dev/chartercaptain/apis/charter-captain-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chartercaptain/apis/charter-captain-api/revisions/1ffea1113adb?raw)
