View as Markdown
Fidel API icon

Fidel API ACTION

Create Program

Creates a new card-linked program in the Fidel API. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Fidel API account once, then configure and run Create Program 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: "fidel_api-create-program",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    fidel_api: { authProvisionId: "apn_xxxxxxx" },
    name: "Program Name",
    icon: "Icon",
  },
})

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 Program inputs
Property Type Description
name Program Name string
The name of the Program. Must be between 4 and 50 characters.
Required
icon Icon string
Emoji to associate with the Program. Uses the :emoji-name: format. Must be between 4 and 200 characters.
Optional
iconBackground Icon Background string
Background color for the program icon. Accepts a HEX CSS string, like '#333333'.
Optional
metadata Metadata object
Metadata related to the card, program, or 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
fidel_api-create-program
Version
0.0.2
App
Fidel API
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes