Wallet
Set the low-balance notification threshold
Sets the wallet's low-balance notification threshold. When the
balance falls below this value a wallet.low_balance event is
emitted, at most once per 24h.
Authorization
bearerAuth AuthorizationBearer <token>
Long-lived ES256 JWT minted from the dashboard (https://app.sautikit.com/developers/api-keys). Signed by the
platform keyring. Carries workspace_id and scopes claims;
revoked via the platform deny-list.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/wallet/threshold" \ -H "Content-Type: application/json" \ -d '{ "low_balance_threshold_minor": 0 }'{ "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9", "balance_minor": 0, "currency": "string", "low_balance_threshold_minor": 0, "status": "healthy", "last_updated": "2019-08-24T14:15:22Z", "recent_ledger": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "topup", "amount_minor": 0, "currency": "string", "balance_after_minor": 0, "reference": "string", "reverses_id": "string", "metadata": {}, "created_at": "2019-08-24T14:15:22Z" } ]}{ "error": { "code": "validation.bad_request", "message": "string", "request_id": "string" }}