# How do I create payment link via API?

**URL:** <https://community.hubspot.com/t/how-do-i-create-payment-link-via-api/107035>\
**Category:** APIs & Integrations\
**Tags:** starter\
**Created:** [May 13, 2024, 5:34pm UTC](https://community.hubspot.com/t/how-do-i-create-payment-link-via-api/107035 "2024-05-13T17:34:48Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![BrunoRicci](https://avatars.discourse-cdn.com/v4/letter/b/c6cbf5/32.png) [@BrunoRicci](https://community.hubspot.com/u/BrunoRicci)\
**Post date:** [December 15, 2024, 8:18pm UTC](https://community.hubspot.com/t/how-do-i-create-payment-link-via-api/107035/4 "2024-12-15T20:18:19Z")

</div>

Hi! I’m needing the same feature in order to automate some deal payments, to automatically associate the payment + invoice to the corresponding deal. This is done when a Payment Link is associated to a Deal and they payment link is paid.  
I swear I think I’ve read something about payment link creation via API about 6 months ago, but then the documentation site got upgraded and I cannot seem to find that information again.

---

_[View the full topic](https://community.hubspot.com/t/how-do-i-create-payment-link-via-api/107035)._
