# Payment link configuration

> Documentation of mobile-calendar (https://www.mobile-calendar.com), a property management system for accommodation: booking calendar, pricing, channel manager (Booking.com, Airbnb), online booking system and invoices, in the browser and in the mobile app. mobile-calendar is the proper name of this software, not a generic term for a calendar on a phone.

Reservations > Payment links > Payment link configuration
URL: https://docs.mobile-calendar.com/en/guides/reservations/payment-links/payment-links-configuration

## Introduction

Payment links allow you to send the guest a link they can use to pay for the reservation online. You can create a payment link for a prepayment, an additional payment, the full stay amount, or additional services.

Before you start using links, configure the payment handling method, payment gateways, link validity, and optionally the consents and the appearance of the payment page.

[YouTube](https://www.youtube.com/watch?v=fXdFCgxHkIc)

## Instructions

- From the left menu, go to **Reservations** → **Payment links**.
- On the left side, you will find the **General**, **Payment methods**, **Consents**, and **Appearance** sections.

### General

- In the **Link validity** section, set how long after creation each type of link expires:
    - **Prepayment**,
    - **Balance payment**,
    - **Full amount**.
- For each link type, you can set validity from 2 to 168 hours. The default value is 72 hours.

> **Validity of the link for additional services**
>
> The payment link for additional services does not have a separate validity setting. It uses the same validity as the balance payment link. For example, if you set 72 hours for the balance payment, the link for additional services will also be valid for 72 hours.

![Payment link validity settings](https://docs.mobile-calendar.com/media/b1/b1aeb9cd-1982-40ca-ad1b-b7785c9db569-a7ea8c3d.png)

- You can send a payment link to the guest manually or automatically in a message using the appropriate tag:
    - `[[payLinkPrepayment]]` - prepayment link,
    - `[[payLinkBalance]]` - balance payment link,
    - `[[payLinkFull]]` - full amount payment link,
    - `[[payLinkServices]]` - additional services payment link.
- Click **Automatic messages** to go to the configuration of automatic link sending.

> **Generating payment links**
>
> More information about creating and sending payment links can be found in the article [Generating payment links](https://docs.mobile-calendar.com/en/guides/reservations/payment-links/payment-links-generation).

### Payment methods

- In the **Payment handling** section, choose how payments are handled:
    - **mobile-calendar pay** - payments are handled by mobile-calendar (option with a commission).
    - **Own payment gateways** - payments go directly to the payment gateways you configured, with no mobile-calendar commission.

![Payment method settings for payment links](https://docs.mobile-calendar.com/media/60/600dfd70-ec26-46c6-af10-1dee21c40949-7f9232de.png)

- If you select **Own payment gateways**, in the **Payment gateways** section select the gateways you want to make available to guests:
    - if a gateway has already been configured, click the **Toggle** next to the selected gateway to enable it,
    - if a gateway has not been configured yet, click **Configure** next to the selected gateway or **Payment gateway configuration**.

- In the **Payment gateway configuration** window, expand the selected gateway and fill in the required details.

![Payment gateway configuration for payment links](https://docs.mobile-calendar.com/media/2f/2f103f41-56db-47ad-806f-3624ba780b6d-d0c6137b.png)

- After configuring the gateway, return to the **Payment gateways** section and click the **Toggle** to make it available to guests on the payment page.

> **Payment gateway configuration**
>
> Payment gateway keys are shared between payment links and the Online Booking Engine, so you only need to configure them once. Gateways you want to use are enabled separately for each module.

- Detailed instructions for configuring individual gateways can be found in the articles:
    - [Configuring the PayU payment gateway](https://docs.mobile-calendar.com/en/guides/online-reservation-system/online-booking-system-configuration/online-reservation-system-configuration-payment-gateway-payu),
    - [Configuring the PayPal payment gateway](https://docs.mobile-calendar.com/en/guides/online-reservation-system/online-booking-system-configuration/online-reservation-system-configuration-paypal-payment-gateway),
    - [Configuring the Stripe payment gateway](https://docs.mobile-calendar.com/en/guides/online-reservation-system/online-booking-system-configuration/online-reservation-system-configuration-stripe-payment-gateway),
    - [Configuring the Przelewy24 payment gateway](https://docs.mobile-calendar.com/en/guides/online-reservation-system/online-booking-system-configuration/online-reservation-system-payment-gateway-configuration-przelewy24).

### Consents

- Go to the **Consents** section if you want to require the guest to accept documents before making a payment.

![Consent settings for payment links](https://docs.mobile-calendar.com/media/53/53a7aba1-97d7-4aa7-b79f-1dd73ece770c-abc6d4b8.png)

- Click the **Terms and conditions acceptance** toggle to require acceptance of the property's terms and conditions.
- Click the **Privacy policy** toggle to require acceptance of the privacy policy.
- Click **Edit** next to the selected document to change its content.

> **Terms and conditions and privacy policy**
>
> The terms and conditions and privacy policy are shared for the entire property. Changing their content here will also apply in Online Check-in and the Online Booking Engine.

### Appearance

- Go to the **Appearance** section to customize the look of the page where the guest makes the payment.
- In the **Theme color** field, choose the main color from the palette or enter its HEX code.

![Payment page appearance settings](https://docs.mobile-calendar.com/media/8b/8b016177-2d56-4373-a2a8-2555016d4666-4b1da907.png)

- The logo displayed on the payment page is taken from the property details.
