Full list

Supported Triggers & Actions

Everything you can automate between PayHere and SnapTrade.

When this happensTriggers

A trigger is an event that starts a workflow.

Payment Received

Payment Received

Triggers when a payment is received.

Subscription Cancelled

Subscription Cancelled

Triggers when a user has cancelled their subscription, or Stripe has marked it as cancelled due to payment failures.

Request a new Trigger for PayHere

Do thisActions

Action is the task that follows automatically within your PayHere integrations.

Create a Plan

Create a Plan

Creates a new payment plan

Update Current Company

Update Current Company

Update the company information for currently authenticated user.

Issue a refund

Issue a refund

Issue a refund a customer the amount specified, can be a partial refund.

Place Equity Order

Place Equity Order

Place a buy or sell order for a stock or ETF in a connected brokerage account.

Get Equity Quotes

Get Equity Quotes

Retrieve current market quotes for specified equity symbols in a user's account (up to 10 symbols).

Estimate Equity Order Impact

Estimate Equity Order Impact

Estimate the cost, fees, and expected execution impact of placing a stock or ETF buy or sell order in a connected brokerage account.

How to build your first workflow with viaSocket
2-Minute Guide

Learn how to build your first workflow

Follow a simple walkthrough to create, test, and launch your first automation.

  1. 1

    Connect your apps

    Link the apps you want to automate.

  2. 2

    Configure your workflow

    Set up triggers, actions, and map your data.

  3. 3

    Test & publish

    Test your workflow and publish it.

Trusted by Thousands. Recognized by the Best.

Recognized by leading review platforms and trusted by 10,000+ businesses worldwide.

Workflow: Auto Close Inactive viaSocket Connections
YOU
AI Workflow Builder

From idea to automation.
AI will build it for you

Just describe the task in plain English. viaSocket AI selects the right apps, builds the workflow, maps the fields, and prepares everything for review before you publish.

No coding required|Review before publishing|Works with 2,000+ apps
Create with AI

Need help building your workflow?

Get help instantly from AI or reach out to our support team.

viaSocket Support

We're here to help

Online
Support agent
What can I help you with?
How can I set trigger?
10:30 AM ✓

Instant answers

AI assistant available 24/7

Expert support

Connect with our specialists

Trusted & secure

Your data is safe with us

Start automating PayHere and SnapTrade free

No credit card required. Set up your first workflow in minutes.

Integrations PayHere
PayHere + SnapTrade
PayHere logo

About PayHere

PayHere is a comprehensive online payment gateway service that facilitates seamless and secure transactions for businesses and individuals in Sri Lanka. It supports multiple payment methods, including credit cards, mobile payments, and bank transfers, making it easier for users to manage their financial transactions online.

Learn more
Integrations SnapTrade
SnapTrade + PayHere
SnapTrade logo

About SnapTrade

SnapTrade is a unified brokerage connectivity and trading API that enables fintech teams and developers to connect users’ brokerage accounts, access normalized portfolio data (balances, holdings, orders, transactions), and place trades for stocks, ETFs, options, and crypto through a single secure integration. With SDKs, webhooks, and high-success authentication, it powers portfolio tracking, holdings verification, and embedded trading across hundreds of millions of retail investor accounts.

Learn more

Frequently Asked Questions

How do I connect PayHere and SnapTrade?

Sign up for a free viaSocket account, then authorize both your PayHere and SnapTrade accounts. From there, pick a trigger in one app and an action in the other. Your first workflow can be live in under five minutes.

Does this integration work in real time?

Yes. viaSocket uses instant triggers where available, so data moves between PayHere and SnapTrade as soon as the event happens. Scheduled polling triggers run at a maximum interval of 15 minutes.

Can I control which data gets sent from PayHere to SnapTrade?

Yes. You can map specific fields, apply filters to skip records that do not match your conditions, and transform values before they reach SnapTrade. No coding required.

Can the integration run in both directions?

Yes. You can set up a workflow where PayHere triggers actions in SnapTrade, and a separate workflow where SnapTrade triggers actions in PayHere. Both run independently and in real time.

What happens if a step in the workflow fails?

viaSocket logs every run so you can see exactly what succeeded and what failed. Failed tasks can be retried from the dashboard without re-configuring the workflow.

Is viaSocket free to use?

Yes, there is a free plan that covers basic workflows between PayHere and SnapTrade. Paid plans unlock higher task limits, faster polling, and advanced features like multi-step workflows and conditional logic.

Do I need to know how to code to set this up?

No. The entire PayHere and SnapTrade integration is built through a visual, point-and-click interface. Code blocks are available if you want them, but they are never required.