We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/activepieces/activepieces'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { createAction } from '@activepieces/pieces-framework';
import { stripeAuth } from '../..';
import { stripeCommon, getClient } from '../common';
export const stripeDeactivatePaymentLink = createAction({
name: 'deactivate_payment_link',
auth: stripeAuth,
displayName: 'Deactivate Payment Link',
description:
'Disable or deactivate a Payment Link so it can no longer be used.',
props: {
payment_link_id: stripeCommon.paymentLink,
},
async run(context) {
const { payment_link_id } = context.propsValue;
const client = getClient(context.auth);
return await client.paymentLinks.update(payment_link_id, {
active: false,
});
},
});