---
title: "Payload"
url: "https://developer.rucho.org/apis/rucho/versions/5bdf1bcb-8db4-40f1-a293-72c7198e26c8/schemas/Payload"
---

> Full API specification: https://developer.rucho.org/apis/rucho/versions/5bdf1bcb-8db4-40f1-a293-72c7198e26c8.md

# Payload

Request payload wrapper for POST, PUT, PATCH, and DELETE handlers. This newtype wraps a `serde_json::Value` to accept arbitrary JSON bodies in requests that support request bodies.

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: rucho
  version: 1.6.0
servers:
  - url: https://rucho.org
    description: Production (EKS us-east-2, behind Kong)
components:
  schemas:
    Payload:
      description: |-
        Request payload wrapper for POST, PUT, PATCH, and DELETE handlers.

        This newtype wraps a `serde_json::Value` to accept arbitrary JSON bodies
        in requests that support request bodies.
```
