How do I create payment link via API?

My questions is about commerce > payment links.

I created a product in my environment (website) and I also created a Hubspot product synchronously. After that I need create a payment link to associate with the product.

How do i create a paymet link and associate with the product via API?

Hey, @DJManfrin :waving_hand: Payment links need to be created in-app. The [Payments API](https://This is a read-only API) is read-only and cannot be used to manage, associate, or update payments.

Best,

Jaycee

Hi! Is it on the road map to have the Payments API more than just read-only? If no, then why not? And if yes, when? :slightly_smiling_face:

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.

Is there a feature in HubSpot where we can generate dynamic payment links with an API-based solution?