curl --request POST \
--url https://api.dots.dev/api/v2/apps/{app_id}/change_settings \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"payout_options_exclude_list": [
"<string>"
],
"auto_refill_active": true,
"refill_amount": 500500,
"refill_threshold": 500500
}'
{
"payout_options_exclude_list": [
"<string>"
],
"auto_refill_active": true,
"refill_amount": 123,
"refill_threshold": 123
}
Update an application’s payout and refill settings.
curl --request POST \
--url https://api.dots.dev/api/v2/apps/{app_id}/change_settings \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"payout_options_exclude_list": [
"<string>"
],
"auto_refill_active": true,
"refill_amount": 500500,
"refill_threshold": 500500
}'
{
"payout_options_exclude_list": [
"<string>"
],
"auto_refill_active": true,
"refill_amount": 123,
"refill_threshold": 123
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
ID of the app to update.
Successfully updated settings
The response is of type object
.