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

# List all payment links

> Returns a list of all your payment links.

## Query parameters

<ParamField query="per_page" type="integer">
  A numeric value indicating the quantity of payment links to be returned with
  the request, with a minimum value of 1 and a maximum value of 50.
</ParamField>

## Returns

A key-value array, containing a data property which is an array of payment links, limited to a maximum of `per_page` value.

<ResponseExample>
  ```json Response theme={null}
  {
    "livemode": false,
    "current_page": 1,
    "data": [
      {
        "id": "01hhhtvg4w7gk4mcaxmgzb2ynw",
        "entity": "payment_link",
        "name": "Payment Link for Facebook page.",
        "active": 1,
        "after_completion_message": "The product will arrive in 03 days.",
        "locale": "ar",
        "pass_fees_to_customer": false,
        "metadata": [],
        "created_at": 1702479380,
        "updated_at": 1702479380,
        "collect_shipping_address": 0,
        "url": "https://pay.chargily.dz/test/payment-links/01hhhtvg4w7gk4mfg5fdgmgzb2ynw"
      },
      {
        "id": "01hhhtkg70gca88n1h65wpe8gn",
        "entity": "payment_link",
        "name": "Payment Link for Instagram.",
        "active": 0,
        "after_completion_message": "Thank you for purchasing our product.",
        "locale": "en",
        "pass_fees_to_customer": true,
        "metadata": [],
        "created_at": 1702479380,
        "updated_at": 1702479380,
        "collect_shipping_address": 0,
        "url": "https://pay.chargily.dz/test/payment-links/01hhhtkg70gca88n1h65wpe8gn"
      }
    ],
    "first_page_url": "https://pay.chargily.net/test/api/v2/payment-links?page=1",
    "last_page": 1,
    "last_page_url": "https://pay.chargily.net/test/api/v2/payment-links?page=1",
    "next_page_url": null,
    "path": "https://pay.chargily.net/test/api/v2/payment-links",
    "per_page": 10,
    "prev_page_url": null,
    "total": 2
  }
  ```
</ResponseExample>
