# Create a payment link

> Create a one-off payment link for a customer and share it on WhatsApp, Facebook or any chat.
>
> Source: https://docs.bcl.my/payment-link/

A payment link is a one-off link for a set amount, made for one customer. Use it when you sell through WhatsApp, Facebook or other chats and do not need a full payment form.

## Before you start

You need a connected Bayarcash account to collect real payments. In **Test Mode**, you can create links at once to test them. When you turn Test Mode off, BCL locks the Payment Link form until it has your token and secret key. See [Connect your Bayarcash account](/connect-bayarcash/).

## Create the link

Create the link from any page in the dashboard:

1. Click **Quick Actions** at the top right of the dashboard.
2. Under **Collect payment**, click **Payment Link**.

   *(Screenshot: The Quick Actions menu with Payment Link highlighted under Collect payment)*

3. Fill in **Buyer Name**, **Amount (RM)**, **Buyer Email** and **Buyer Mobile Number**. All four are required.
4. In **Portal Key**, choose the Bayarcash portal that receives the payment. See [Choose a Bayarcash portal key](/bayarcash-portal-key/).
5. When you choose a portal, **Let user choose payment method** appears. Leave it on to let your customer choose a channel, or turn it off and choose one in **Payment Option**.

   *(Screenshot: The Payment Link form filled in, with the Let user choose payment method switch highlighted)*

6. Optionally, add a note in **Remark Order**.
7. Click **Submit**.

## Share the link

When the link is ready, the **Share Payment Link** window opens:

1. Click the blue copy button at the end of the link.

   *(Screenshot: The Share Payment Link window with the link and its copy button highlighted, above the Twitter, Facebook and WhatsApp buttons)*

2. Paste the link into your chat with the customer, or click **Twitter**, **Facebook** or **WhatsApp** to share it directly.

The link stays valid for up to 3 months. When your customer pays, the payment shows in [Transactions](/transactions/).

> **Tip**
> You can add tracking pixels, a webhook or your own thank-you page to every payment link. Go to **Platform Setup** → **Link Configuration**.

## Common issues

### Why is the Payment Link form locked?

The form stays locked until BCL has your Bayarcash token and secret key, or Test Mode is on. Connect your Bayarcash account (/connect-bayarcash/) first, then open Quick Actions → Payment Link again.

### How long does a payment link stay valid?

A payment link stays valid for up to 3 months after you create it.

### Can I choose the payment method for my customer?

Yes. Turn off Let user choose payment method and choose one in Payment Option. Leave it on to let your customer choose from the channels your portal supports.
