---
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. The preference is one value that applies to both the App Store and Google Play. Consent applies to the App Store only. Each store also has an app-level default preference that you can change for all users in the Adapty Dashboard. To adjust the preference for a specific user, use 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' | 'grant_prorated' | 'no_preference' | 'decline', nullable — Set the refund preference individually for the user. It applies to the user's refund requests on both the App Store and Google Play. Google accepts only decline, approve, or no preference on a refund review, so Adapty sends no preference on Google Play when this value is `grant_prorated`. - `grant`: approve each refund request - `grant_prorated`: approve a refund for the part of the purchase the user hasn't consumed yet - `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. Consent applies to the App Store only. - `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 with Apple (App Store only)
    - `custom_preference` 'grant' | 'grant_prorated' | 'no_preference' | 'decline' — The refund preference

## Other responses

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

## Changes

- **2026-08-21** `a1d618b12f59` — 1 warning, 1 info
  - added the new `grant_prorated` enum value to the `settings/custom_preference` response property for the response status `200`
  - added the new `grant_prorated` enum value to the request property `custom_preference`

[Change history](https://skmtc.dev/adapty/apis/adapty-server-side-api/changes/api/v2/server-side-api/purchase/profile/refund-saver/settings/post.md)

---

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