Latenode

Sync Square payments to Stripe, streamline financial reporting

This template starts when Square sends a payment event, maps amount, currency, and description in JavaScript, and creates a Stripe payment link so both sides share a follow-up URL. Connect Square. Put the Stripe secret key in that JavaScript node. Skip the run when the Square event is not a payment.

Updated Sep 16, 2026Est. run: 9sEst. cost: $0.0006
How Latenode estimates time and cost

Latenode bills workflow runtime in CPU seconds. The first 10,000 CPU seconds are free each month, then usage follows pay-as-you-go CPU-second pricing. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how CPU seconds work →

Workflow preview

What this template does

  • Creates a Stripe payment link when Square records a payment
  • Starts from Square payment events
  • Maps amount, currency, and description in JavaScript
  • Keeps the Stripe secret key in the JavaScript node

How it works

1
Trigger

Watch Square events

The scenario starts when Square sends an event to Latenode.

2
Logic

Keep new payments

JavaScript continues when the event is a payment and maps amount, currency, and description. Fetch the order from Square if the payload is only an id.

3
Action

Create the Stripe payment link

JavaScript calls the Stripe Payment Links API with those fields. Put the Stripe secret key in that JavaScript node.

Setup guide

1

Connect Square

Add a Square connection. Add a Square trigger for new events and keep payment events in JavaScript.

2

Create a Stripe secret key

In Stripe, create a secret key that can create payment links.

3

Create the payment link in JavaScript

Put the Stripe secret key in the JavaScript node. Map Square amount, currency, and description into the Stripe payment link. Take a test payment in Square and confirm Stripe returns a link.

Requirements

A Square account Latenode can read payment events from
A Stripe secret key stored in the JavaScript node
Permission in Stripe to create payment links

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work.