CONNECT APP
Build with ChargeKeep
Stripe Recurring Payments Software
Commerce
- API key
MCP
Give your agent ChargeKeep tools
Every ChargeKeep action is exposed as an MCP tool on Pipedream's remote server. Point a client at it with your end user's ID and Connect resolves that user's ChargeKeep account for each tool call — you store no tokens.
// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "chargekeep",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// e.g. run Create Invoice:
const result = await mcp.callTool({
name: "chargekeep-create-invoice",
arguments: {
contactId: 10,
status: "Status",
},
})# access_token: mint a short-lived token with the Connect SDK — see the MCP guide
headers = {
"Authorization": f"Bearer {access_token}",
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", # any stable ID for this user in your system
"x-pd-app-slug": "chargekeep",
}
async with streamablehttp_client("https://remote.mcp.pipedream.net/v3", headers=headers) as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
tools = await session.list_tools()
# e.g. run Create Invoice:
result = await session.call_tool("chargekeep-create-invoice", {
"contactId": 10,
"status": "Status",
})SDK
Run ChargeKeep actions from your backend
Connect a user's ChargeKeep account once, then run Create Invoice on their behalf from your own code — TypeScript, Python, or plain HTTP.
import { PipedreamClient } from "@pipedream/sdk"
const pd = new PipedreamClient({
projectId: process.env.PIPEDREAM_PROJECT_ID!,
clientId: process.env.PIPEDREAM_CLIENT_ID!,
clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
projectEnvironment: "production",
})
const result = await pd.actions.run({
id: "chargekeep-create-invoice",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
chargekeep: { authProvisionId: "apn_xxxxxxx" },
contactId: 10,
status: "Status",
},
})from pipedream import Pipedream
pd = Pipedream(
client_id="{oauth_client_id}",
client_secret="{oauth_client_secret}",
project_id="{project_id}",
project_environment="production",
)
result = pd.actions.run(
id="chargekeep-create-invoice",
external_user_id="{external_user_id}", # any stable ID for this user in your system
configured_props={
"chargekeep": {"authProvisionId": "apn_xxxxxxx"},
"contactId": 10,
"status": "Status",
},
)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "chargekeep-create-invoice",
"configured_props": {
"chargekeep": { "authProvisionId": "apn_xxxxxxx" },
"contactId": 10,
"status": "Status"
}
}'TOOLS
ChargeKeep actions
On-demand operations your product or agent can configure and run on behalf of a connected user.
-
Create Invoice
actionCreate a new invoice in Chargekeep. See the documentationWritev0.0.1 -
Create or Update Contact
actionCreate or update a contact in Chargekeep. See the documentationWritev0.0.1 -
Create Product
actionCreate a new product in Chargekeep. See the documentationWritev0.0.1 -
Get Contact Info
actionGet contact information from Chargekeep. See the documentationRead-onlyv0.0.1 -
List Contact Group ID Options
actionRetrieves available options for the Contact Group ID field.Read-onlyv0.0.1 -
List Currency ID Options
actionRetrieves available options for the Currency ID field.Read-onlyv0.0.1
EVENTS
ChargeKeep triggers
Event sources your backend can deploy for users and receive through a webhook.
- App slug
- chargekeep
- Authentication
- API key
- Categories
- Commerce
- Actions
- 6
- Triggers
- 2
- API proxy
- Not available