---
title: "Payday Detected"
method: POST
path: "/api/payments/payday-detected"
tags: ["Payments"]
---

# Payday Detected

`POST /api/payments/payday-detected`

## 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/payments/payday-detected`
- Auth: HTTP bearer

Called when a salary credit is detected.
Checks if user has allocation targets set up and returns info for prompting.
Does NOT auto-create payments — the user must initiate.

## Response `200`

Successful Response

- PaydayDetectedResponse
  - `has_targets` boolean, required
  - `target_count` integer, required
  - `message` string, required

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
