ViablyViably

Send any payment event to Slack

For payments outside Stripe, Viably’s Webhook Relay accepts a simple JSON payload from any payment provider or homegrown billing system. Viably formats it into a clean transaction card and posts it to your Slack channels. You can also turn on periodic revenue summaries for your team.
Trigger
POST /relay
Lands in
The relay log, plus any channel you route to
Setup
4 min
Needs
Anything that can send an HTTP POST
#revenue
ViaApp8:30 AM

$49.90 · Apr 27, 8:30 AM

Samuel Chan · Jakarta, ID

Product
Pro Plan, monthly
Phone
+62 877 1212 1212
Source
pay.myapp.com
Open the contact

Viably matched the customer email to a contact, so this revenue counts toward the channel that won them.

What this guide produces, as it appears in Slack.

Get started in 2 steps

Before you start
Invite @Via to the Slack channel where you want webhooks to appear. Without this, Viably accepts your webhook but cannot post to the channel.
Step 1Create a Non-Stripe Transactions relay

In the Viably dashboard, click New Relay, then Transactions, then Non-Stripe Transactions. Give it a name, pick your Slack channels, and hit Create. You get a Bearer token and relay URL immediately.

Step 2POST your payload from your payment handler

After a successful payment in your backend, send a POST to the relay URL with your Bearer token in the Authorization header. Viably formats it and posts to Slack within seconds.

Send the token as a Bearer header
Stripe posts to a plain URL, but your own backend can set custom headers. Always pass the token as Authorization: Bearer <token> and keep it in an environment variable.

Payload reference

POST a flat JSON object to the relay URL. Viably reads the following top-level fields and maps them into a transaction card in Slack. Fields marked required must be present for the message to render correctly and for batch reporting to produce accurate totals.

Minor units, always
amount must be an integer in the smallest currency unit, consistent with Stripe and most payment processors. Send 4990 for $49.90. Viably divides by 100 before display and sums raw integers for batch totals and periodic reports, so sending 49.90 makes every revenue figure a hundred times too small.

Code examples

Call the relay from your payment success handler, after your payment provider confirms the charge. Keep the token in an environment variable, out of your source code.

Channel override
Route individual events to a specific Slack channel by adding a channels array to the payload, "channels": ["C0XXXXXXX"]. Viably routes to those channels instead of the endpoint default, as long as the bot is a member.
Spawn a task per transaction
Turn on Spawn a task for the endpoint to create an owned, claimable task from each transaction, assigned to a teammate or left up for grabs. Handy for high-touch follow-up on new or large payments. See the Auto-create tasks guide.

Periodic reporting

Enable Batch Mode on a Non-Stripe Transactions relay to collect events over a configurable window and post them as one summary card. Enable Periodic Reporting to also receive a scheduled revenue digest on a daily or multi-day cadence.

Revenue total

Viably sums the amount values across all events in the batch window and displays a Total Revenue figure.

Transaction carousel

Up to 20 transactions are shown newest first as swipeable cards. Each card shows amount and submission time as the title, customer name with country flag as the subtitle, and email, phone, city, and product in the body.

Revenue sparkline

When events span more than one time bucket, a sparkline such as ▁▂▄▇█▅▂▁ shows how revenue spreads across buckets. Taller bars mean more revenue in that slot.

Period label

A one-day window shows a single date, as in Apr 25. A multi-day window shows a range, as in Apr 19 – Apr 25. All dates are rendered in your workspace’s configured timezone.

Common questions

What teams ask before they turn this on.

Does this work with providers other than Stripe?

Yes. Any provider or backend that can send an HTTP POST works, including Paddle, Lemon Squeezy, Razorpay, processors without a Slack integration, or your own billing code.

What do I have to send?

A transaction type and an amount are enough to get a card in Slack. Add the customer email and Viably attaches the payment to a contact, so you can attribute the revenue to the channel that won that customer.

Can we get a revenue summary instead of a message per payment?

Yes. Periodic reporting posts a digest on the schedule you choose, covering what came in and where it came from. It suits teams with a high volume of payments.

Is there a server to run?

No. Viably hosts the endpoint, so your side only sends the POST.

Get started

Create a payment relay endpoint. It works with any provider that can send a POST, on the free plan.

Add Viably to Slack
See it in actionWebhook Relay