You can use Stripe Tax with Payment Links to automatically calculate and collect tax on a payment page and share a link to it with your customers, without writing any code.

## Transfer tax liability to Stripe

If you sell digital products, Managed Payments allows you to offload tax liability to Stripe so we’re directly responsible for handling sales tax, VAT, or GST globally. As a merchant of record solution, Managed Payments also handles fraud prevention, dispute management, and customer support on all transactions.

## Dashboard

To create a payment link in the Dashboard:

1.  Open the **Payment Links** page.
2.  Click **+ New**.
3.  Fill out the details.
4.  Enable **Collect tax automatically**.

To update an existing payment link in the Dashboard:

1.  Open the **Payment Links** page.
2.  Select the payment link you want to update.
3.  On the payment link details page, click the overflow menu (⋮), then click **Edit**.
4.  In the payment link editor, select **Collect tax automatically** to enable automatic tax collection on this payment link.
5.  (Optional) Select **Collect customers’ addresses** to improve tax calculation accuracy. The more information you provide, the more precise the calculation.
6.  Click **Update link** to save your changes.

## API

You can create or update a Payment Link with automatic tax collection enabled by passing `automatic_tax` to the Payment Links API.

```json
{
  "after_behavior": {
    "type": "redirect",
    "redirect": {
      "url": "https://example.com/success"
    }
  },
  "line_items": [
    {
      "price_data": {
        "currency": "usd",
        "unit_amount": 2000,
        "product_data": {
          "name": "T-shirt"
        }
      },
      "quantity": 1
    }
  ],
  "automatic_tax": {
    "enabled": true
  }
}
```

## Optional

### Update your products and prices

If you update your products or prices, Stripe Tax automatically updates the tax calculation for your Payment Links.

### See also

*   [Use Stripe Tax with Connect](/tax/connect)