Create a refill configuration.
Authorizations
LedgerUp API Key.
Headers
Optional. Duplicate keys within the same company namespace and route return 409. Non-empty idempotency key for deduplicating write requests on the same route.
"6f31c20e-725c-4be8-96f4-835042f67602"
Body
Create-refill-configuration request. target_balance must be greater than minimum_balance. Unknown JSON fields are rejected.
LedgerUp account identifier.
^account_[0-9a-f]{32}$"account_0194f4e3a2b77c6aa91c4f6b4db2a980"
LedgerUp metric identifier.
^metric_[0-9a-f]{32}$"metric_0194f4e3a2b77c6aa91c4f6b4db2a980"
Decimal balance serialized as a string.
^-?\d+(\.\d+)?$"100.0"
Decimal balance serialized as a string.
^-?\d+(\.\d+)?$"100.0"
Whether automatic refills are enabled.
true
Response
Created.
LedgerUp account identifier.
^account_[0-9a-f]{32}$"account_0194f4e3a2b77c6aa91c4f6b4db2a980"
LedgerUp metric identifier.
^metric_[0-9a-f]{32}$"metric_0194f4e3a2b77c6aa91c4f6b4db2a980"
Decimal balance serialized as a string.
^-?\d+(\.\d+)?$"100.0"
Decimal balance serialized as a string.
^-?\d+(\.\d+)?$"100.0"
Whether automatic refills are enabled.
true
Unix timestamp in seconds.
1767225600
Unix timestamp in seconds.
1767225600