<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cancel User Payment Subscription from external app in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Cancel-User-Payment-Subscription-from-external-app/m-p/979858#M73783</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/686429"&gt;@HMir&lt;/a&gt;I don't think there is any Hubspot API Endpoint available to cancel PAyment Subscription.&lt;BR /&gt;Though I tried the &lt;SPAN&gt;DELETE request to &lt;/SPAN&gt;&lt;A href="https://api.hubapi.com/crm/v3/objects/subscriptions/{subscriptionId" target="_blank" rel="noopener nofollow noreferrer"&gt;https://api.hubapi.com/crm/v3/objects/subscriptions/{subscriptionId&lt;/A&gt;}and got this in response&lt;/P&gt;&lt;PRE&gt;[
	'status' =&amp;gt; 'error',
	'message' =&amp;gt; 'The scope needed for this API call isn't available for public use. If you have questions, contact support or post in our developer forum.',
	'correlationId' =&amp;gt; 'a***-***-***-&lt;BR /&gt;5',
	'links' =&amp;gt; [
		'support' =&amp;gt; 'https://help.hubspot.com/',
		'forum' =&amp;gt; 'https://community.hubspot.com/t5/APIs-Integrations/bd-p/integrations'
	],
	'category' =&amp;gt; 'MISSING_SCOPES'
]&lt;/PRE&gt;&lt;P&gt;Without specific API endpoint , I am not sure how is it possible.&lt;/P&gt;</description>
    <pubDate>Tue, 21 May 2024 16:50:37 GMT</pubDate>
    <dc:creator>pkaur17</dc:creator>
    <dc:date>2024-05-21T16:50:37Z</dc:date>
    <item>
      <title>Cancel User Payment Subscription from external app</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Cancel-User-Payment-Subscription-from-external-app/m-p/976227#M73639</link>
      <description>&lt;P&gt;Hi, We are using hubspot payments and subscriptions for our website. Is there any way to cancel payment subscription from our website via api or any workflow trigger inside hubspot account?&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 16:39:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Cancel-User-Payment-Subscription-from-external-app/m-p/976227#M73639</guid>
      <dc:creator>pkaur17</dc:creator>
      <dc:date>2024-05-14T16:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel User Payment Subscription from external app</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Cancel-User-Payment-Subscription-from-external-app/m-p/977373#M73677</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://lgcgroup.london" target="_blank" rel="noopener"&gt;@pkaur17&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hi, We are using hubspot payments and subscriptions for our website. Is there any way to cancel payment subscription from our website via api or any workflow trigger inside hubspot account?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;To cancel a payment subscription from your website using HubSpot, you can leverage either the HubSpot API or set up a workflow within your HubSpot account. Using the API, you can send a DELETE request to the HubSpot Subscriptions API endpoint, providing the subscription ID and your access token for authentication. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This allows you to programmatically manage subscriptions directly from your website. For instance, using a Python script with the &lt;/SPAN&gt;requests&lt;SPAN&gt; library, you can send a DELETE request to &lt;/SPAN&gt;&lt;A href="https://api.hubapi.com/crm/v3/objects/subscriptions/{subscriptionId" target="_blank" rel="noopener"&gt;https://api.hubapi.com/crm/v3/objects/subscriptions/{subscriptionId&lt;/A&gt;}&lt;SPAN&gt; with the appropriate headers. Alternatively, you can set up a workflow in HubSpot to automate subscription cancellations based on specific triggers. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;First, create a custom property if needed, then navigate to Automation &amp;gt; Workflows in HubSpot, create a new workflow or edit an existing one, and set the enrollment trigger to match your criteria for cancellation. Add an action to the workflow that makes an HTTP request to the HubSpot API endpoint to cancel the subscription, ensuring seamless integration and automation from within HubSpot.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 08:18:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Cancel-User-Payment-Subscription-from-external-app/m-p/977373#M73677</guid>
      <dc:creator>HMir</dc:creator>
      <dc:date>2024-05-16T08:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel User Payment Subscription from external app</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Cancel-User-Payment-Subscription-from-external-app/m-p/979858#M73783</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/686429"&gt;@HMir&lt;/a&gt;I don't think there is any Hubspot API Endpoint available to cancel PAyment Subscription.&lt;BR /&gt;Though I tried the &lt;SPAN&gt;DELETE request to &lt;/SPAN&gt;&lt;A href="https://api.hubapi.com/crm/v3/objects/subscriptions/{subscriptionId" target="_blank" rel="noopener nofollow noreferrer"&gt;https://api.hubapi.com/crm/v3/objects/subscriptions/{subscriptionId&lt;/A&gt;}and got this in response&lt;/P&gt;&lt;PRE&gt;[
	'status' =&amp;gt; 'error',
	'message' =&amp;gt; 'The scope needed for this API call isn't available for public use. If you have questions, contact support or post in our developer forum.',
	'correlationId' =&amp;gt; 'a***-***-***-&lt;BR /&gt;5',
	'links' =&amp;gt; [
		'support' =&amp;gt; 'https://help.hubspot.com/',
		'forum' =&amp;gt; 'https://community.hubspot.com/t5/APIs-Integrations/bd-p/integrations'
	],
	'category' =&amp;gt; 'MISSING_SCOPES'
]&lt;/PRE&gt;&lt;P&gt;Without specific API endpoint , I am not sure how is it possible.&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 16:50:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Cancel-User-Payment-Subscription-from-external-app/m-p/979858#M73783</guid>
      <dc:creator>pkaur17</dc:creator>
      <dc:date>2024-05-21T16:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel User Payment Subscription from external app</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Cancel-User-Payment-Subscription-from-external-app/m-p/1056124#M77456</link>
      <description>&lt;P&gt;Hi All. I can't confirm if this works, because I only found this yesterday, but you can set a "Subscription End Date" in a workflow using the "date the step was taken". I assume this will "cancel" the subscription on that date. It's a workaround, but may well get the job done.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 21:59:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Cancel-User-Payment-Subscription-from-external-app/m-p/1056124#M77456</guid>
      <dc:creator>GLePage</dc:creator>
      <dc:date>2024-10-16T21:59:22Z</dc:date>
    </item>
  </channel>
</rss>

