---
title: "Set Refund Saver settings"
method: POST
path: "/api/v2/server-side-api/purchase/profile/refund-saver/settings/"
tags: ["Refund Saver"]
---

# Set Refund Saver settings

`POST /api/v2/server-side-api/purchase/profile/refund-saver/settings/`

Set the refund preference individually for the user and record if the user gave their consent to share their data. By default, Refund Saver always asks Apple to decline a user's refund request. You can change this default behavior for all users in the Adapty Dashboard, or adjust it for a specific user using the Dashboard, the Adapty SDK, or the server-side API.

## Headers

- `adapty-customer-user-id` string
- `adapty-profile-id` string, uuid

## Request body

- RefundSaverSettingsRequest
  - `custom_preference` 'grant' | 'no_preference' | 'decline', nullable — Set the refund preference individually for the user. - `grant`: approve each refund request - `no_preference`: do not provide any recommendations - `decline`: decline each refund request
  - `consent` boolean, nullable — Record if the user gave their consent to share their data. - `true` means that if you receive an in-app refund request, you may provide Apple with information about the user

## Response `200`

Settings updated successfully

- RefundSaverSettingsResponse
  - `profile_id` string, uuid, required — Customer profile ID
  - `settings` object, required — Refund saver settings for the user
    - `consent` boolean — Defines whether the user consented to share their data
    - `custom_preference` 'grant' | 'no_preference' | 'decline' — The refund preference

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Internal server error

---

[API](https://skmtc.net/adapty/apis/adapty-server-side-api.md) · [All operations](https://skmtc.net/adapty/apis/adapty-server-side-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/adapty/adapty-server-side-api/versions/069c6b9d0e84/schema)
