DotsDocs
Apps

Update an application's settings

Update an application's payout and refill settings.

POST
/v2/apps/{app_id}/change_settings

Update an application's payout and refill settings.

Authorization

api_key
headerAuthorizationBasic <token>

Path Parameters

app_id*string

ID of the app to update.

FormatUUID

Request Body

application/json
  1. body
payout_options_exclude_list?array<string>

List of payout options to exclude

auto_refill_active?boolean

Enable or disable auto refill

refill_amount?integer

Amount to refill when the threshold is reached

Range1000 <= value <= 10000000
refill_threshold?integer

Threshold for triggering a refill

Range1000 <= value <= 10000000

Response Body

Successfully updated settings

application/json
  1. response
payout_options_exclude_list?array<string>
auto_refill_active?boolean
refill_amount?integer
refill_threshold?integer
Example Request
curl -X POST 'https://api.dots.dev/api/v2/apps/string/change_settings' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "payout_options_exclude_list": [    "string"  ],  "auto_refill_active": true,  "refill_amount": 0,  "refill_threshold": 0}