E-commerce
Stripe email validation integration
Check the addresses of the customers in your Stripe account and keep each verdict in the customer’s metadata, where the Stripe Dashboard shows it and Stripe’s search finds it. A relay checks every new or changed customer within seconds; a sync script checks the customers you already have as one bulk list.
Read the full setup guideGet an API key
- Setup guide
- A file you download
cd email-validation-stripe
export EV_API_KEY=… STRIPE_API_KEY=…
node stripe.mjs --dry-run # counts what it would check
node stripe.mjs # checks and writes the metadataAt a glance.
- Status
- Setup guide. Not listed on a marketplace yet: you set it up yourself in a few steps, below and in the full guide.
- For
- Businesses that bill customers through Stripe and want to know which customer addresses would bounce their receipts, invoices or own mail.
- You need
- An API key of ours with Validate addresses (and Bulk lists for the sync script), a Stripe restricted key with Customers: Write and nothing else, and a Cloudflare account for the relay.
- Costs
- 1 credit = 1 validated address, as with any API request. Free: unknown results, API errors, malformed addresses, test addresses on sandbox.email-validation.org, addresses on reserved domains such as example.com and, in a bulk list, repeats of an address (charged once).
- Full guide
- Read the full setup guide
Typical uses.
New and changed customers
The relay checks each customer.created, each customer.updated that changed the address and each completed Checkout session’s customer.
The customers you have
The sync script checks every customer without a verdict as one bulk list and writes the five metadata keys back.
Search and segment
Find the addresses not to mail with Stripe’s search on ev_action, or read the metadata in your own code.
Set it up. 4 steps.
The short version of the full setup guide, which stays the reference when a step does not match what you see.
Make a restricted key
In the Stripe Dashboard, API keys, Create restricted key: Customers set to Write, every other resource at None.
Run the sync script
Download email-validation-stripe.zip from the guide and run node stripe.mjs --dry-run, then node stripe.mjs.
Deploy the relay
Deploy relay.mjs to your Cloudflare account and create a snapshot webhook in Workbench for the three events.
Try it free
In a sandbox, add one customer with no_mailbox@sandbox.email-validation.org and send it nothing: its metadata gets ev_status invalid.
Good to know.
It never touches money: no payment, subscription, charge, invoice, refund or payout, and nothing but five metadata keys written.
It cannot stop a sign-up or a payment; Stripe sends its webhooks after the fact.
It fails open: a timeout, a network error, a rate limit or any error answer leaves the customer as it is.
Each check uses one credit; unknown results and sandbox addresses are free.
Connect Stripe.
Test it on our sandbox addresses for free, then on your own contacts.
Updated · Maintained by: Email Validation LLC