Templates / Monetize workflows with x402 Payment Protocol and 1Shot API

Monetize workflows with x402 Payment Protocol and 1Shot API

Unknown

by 1Shot API ✓ · 520 views · created 2025-06-26 · Crypto Trading

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This workflow has 10 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects 1shot (community).

How it runs

Trigger: When an HTTP GET request hits its webhook URL.

  1. Payment Token Configs (Code): runs custom JavaScript code
  2. Validate & Verify X-Payment Header (Code): runs custom JavaScript code
  3. Verify Payment (One Shot): simulate
  4. Response: Missing or Invalid Payment Headers (Respond to Webhook): sends the response back to the webhook caller
  5. On Successful Payment Simulation (If): checks a condition and branches into true / false
  6. Settle Payment (One Shot Synch): uses One Shot Synch
  7. Response: Payment Invalid (Respond to Webhook): sends the response back to the webhook caller
  8. Response: 200 - Payment Successful (Respond to Webhook): sends the response back to the webhook caller
  9. Response: Payment Failed (Respond to Webhook): sends the response back to the webhook caller

Services it uses

1shot (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 2 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that n8n-nodes-1shot is verified or supports 3.0 (used in Settle Payment).
  • Check that n8n-nodes-1shot is verified or supports 3.0 (used in Verify Payment).

Nodes used (6)

From the author

Monetize Your n8n Workflow with x402 This workflow lets you monetize any n8n workflow with the x402 payment protocol. It uses 1Shot API as the onchain transaction fascilitator role. Check out the tutorial video for a complete walkthrough. Setup 1. Create a…

Excerpt from 1Shot API's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.