Skip to content
Payrexx logo

Connectors / Finance · HTTP Connector

Payrexx integration and API

Create a gateway, create a subscription and create an invoice in Payrexx. Connect Payrexx to the rest of your finance stack with Tray.ai.

What can you do with Payrexx on Tray.ai?

Payrexx is a Swiss payment platform for accepting online, in-store, and invoice payments through many payment providers, with payment pages, paylinks, and subscriptions. Tray.ai connects to Payrexx through the HTTP Connector, so your workflows can call the Payrexx API alongside the rest of your stack.

  • Create an invoice in Payrexx when an order is approved in your CRM, so the customer can pay online.
  • List payouts each week and reconcile them against bank deposits in your accounting system.
  • Create a gateway for each new booking in your booking system so the customer gets a payment page for the exact amount due.
Connects through
HTTP Connector
Authentication
An API key in a request header
Base URL
https://api.payrexx.com/v1.0

Set it up

Connect Payrexx to Tray.ai

Each step uses Payrexx's own API details, from its documentation.

Save Payrexx's API key

Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.payrexx.com/v1.0 as the base URL. Or paste a cURL example from Payrexx's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “Get a gateway”

It's one of 16 documented actions, under Gateways. The response comes back as data the next step can map into your other apps.

Hand it to an AI agent

Wrap “Create a gateway” and “List transactions” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Workflows to build with Payrexx

Connect Payrexx with Xero and HubSpot

Each one uses actions and events from Payrexx's own API documentation.

Record Payrexx payouts as bank deposits in Xero

When

On a schedule

Then

  1. List payouts since the last run
  2. Get a payout for its amount and date
  3. Record the bank deposit in Xero

With Xero

Create a Payrexx invoice when a HubSpot deal closes

When

A deal closes in HubSpot

Then

  1. Create an invoice for the deal amount
  2. Note on the deal in HubSpot that the invoice was sent

With HubSpot

Apps you can build on Payrexx data

Internal tools your team can build with an AI assistant, each one using Payrexx calls from its API documentation.

Payout reconciliation

Lists payouts with the transactions they contain so finance can match money received to sales.

Open invoice board

Lists invoices so staff can see which are unpaid and update or delete an invoice.

Waiting transaction queue

Shows transactions still waiting for payment so staff can cancel ones that will not complete.

Payrexx MCP server for AI agents

Build an MCP server on Payrexx in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • Create a gateway
  • List transactions
  • List subscriptions
  • List invoices
  • List payouts
  • Get a gateway
  • Get a transaction
  • Cancel a waiting transaction

What the Payrexx API covers

5 resources and 16 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how. New to APIs? Read what an API integration is.

Gateways

  • Create a gateway
  • Get a gateway

Transactions

  • List transactions
  • Get a transaction
  • Cancel a waiting transaction

Subscriptions

  • List subscriptions
  • Get a subscription
  • Create a subscription
  • Update a subscription

Invoices

  • List invoices
  • Get an invoice
  • Create an invoice
  • Update an invoice
  • Delete an invoice

Payouts

  • List payouts
  • Get a payout

Checked against Payrexx's own documentation on 2026-10-22

developers.payrexx.com/reference/rest-api

Frequently asked questions

What can a Tray.ai workflow do in Payrexx?

The Payrexx API documents 16 actions across 5 resources (Gateways, Transactions, Subscriptions, Invoices, Payouts). For example: Create a gateway; List transactions; List subscriptions. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Payrexx?

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

See Payrexx working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.