# Install stripe-mock with Homebrew, zypper

Mock HTTP server that responds like the real Stripe API. Version 0.202.0 via Homebrew; verified 2026-07-26. Also installable with zypper: sudo zypper install stripe-mock.

## Install

```sh
sudo av install brew:stripe-mock
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install stripe-mock
```

  Evidence: local Homebrew formula metadata

### Linux

- zypper (92%):

```sh
sudo zypper install stripe-mock
```

  Evidence: openSUSE Tumbleweed package metadata: stripe-mock from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:stripe-mock
- **Package manager:** Homebrew
- **Version:** 0.202.0
- **Source summary:** Mock HTTP server that responds like the real Stripe API
- **Homepage:** <https://github.com/stripe/stripe-mock>
- **Repository:** <https://github.com/stripe/stripe-mock>
- **Last updated:** 2026-07-26T04:03:47+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- stripe-mock (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.202.0
## Project history and usage

stripe-mock is Stripe's official mock HTTP server for basic sanity checks against the Stripe API shape. It is used in CLI and package-manager contexts as a local binary or service that lets SDKs and integration tests validate request paths and parameters without calling the live Stripe API.

### Project history

Stripe's README says the project was first released in 2017 and that its original ambition was broader: returning responses that were realistic as well as type-correct. The same source explains that the scope has since narrowed; stripe-mock is deliberately stateless, hardcoded, and aimed at basic validation rather than full API behavior simulation.

The project is generated from Stripe's OpenAPI specification, which keeps the mock aligned with the latest methods, resources, and fields. That makes it part of Stripe's broader API tooling pipeline rather than a hand-maintained fake service.

### Adoption history

Stripe documents use of stripe-mock inside server-side SDK test suites such as stripe-ruby and stripe-go. Package availability in the input shows distribution through Homebrew and zypper, while the official README also documents release downloads, Docker usage, and a Homebrew service.

### How it is used

Common usage is to start the `stripe-mock` server locally, then run tests or sample requests against its HTTP and HTTPS ports. The README also documents automatic port selection, Unix socket mode, Docker execution, and Homebrew service management.

### Why package nerds care

Package maintainers care about stripe-mock because it turns a remote payments API into a reproducible local fixture for SDK testing. It is intentionally not a full emulator, but its OpenAPI-driven route and schema validation make it useful for packaging, CI, and client-library smoke tests.

### Timeline

- 2017: Stripe first released stripe-mock.
- Current: Stripe documents a narrowed scope focused on stateless basic sanity checks backed by the Stripe OpenAPI specification.

### Related projects

- Stripe OpenAPI specification, Stripe server-side SDKs such as stripe-ruby and stripe-go, Docker images, Homebrew services, and playback-testing tools such as VCR are documented adjacent points in the official README.

### Sources

- <https://github.com/stripe/stripe-mock#readme>
- source_facts.description
- source_facts.package-manager


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service

## Other Package-Manager Records

- zypper - stripe-mock - 0.201.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: stripe-mock from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Mock HTTP server based on the real Stripe API | https://github.com/stripe/stripe-mock


## Combined YAML source

View the package source record on GitHub. [combined/stripe-mock.yml](https://github.com/mxcl/pkgdb/blob/main/combined/stripe-mock.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
