---
title: "Validate Payments For Notifications"
method: POST
path: "/payments/validate-for-notifications"
---

# Validate Payments For Notifications

`POST /payments/validate-for-notifications`

Validate which payments can receive notification emails.

This is a lightweight endpoint that checks payment eligibility without actually sending emails.
Returns categorized lists of eligible, ineligible, and already-notified payments.

Args:
    payment_ids: List of payment IDs to validate (optional if filters provided)
    filters: Filter criteria to fetch payment IDs (optional if payment_ids provided)
    user_id: ID of the authenticated user (from auth middleware)
    org_id: ID of the user's organization (from auth middleware)

Returns:
    dict: Lists of eligible_ids, ineligible_ids (with reasons), and already_notified_ids

## Query parameters

- `user_id` string
- `org_id` string

## Request body

- object — Body containing payment_ids array or filters object

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/every/apis/every-api.md) · [All operations](https://skmtc.net/every/apis/every-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/every/every-api/revisions/f8600f7a4ae3/schema)
