Skip to main content
PATCH
Patch a campaign's default amount and/or frequency

Authorizations

Authorization
string
header
required

Passport bearer token authentication for legacy admin sessions.

Path Parameters

settings_id
integer
required

Setting row id to patch.

Body

application/json

At least one of default_amount / default_frequency must be present (otherwise 422). Field absence means 'leave alone'; explicit empty string clears the value.

default_amount

Must match one of the comma-separated values in the setting's transaction_amount. Empty string clears.

Example:

"50"

default_frequency
enum<string>

Empty string clears the frequency default.

Available options:
one_time,
recurring,
Example:

"recurring"

Response

Defaults patched and program caches flushed.

message
string
Example:

"Campaign defaults updated."

settings
object

Resulting program_settings map.