wallet
Update a wallet low-balance rule. (admin access required)
Updates a wallet low-balance monitoring rule
patch/wallet/low-balance
Request
- Base URL: ./../api/v1/ (relative, and the document was published on a file host, not at the API’s origin)
- URL: ./../api/v1/wallet/low-balance
- Auth: API key in header token
Request body
Example request
{
"ruleId": "low_balance_rule_id",
"thresholdAmount": "7000000",
"enabled": true
}Response
Wallet low-balance rule updated
Example response
{
"status": "success",
"data": {
"id": "low_balance_rule_id",
"assetUnit": "lovelace",
"thresholdAmount": "7000000",
"enabled": true,
"topupEnabled": true,
"topupAmount": "10000000",
"status": "Low",
"lastKnownAmount": "4200000",
"lastCheckedAt": "1970-01-20T20:00:36.260Z",
"lastAlertedAt": "1970-01-20T20:00:36.260Z",
"walletId": "unique_cuid_v2_of_wallet",
"walletVkey": "wallet_vkey",
"walletAddress": "wallet_address",
"walletType": "Purchasing",
"paymentSourceId": "payment_source_id",
"network": "Preprod"
}
}Changes
No recorded changes to this operation across all 50 revisions of this API.