Elysia Tools

Browse tools, examples, visual explainers, and topic guides from one clear workspace.

Top Categories

Hubs

Language
ZHDERUPTENFRES

Elysia Tools

Navigation

Development

Stripe Candidate Code & Import Script Generator

· Last updated:2026-10-14

Generate candidate strings, a CSV template and a local Node.js importer. This website does not create codes in Stripe or track redemptions. Running the importer needs your Stripe API key on your own machine.

Details

What this tool helps you do

This server-side generator packages candidate codes, a CSV template and a Node.js importer without connecting your Stripe account. Candidates are not active discounts. Existing-account and global uniqueness are not checked. Seeded output is reproducible, not a security secret. CSV redemption fields are empty placeholders, not live tracking. Inspect and run the importer locally with your own Stripe API key to create actual resources; DRY_RUN creates nothing. Stripe validates restrictions, availability and API compatibility. Idempotent retries are not guaranteed indefinitely.

Execution

Run this tool

Fill in the form, run the tool, and review the result in one place.

Samples

Examples that match this tool

Related

Continue with connected tools and hubs

Written by the Elysia Tools team

Tool usage guide

Learn when to use this tool, what it supports, and how real users apply it.

Key facts

Category
Development
Input types
text, number, select, checkbox, date
Output type
json
Sample coverage
4
API ready
Yes

Overview

Generate batches of clean promotion code strings alongside a structured CSV template and an executable Node.js import script tailored for the Stripe API. The tool produces ready-to-import candidate codes without requiring access to your Stripe account or storing your API credentials.

When to use

  • Preparing large batches of single-use or limited-redemption promotion codes for marketing launches without connecting your Stripe dashboard to third-party tools.
  • Standardizing coupon formats across campaigns using customizable prefixes, suffixes, and character sets that filter out confusing characters like 0, O, 1, and I.
  • Exporting an idempotent Node.js script and companion CSV to inspect, test with DRY_RUN, and execute securely from your local developer environment.

How it works

  1. 1Configure campaign parameters including discount type (percentage or fixed amount), redemption limits, character sets, and code length.
  2. 2Optionally provide a seed string to generate a deterministic, reproducible set of candidate promotion codes.
  3. 3Download the generated package containing candidate strings, a formatted CSV template, and a standalone Node.js import script.
  4. 4Inspect the script and execute it locally using your private Stripe API key to create coupons and promotion codes in your own Stripe account.

Use cases

  • E-commerce stores generating single-use checkout promotion codes for seasonal campaigns like Black Friday.
  • SaaS platforms preparing targeted referral discount codes restricted to first-time subscribers.
  • Developers needing reproducible promo code test fixtures and import scripts for staging environments.

Compare alternatives

  • Generate formatted Markdown tables from CSV, JSON, or array data with alignment, header styles, width control, and merge hints

  • Import created→started→resolved timestamps from CSV (Jira-style or simple) and get flow metrics the way agile coaches read them: lead/cycle time percentiles,…

  • Generate a printable workout-plan PDF from JSON or CSV data with exercise tables, progress boxes, and optional QR video links

Who it's for

Best for

  • Generate content in the browser.
  • Workflows where Character set matters, such as Upper-case letters + digits (Stripe style) or Upper-case letters only.
  • The “200 unique Black Friday codes with BF26- prefix” workflow, done in one pass.

Not ideal for

  • Fully automated batch jobs — this page is built for interactive use; use the API endpoint for scripts.
  • Content in other formats — this tool expects content.

Edge cases & common failures

  • Very large files

    Large files take longer and can hit browser memory limits — try a smaller sample first.

  • Skipping the output check

    Compare the first rows or pages of the output with the input before using it in production.

  • Files from unusual exporters

    Some files use format variants that do not convert cleanly — if the output looks wrong, re-save the file from the app that created it and try again.

Examples

1. Black Friday Single-Use Discount Batch

E-commerce Operations Manager

Background

A retail brand wants to distribute 200 single-use discount codes via an email blast for an upcoming holiday sale.

Problem

Manual code creation in the Stripe dashboard is slow, and third-party tools require full API write access to the store's Stripe account.

How to use

Set the campaign name to 'black-friday-2026', choose 200 codes with prefix 'BF26-', configure a 20% discount with a max redemption of 1 per code, and download the script package.

{
  "campaignName": "black-friday-2026",
  "count": 200,
  "prefix": "BF26-",
  "bodyLength": 8,
  "charset": "upper-digits",
  "excludeAmbiguous": true,
  "discountType": "percent",
  "percentOff": 20,
  "duration": "once",
  "maxRedemptions": 1
}

Outcome

Receives 200 candidate codes and an idempotent Node.js script to create the coupon and promotion codes securely from the command line.

