> ## Documentation Index
> Fetch the complete documentation index at: https://docs.onepay.la/llms.txt
> Use this file to discover all available pages before exploring further.

# Realizar pago

> Realiza un pago a un convenio.

### Headers

<ParamField header="x-idempotency" type="string" required placeholder="Token único para garantizar la idempotencia de la petición">
  Token único para garantizar la idempotencia de la petición
</ParamField>

### Body

<ParamField body="provider_id" type="string" required>
  UUID del convenio listado previamente que se desea pagar.
</ParamField>

<ParamField body="reference" type="string" required>
  Referencia de pago para el convenio. de ejemplo puedes usar 111100005555
</ParamField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "data": [
      {
        "id": "9d16af28-e289-4a24-bcc4-697febf17141",
        "name": "Gulgowski and Sons",
        "help_text": null
      },
      {
        "id": "9d16af28-e319-44d3-8939-8f5286362f5d",
        "name": "Pfeffer-Turner",
        "help_text": null
      },
      {
        "id": "9d16af28-e339-49d9-87d0-19e91bea48d3",
        "name": "Flatley, Schmitt and McDermott",
        "help_text": null
      },
      {
        "id": "9d16af28-e36c-4d70-9dca-839b8d806ef8",
        "name": "Heathcote and Sons",
        "help_text": null
      }
    ],
    "current_page": 1,
    "first_page_url": "https://api.onepay.test/v1/utilities/providers?page=1",
    "from": 1,
    "next_page_url": null,
    "path": "https://api.onepay.test/v1/utilities/providers",
    "per_page": 50,
    "prev_page_url": null,
    "to": 4
  }
  ```
</ResponseExample>
