---
title: "Create Payment Notification"
method: POST
path: "/api/v1/admin/marketing/payment-notifications"
tags: ["Admin: Маркетинг"]
---

# Create Payment Notification

`POST /api/v1/admin/marketing/payment-notifications`

## Request

- Base URL: `https://api.food24.kz` (the document declares no server; this is the origin it was published from)
- URL: `https://api.food24.kz/api/v1/admin/marketing/payment-notifications`
- Auth: OAuth 2
  - Password
  - Token URL: `/api/v1/auth/login`
- TypeScript: <https://skmtc.dev/food24/apis/goodfood/docs/api/v1/admin/marketing/payment-notifications/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- PaymentNotificationCreate
  - `name` string, required
  - `kind` 'modal' | 'voice', required
  - `title` string, nullable
  - `text` string, nullable
  - `all_locations` boolean
  - `location_ids` integer[]
  - `is_active` boolean

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-12** `f75c731597d3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/food24/apis/goodfood/changes/api/v1/admin/marketing/payment-notifications/post.md)

---

[API](https://skmtc.dev/food24/apis/goodfood.md) - [All operations](https://skmtc.dev/food24/apis/goodfood/llms.txt) - [OpenAPI document](https://skmtc.dev/food24/apis/goodfood/revisions/f75c731597d3?raw)
