Payday

Put Db Rules

Replace all payday rules for the user with the provided set. This is a full overwrite — the mobile app sends the complete rule list.

EQ-72 ruling 4: with ?mode=propose a virtual-pot rule whose category has no budget does not get one created here. It comes back as a budget_proposal and the user confirms it (bulk-update). Without the mode (an older client) the budget is auto-created as before, never at £0. An existing budget's limit is never touched by this endpoint either way.

put/api/payday/db-rules

Request

  • Base URL: https://api.earmarkiq.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.earmarkiq.app/api/payday/db-rules
  • Auth: HTTP bearer

Query parameters

modestring nullable

'propose': budgets are proposed, never written (EQ-72)

Request body

Response

Successful Response

total_allocatednumber
remaining_after_rulesnumber

Changes

No recorded changes to this operation across all 2 revisions of this API.