> For the complete documentation index, see [llms.txt](https://chekin.gitbook.io/chekin-public-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chekin.gitbook.io/chekin-public-api/api-reference/payments/add-payment.md).

# Add payment

<mark style="color:orange;">`POST`</mark> `/reservation-payments/`

With this endpoint you will be able to define the items to include in the

**Headers**

| Name          | Value              |
| ------------- | ------------------ |
| Content-Type  | `application/json` |
| Authorization | `JWT <token>`      |

**Body**

<table><thead><tr><th width="333">Name</th><th width="109">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>status</code></td><td>ENUM</td><td></td></tr><tr><td><code>type</code></td><td>ENUM</td><td></td></tr><tr><td><code>amount</code></td><td>int</td><td>total amount withot tax</td></tr><tr><td><code>reservation_id</code></td><td>uuid</td><td>reservation ID</td></tr><tr><td><code>name</code></td><td>string</td><td>Payment name</td></tr><tr><td><code>metadata.e_invoicing.invopop.quantity</code></td><td>int</td><td>items quantity</td></tr><tr><td><code>metadata.e_invoicing.invopop.price_per_item</code></td><td>int</td><td>price per item</td></tr><tr><td><code>metadata.e_invoicing.invopop.total_amount</code></td><td>int</td><td>total amount without tax</td></tr><tr><td><code>metadata.e_invoicing.invopop.vat_rate</code></td><td>int</td><td>VAT rate percentage</td></tr></tbody></table>

**Response**

{% tabs %}
{% tab title="Body Example" %}

```json
{
    "status": "PAID",
    "type": "EXTRA_SERVICE",
    "amount": 250,
    "reservation_id": "96e560181d6f4ed2874574370adc1d54",
    "name": "Payment Name",
    "metadata": {
        "e_invoicing": {
            "invopop": {
                "quantity": "10",
                "price_per_item": "25",
                "total_amount": 250,
                "vat_rate": "22.00"
            }
        }
    }
}
```

{% endtab %}
{% endtabs %}
