# How to Create Payment Links

Payment links allow you to generate a dedicated payment page without writing any code. Even though Omypayments does not offer its own no‑code widget, you can easily set up payment links using third‑party no‑code tools.

**How It Works:**

* **Dynamic Invoice Generation:**\
  A no‑code workflow (via Zapier, for example) sends a request to the Omypayments API to create an invoice. The API generates a payment link with hidden parameters (like the invoice amount).
* **User Interface:**\
  The generated payment link directs customers to a payment page displaying a prominent “Pay” button. Hidden fields (containing invoice details) ensure the correct amount is processed.
* **Behind the Scenes:**\
  When the customer clicks “Pay,” the hidden parameters are submitted, and the system validates the data before processing the payment.

**Example Workflow:**

1. **Trigger:**\
   A customer clicks a “Pay” button on your website.
2. **Invoice Creation:**\
   A Zapier workflow creates an invoice via the Omypayments API.
3. **Link Generation:**\
   The API returns a payment link with hidden parameters (e.g., amount).
4. **Payment Page:**\
   The customer is directed to the payment page and completes the payment.
5. **Confirmation:**\
   The system updates the invoice status and sends a callback to your endpoint.


---

# 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.omypayments.com/how-to-create-payment-links.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.
