# Payfunnels integrations: payment links

> Create a one-time payment link and create a setup fee in Payfunnels. Connect Payfunnels to the rest of your finance stack with Tray.ai.

**Canonical page:** https://tray.ai/connectors/payfunnels-integrations/
**Categories:** Finance
**Connects through:** HTTP Connector

## Overview

Payfunnels runs on top of Stripe to let businesses take payments through payment links, invoices, subscriptions, and payment plans without writing code. Tray.ai connects to Payfunnels through the HTTP Connector, so your workflows can call the Payfunnels API alongside the rest of your stack.

## Use cases

### Payment links

Read, create, update, and delete payment links in Payfunnels from any Tray.ai workflow. The Payfunnels API covers calls such as list payment links and get a payment link.

- List payment links
- Get a payment link
- Create a one-time payment link

### Payments

Read and update payments in Payfunnels from any Tray.ai workflow. The Payfunnels API covers calls such as list payments and get a payment.

- List payments
- Get a payment
- Refund a payment

### Subscriptions

Read, update, and delete subscriptions in Payfunnels from any Tray.ai workflow. The Payfunnels API covers calls such as list subscriptions and get a subscription.

- List subscriptions
- Get a subscription
- Cancel a subscription

### Setup fees

Read, create, update, and delete setup fees in Payfunnels from any Tray.ai workflow. The Payfunnels API covers calls such as list setup fees and create a setup fee.

- List setup fees
- Create a setup fee
- Update a setup fee

### Processing fees

Read processing fees in Payfunnels from any Tray.ai workflow. The Payfunnels API covers calls such as list processing fees and get the default processing fee.

- List processing fees
- Get the default processing fee

## Challenges Tray.ai solves

### Keeping Payfunnels credentials out of logs

A raw API call usually means pasting a key or token into the request, where it ends up in step inputs, logs, and screenshots.

**How Tray.ai helps:** Store Payfunnels credentials once as a Tray.ai authentication and reference them from the HTTP Connector. Tray.ai masks authentication values in logs, so the secret never shows up in a step's input or output.

### Going from the Payfunnels API docs to a working call

Translating an example request from API docs into a workflow step means copying the method, URL, headers, and body by hand.

**How Tray.ai helps:** Paste a cURL example from the Payfunnels API docs into the HTTP Connector and Tray.ai fills in the method, URL, headers, and body for you.

### Handling files and non-JSON responses

Not every API answers in JSON. Some return XML, files, or binary data, or expect a multipart upload.

**How Tray.ai helps:** The HTTP Connector parses JSON and XML responses, returns files you can pass to the next step, and sends multipart form data for uploads.

## Frequently asked questions

### Does Tray.ai connect to Payfunnels?

Yes. Tray.ai connects to Payfunnels through the HTTP Connector, which calls the Payfunnels API directly. Any call the Payfunnels API documents can run as a step in a Tray.ai workflow.

### How does Tray.ai authenticate with Payfunnels?

The Payfunnels API uses an API key in a request header and OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

### Can I get a dedicated Payfunnels connector?

Payfunnels runs through the HTTP Connector rather than a dedicated connector. If your team wants one, the Tray.ai connector SDK can build a dedicated Payfunnels connector from the Payfunnels API.

## Learn more

- Tray iPaaS: https://tray.ai/platform/ipaas/
- Tray Helix agents: https://tray.ai/helix/agents/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
