# Payments

In our platform, payments are initially made for a booking and then allocated to the associated invoices of that booking. This API suite focuses on facilitating the creation of ad-hoc payment requests directly on a booking.

Our billing system is designed to automatically request payments for any outstanding invoices, using the preferred payment methods set by the users. This process ensures efficient and timely payment handling.

Payments are bound to bookings. Please see the [bookings](https://docs.lavanda.app/bookings/bookings "mention") page for more information.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lavanda.app/finance-and-accounting/payments.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
