# Payrexx — Pipedream Connect

> The All-in-One payment solution for global SMEs

- API slug: `payrexx` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Commerce
- Website: https://payrexx.com
- This page (HTML): https://pipedream.com/apps/payrexx
- Tools: 7 actions · 0 triggers

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: payrexx`

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
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 accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_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": "payrexx",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Create Gateway:
const result = await mcp.callTool({
  name: "payrexx-create-gateway",
  arguments: {
    amount: 10,
    currency: "Currency",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## SDK

```ts
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: "payrexx-create-gateway",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    payrexx: { authProvisionId: "apn_xxxxxxx" },
    amount: 10,
    currency: "Currency",
  },
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Actions (7)

### `payrexx-create-gateway` — Create Gateway (Write)

Create a new gateway. See the documentation

Full schema: https://pipedream.com/apps/payrexx/actions/create-gateway.md

### `payrexx-create-manual-payout` — Create Manual Payout (Write)

Create a manual payout. See the documentation

Full schema: https://pipedream.com/apps/payrexx/actions/create-manual-payout.md

### `payrexx-create-paylink` — Create Paylink (Write)

Create a paylink. See the documentation

Full schema: https://pipedream.com/apps/payrexx/actions/create-paylink.md

### `payrexx-delete-gateway` — Delete Gateway (Write)

Delete a gateway. See the documentation

Full schema: https://pipedream.com/apps/payrexx/actions/delete-gateway.md

### `payrexx-delete-invoice` — Delete Invoice (Write)

Delete an invoice. See the documentation

Full schema: https://pipedream.com/apps/payrexx/actions/delete-invoice.md

### `payrexx-list-invoices` — List Invoices (Read-only)

List all invoices for a merchant. See the documentation

Full schema: https://pipedream.com/apps/payrexx/actions/list-invoices.md

### `payrexx-remove-paylink` — Remove Paylink (Write)

Remove a paylink. See the documentation

Full schema: https://pipedream.com/apps/payrexx/actions/remove-paylink.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
