View as Markdown
Keysender icon

Keysender ACTION

Create Transaction

Creates a new transaction within Keysender. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Keysender account once, then configure and run Create Transaction from your backend or agent.

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: "keysender-create-transaction",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    keysender: { authProvisionId: "apn_xxxxxxx" },
    payer: "Payer",
    databaseId: 10,
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Create Transaction inputs
Property Type Description
payer Payer string
Email address of the payer
Required
databaseId Database ID integer
The database ID from which codes will be taken.
Required Dynamic
amount Amount string
Amount of the transaction
Required
name Name string
Name of goods
Required
quantity Quantity integer
How many codes will be sent
Optional
currency Currency string
Currency of the transaction
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
keysender-create-transaction
Version
0.0.2
App
Keysender
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes