---
title: "Validate contact data in Stripe"
url: "https://lookvalid.com/integrations/stripe.md"
canonical_url: "https://lookvalid.com/integrations/stripe"
last_updated: "2026-10-30"
type: "how-to"
summary: "Check the email domain and phone of a Stripe customer and record the result in metadata that your review rules and dashboards can read."
related: ["https://lookvalid.com/integrations.md", "https://lookvalid.com/docs/api/email-domain-check.md", "https://lookvalid.com/docs/quickstart.md"]
---

# Validate contact data in Stripe

> **For AI agents:** the complete index of LookValid pages is [llms.txt](https://lookvalid.com/llms.txt). Every page is also served as markdown at its URL plus .md.

Check the email domain and phone of a Stripe customer and record the result in metadata that your review rules and dashboards can read.

A Stripe customer record carries whatever the checkout collected, and a disposable email beside a card is a pattern worth a second look before fulfilment or a trial extension. Metadata written next to the customer lets a person or a rule see the signal without a separate tool.

## What LookValid checks

- [Email Domain Check](https://lookvalid.com/products/email-domain-check.md): Reads the domain behind an address: mail records, SPF, DMARC, throwaway domains, free providers and role mailboxes. It never contacts the mail server, so it cannot confirm that a mailbox exists. (1 credit per address checked)
- [IP Intelligence](https://lookvalid.com/products/ip.md): Returns country, region, network owner and risk flags from open data for an address a sign-up came from. (1 credit per lookup)
- [Phone Numbering-Plan Validation](https://lookvalid.com/products/phone.md): Checks a phone number against its country numbering plan and returns E.164 and the number type. It does not say whether the line is active. (1 credit per valid number)

## Connect it in four steps

1. Create a LookValid account and generate an API key from the dashboard, which a person does once.
2. Keep LOOKVALID_API_KEY and the Stripe secret or restricted key in separate environment variables of the handler, with the restricted key limited to customer writes.
3. On a customer.created event call the check with the email; when found is false write nothing, and when LookValid refuses the call log the code and let the event succeed.
4. POST to /v1/customers/{id} with metadata entries for the three values, then filter Radar review lists or reports by the metadata value.

A webhook handler in Node that runs on customer creation and updates the customer. The call is `POST https://YOUR_API_HOST/v1/email-domain-check`.

```js
const API_URL = "https://YOUR_API_HOST/v1/email-domain-check";

export async function validateStripeCustomerEmail(value) {
  const response = await fetch(API_URL, {
    method: "POST",
    headers: {
      Authorization: `Bearer ${process.env.LOOKVALID_API_KEY}`,
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      "email": value,
    }),
  });
  const result = await response.json();
  if (!response.ok) throw new Error(`${result.error.code}: ${result.error.fix}`);
  if (!result.found) return null;
  return {
      "email_signal": result.data?.deliverability_signal ?? null,
      "email_disposable": result.data?.disposable ?? null,
      "email_role": result.data?.role_account ?? null,
  };
}
```

| Response field | Goes into |
| --- | --- |
| `data.deliverability_signal` | email_signal |
| `data.disposable` | email_disposable |
| `data.role_account` | email_role |

## Without code

An automation platform with a generic HTTP step can listen for the Stripe event, call the LookValid endpoint and then update the customer metadata with a second request.

## Questions

### What does a check cost in credits?

Each call uses the credits listed for the product on the pricing page, so the monthly use in Stripe follows the number of addresses you check.

### What does the email check not do?

It looks at the domain only. It does not contact the mail server and cannot say whether a particular mailbox exists, so treat a good signal as a domain that can receive mail.

### Where does Stripe keep the extra values?

In the metadata of the customer, a set of key-value pairs that you set on the update call.

## Sources

- [Stripe API: update a customer](https://docs.stripe.com/api/customers/update), read 2026-10-30

## Related

- [Tool integrations for phone, email and IP checks](https://lookvalid.com/integrations.md)
- [Email Domain Check reference](https://lookvalid.com/docs/api/email-domain-check.md)
- [Quickstart](https://lookvalid.com/docs/quickstart.md)
