Refill Configurations
Update a refill configuration.
patch/v2/refill-configurations/{account_id}/{metric_id}
Request
- Base URLhttps://docs.ledgerup.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
account_idstring required
LedgerUp account identifier.
Example:account_0194f4e3a2b77c6aa91c4f6b4db2a980
Account identifier.
metric_idstring required
LedgerUp metric identifier.
Example:metric_0194f4e3a2b77c6aa91c4f6b4db2a980
Metric identifier.
Request body
Example request
{
"minimum_balance": "100.0",
"target_balance": "100.0",
"is_active": true
}Response
Updated.
Example response
{
"account_id": "account_0194f4e3a2b77c6aa91c4f6b4db2a980",
"metric_id": "metric_0194f4e3a2b77c6aa91c4f6b4db2a980",
"minimum_balance": "100.0",
"target_balance": "100.0",
"is_active": true,
"created_at": 1767225600,
"updated_at": 1767225600
}Changes
No recorded changes to this operation across all 1 revision of this API.