Skip to content
CAI
Software that uses CAICheck a score

beam-community/stripity-stripe

64.7

Adequate · 13 November 2026

45.8k

lines of production code

Elixir

primary language

8

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

New Stripe Connect OAuth integration module

Added \Stripe.Connect.OAuth\ to support Stripe Connect workflows, allowing users to generate OAuth authorization URLs (including support for both standard and express account types), exchange authorization codes for access tokens, and deauthorize connected accounts. The module includes specific response structs for token and deauthorization results and integrates with the existing API and converter layers.

lib/stripe/connect · high confidence

New code generation pipeline for Stripe API modules

The \lib/openapi\ directory now contains a complete code generation pipeline that reads the Stripe OpenAPI specification and generates Elixir modules and functions. This includes a new \mix stripe.generate\ task, blueprint data structures for schemas and operations, and processing phases that parse the spec, build module structures, and compile the final API client code. This change introduces the infrastructure for automatically generating SDK code from the Stripe API definition.

lib/openapi · high confidence

Repository initialization with standard Elixir tooling and configuration

The repository has been initialized with standard Elixir project configuration files, including \.commitlintrc.yml\ for conventional commit enforcement, \.credo.exs\ for code linting, and \.formatter.exs\ for code formatting. It also includes a \Makefile\ for managing Stripe OpenAPI SDK updates and code generation, a \.tool-versions\ file specifying Elixir 1.19 and Erlang 27.3, and a \.latest-tag-stripe-openapi-sdk\ file tracking the SDK version (v2129). The project license has been updated to reflect the BEAM Community copyright, and the README has been expanded with detailed installation, configuration, and usage examples.

(repo-wide) · high confidence

Behavioural changes

Add default configuration for erlexec user

A new \config/config.exs\ file has been added to the project, which imports any existing secret configuration and explicitly sets the \user\ environment for the \erlexec\ library to the value of the \USER\ system environment variable. This ensures that \erlexec\ runs with the correct user context, addressing potential issues when executed as root.

config · high confidence

Introduction of OpenAPI code generation and major refactoring of the Stripe core module

This change introduces a new \lib/open\_api.ex\ module that implements a pipeline-based code generation system (parsing, building modules/operations, documentation, and compilation) to automatically generate API client code. Simultaneously, the core \lib/stripe.ex\ module has been significantly refactored: it now explicitly documents shared request options (including a new \:response\_as\ option for flexible response formatting), details HTTP connection pool configuration, and updates the application startup logic to integrate with the new API supervisor structure. This represents a shift from a manual, hardcoded HTTP client implementation to a more automated, configurable, and structured approach.

lib · high confidence

Regenerate Elixir client services from Stripe OpenAPI v755

The generated API client code in lib/generated has been updated to align with Stripe OpenAPI specification v755. This regeneration refreshes the Elixir modules for Stripe resources (such as Account, AccountLink, AccountSession, and BalanceTransaction) and their corresponding API methods, ensuring the library reflects the latest Stripe API structure, parameters, and response types.

lib/generated · high confidence

Stripe library restructured with new core modules and removed legacy endpoints

The library has been refactored to introduce a new modular architecture, adding dedicated modules for configuration (Stripe.Config), request handling (Stripe.Request), response conversion (Stripe.Converter), and webhook processing (Stripe.Webhook, Stripe.WebhookPlug). Legacy resource modules such as Stripe.Charges and Stripe.Customers have been removed in favor of this new structure. The change also updates the default Stripe API version to 2025-11-17.clover and introduces support for configurable JSON libraries and connection pooling.

lib/stripe · high confidence

Test coverage

Added test coverage for Stripe Connect resources; Added test coverage for Stripe Connect resources; Added test coverage for Stripe core resources; Added test coverage for Stripe payment method resources; Added test coverage for Stripe subscription-related resources; Added test helpers for mocking Stripe API interactions; Added tests for BillingPortal.Session; Added tests for Early Fraud Warnings; Added tests for Stripe Checkout Session operations; Added tests for Stripe Identity Verification resources; Added tests for Stripe Terminal resources; Comprehensive test suite for Stripe Elixir library; Test suite now uses StripeMock and Mox for isolated testing.

Dependencies

Major dependency overhaul and project rebranding to stripe-elixir v3.3.2

The project has been renamed from \stripity\_stripe\ to \stripe-elixir\ and bumped to version 3.3.2, requiring an Elixir runtime of at least 1.11. This update replaces the JSON serialization library from Poison to Jason and introduces telemetry for observability. The HTTP client dependency has been significantly upgraded from hackney 1.3.2 to 4.7.4, which brings in modern Erlang/OTP dependencies like h2, webtransport, and updated SSL verification libraries. Development tooling has also been updated, including ex\_doc to 0.40.4, credo to 1.7.19, and dialyxir to 1.4.8.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 65 → 65 (-0.5)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.

Lenses

  • Code Health 100 → 100 (+0.0)
  • Architecture 74 → 92 (+17.8)
  • Maturity 54 → 57 (+3.0)
  • Readiness 85 → 85 (-0.2)
  • Security 70 → 55 (-14.5)

Resolved (2)

  • Off-boarding risk: anonymized user #1
  • Projects may be oversized for their cohesion

New (10)

  • Edited copy of a member (11 corresponding lines) (lib/stripe/connect/oauth.ex)
  • Edited copy of a member (5 corresponding lines) (lib/stripe/request.ex)
  • High interface indirection
  • Medium CVE: EEF-[CVE redacted] (mix.lock)
  • Orphaned file (lib/stripe.ex)
  • Orphaned file (lib/stripe/request.ex)
  • Orphaned file (lib/stripe/webhook.ex)
  • Orphaned file (lib/stripe/webhook_plug.ex)
  • Outdated: dialyxir
  • Outdated: hackney

Changes since last survey

  • 3 commits — 2 feature/other, 1 fixes

By area

  • (root) — 3 commits

Notable commits

  • fix: fix(deps): require hackney ~> 4.9 for its security fixes (#958)
  • change: chore(deps): bump erlexec from 2.5.0 to 2.6.0 in the dev group (#961)
  • change: chore(main): release 3.3.3 (#937)

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

beam-community/stripity-stripe was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 13 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 1f393ccb8b85ec5570f258a461ee3c2bd8eda81e — the exact code this score is about.
  • Scored under rubric-2026.11.3 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.57+preprod-8ebfb01cf4c0.