Weavz
Paytrail

Paytrail

Create Paytrail payments, retrieve payments, list providers, issue direct or email refunds, and receive signed callbacks.

5 tools
1 trigger

Tools

Name
create_payment

Create a Paytrail hosted payment transaction.

get_payment

Retrieve a Paytrail payment by transaction ID.

list_providers

List available Paytrail payment providers for a payment amount and currency.

refund_payment

Create a Paytrail refund for a payment transaction.

email_refund_payment

Create a Paytrail email refund when account details must be collected from the payer.

Triggers

Name
payment_callback_received

Receive Paytrail redirect/callback payloads and verify the HMAC signature when headers are available.

Quick Start

TypeScript
import { WeavzClient } from '@weavz-io/sdk'

const weavz = new WeavzClient({ apiKey: 'wvz_...' })

const result = await weavz.actions.execute('paytrail', 'create_payment', {
  workspaceId: '550e8400-e29b-41d4-a716-446655440000',
  integrationAlias: 'paytrail',
  input: { /* ... */ },
})

Related Integrations

Works well with

Frequently Asked Questions

How do I connect Paytrail to my app?

Use Weavz Hosted Connect for Custom authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.

What tools does Paytrail support?

Paytrail supports 5 tools including Create Payment, Get Payment, List Providers, Refund Payment, Email Refund Payment.

Can I use Paytrail with AI agents?

Yes. Add Paytrail to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.

Can Paytrail be used in stateful agent workflows?

Yes. Agents can combine Paytrail tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.

What authentication does Paytrail use?

Paytrail uses Custom. Weavz stores credentials securely and uses them for authorized action execution.

How much does the Paytrail integration cost?

The Paytrail integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.

What triggers does Paytrail support?

Paytrail supports 1 triggers including Payment Callback Received.

Connect Paytrail in minutes

Get 20,000 free action executions every month. No credit card required.