2. VIP Referral Codes for New Customers

Growth Marketing Engineer

Background

A subscription service needs 50 fixed-value vouchers restricted to first-time customers, expiring at the end of the year.

Problem

Marketing needs codes with a recognizable VIP format that allow up to 3 redemptions each without risking ambiguous characters during checkout entry.

FAQ

Does this tool automatically create promotion codes in my Stripe account?

No. The tool generates candidate strings, a CSV file, and a Node.js script. You run the script locally with your own Stripe API key to create the codes.

Are candidate codes guaranteed to be unique within my Stripe account?

No. The generator ensures internal uniqueness within the generated batch, but it cannot inspect your existing Stripe account data to check for previous duplicates.

Can I test the import script before creating live resources in Stripe?

Yes. The generated Node.js script includes a DRY_RUN mode so you can preview requests and validate your CSV data without creating resources in Stripe.

What is the purpose of the seed parameter?

Entering a seed string ensures deterministic pseudorandom generation, allowing you to recreate the exact same batch of codes later if needed.

Does the CSV track live code redemptions?

No. Redemption columns in the exported CSV are blank structural templates intended for local logging or reference, not live analytics.

Hub

Stripe Promo Code Batch Review and Import Preflight

Review candidate codes, reconcile CSV and embedded importer data, inspect revisions and record a local dry run before approving a Stripe import package.

Home
Tools3212
Samples593
Visualizations471
Viewers103
Hubs239
Tags333
Images, Audio & Video657

Image, audio, and video processing, conversion, and optimization tools

Math, Date & Finance647

Calculators, numerics, date logic, statistics, and finance tools

Design & Color298

Color, layout, graphics, visual styling, and design helper tools

Text & Writing209

Writing, cleanup, formatting, extraction, and text analysis tools

Developer & Web193

Developer utilities, networking, web debugging, and automation helpers

Conversion & Encoding175

Format, file, archive, unit, and encoding conversion tools

Lead Generation Quiz Launch and Contact Handoff
Memorial Drafts: Family Review and Print Handoff
Private Habit Records: Backup, Restore and Sharing Review
Article to X and LinkedIn Drafts: Fact Review and Handoff
Markdown Interactive Deck Review and Offline Handoff

© 2026 Elysia Tools. All rights reserved.

DocsPricingAboutTerms of ServicePrivacy PolicyCookiesContact
Data

CSV Samples

Sample CSV files with various data types, sizes, and complexity levels

C#

Windows String Processing - C# Samples

Comprehensive C# string processing examples for Windows platform including string manipulation, splitting, joining, regex operations, and text analysis

Programming Languages

Python Samples

Essential Python code examples and Hello World demonstrations

Development

Import Path Examples

Collection of JavaScript and TypeScript import examples demonstrating various import patterns and module systems

Design

Barcode Batch Generator

Batch generate Code 128, EAN-13, UPC-A, ITF-14, QR Code, and Data Matrix outputs from CSV or multiline text

Data Visualization

CSV Histogram, Scatter and Box Plot Chart Studio

Upload or paste a CSV and chart it instantly: histograms with Sturges / Freedman-Diaconis / Scott binning, scatter plots with Pearson r and a least-squares fit, and Tukey box plots — every chart downloadable as PNG and SVG.

Data Processing

CSV Splitter

Split CSV content by specified number of rows per file. Perfect for processing large datasets, dividing data for analysis, batch processing, and managing file size limits. Features: - Split CSV by row count - Support multiple output formats - Preserve header row in each split - Flexible output format options - Support for large datasets - Fast and efficient processing Common Use Cases: - Split large CSV files for processing - Divide data for parallel processing - Create manageable data chunks - Export data in different formats - Prepare data for batch operations - Manage file size limitations

Data Processing

CSV to Database Migration Planner

Infer a relational schema from CSV data and generate create-table plus ALTER migration plans for PostgreSQL, MySQL, SQLite, or SQL Server

How to use

Configure 50 codes with prefix 'VIP' and suffix '-X', set amountOff to 15 EUR, check 'First-time customers only', set max redemptions to 3, and add an expiration date.

{
  "campaignName": "vip-referral",
  "count": 50,
  "prefix": "VIP",
  "suffix": "-X",
  "bodyLength": 6,
  "charset": "alnum",
  "excludeAmbiguous": true,
  "discountType": "fixed-amount",
  "amountOff": 15,
  "currency": "eur",
  "duration": "forever",
  "maxRedemptions": 3,
  "redeemBy": "2026-12-31",
  "firstTimeOnly": true
}

Outcome

Generates readable voucher strings and a local import script configured with customer restrictions and expiration dates ready for Stripe import.

Markdown Table Generator
Kanban Cycle Time & Throughput Coach
Fitness Workout PDF Generator