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

# Pay by Link

Payment Links let you collect payments from customers by sharing a URL, regardless of where they are. A Payment Link is a simple web address that can be shared via SMS or email with your customers. When your customers click the link, they can complete the payment via Paybyrd checkout page.

Payment links are automatically sent through email and SMS when the shopper's email and phone number are provided. If the shopper's contact details are not provided, the link is still generated and you can send it manually.

<Info>Payment Links can be created via your Paybyrd Backoffice, via API, or directly at your Paybyrd terminal.</Info>

## 01. Customize your Pay by Link

The text displayed in the Pay by Link sent via SMS and/or e-mail can be customized to best suit your business needs.

The text displayed has a maximum of 1.000 characters. To customize it, [send an email to the Paybyrd Support team](mailto:help@paybyrd.com) with your preferred text in each language you want to support.

<Info>Paybyrd currently supports the following languages: PT, ES, FR, DE, EN, and NL</Info>

## 02. Creating a payment link via API

The following example shows how to create a payment link and the response it returns:

```bash theme={null}
curl --location --request POST 'https://gateway.paybyrd.com/api/v2/paybylink' \
--header 'Content-Type: application/json' \
--header 'x-api-key: {your_api_key}' \
--data '{ 
 "Amount": "10.00", 
 "SellerEmailAddress": "best@store.com",
 "OrderRef": "ABC12345",
 "ShopperEmailAddress": "john@test.com",
 "ShopperFirstName": "John",
 "ShopperLastName": "Test",
 "ShopperPhoneNumber": "",
 "Culture":"en-US",
 "ExpiresIn": 24
}'
```

```json theme={null}
{
 "paybyLink": "https://gateway.paybyrd.com/en-US/hostedform?paymentId=ad4293ed-7055-48b2-8bc5-2efaa4fdd34d",
 "transactionId": "ad4293ed-7055-48b2-8bc5-2efaa4fdd34d"
}
```

See the [full API reference](/api-reference/payments/create-payment) for all available parameters.

## 03. Creating a payment link via Backoffice

Go to Paybyrd's backoffice and click on the Pay by link menu.

Fill in the form with the payment information, then click Send link.

The link will be automatically sent to the shopper's email or phone number, according to the provided information.

<Info>Payment link messages are customizable. You can also send the link in multiple languages.</Info>
