ErrorSchema (marshmallow_schemas.py)

shkeeper.io · score 9.2 · payments, error-schema, api-errors, marshmallow, dev-tools
API error response schema with status, message, and optional traceback fields.

BTCPayNetwork

btcpayserver · score 9.2 · payments, cryptocurrency, segwit, electrum, wallet-config
Represents a cryptocurrency network configuration in BTCPay Server, defining settings like SegWit support, Electrum mappings, and wallet features for payment processing.

BTCPayServerClient

btcpayserver · score 9.2 · payments, api-client, invoice-management, refunds
Provides methods to manage invoices via the BTCPay Server API, including creation, retrieval, status updates, archiving, and refunds.

createWebhooks (Webhooks)

stripe-node · score 9.1 · webhooks, signature-verification, stripe-events, payments
Creates a webhook verification object for validating Stripe event signatures and constructing events from raw payloads, ensuring secure webhook handling.

parseHeader (Webhooks)

stripe-node · score 8.9 · integration, webhooks, signature-verification, header-parsing, payments
Parses a webhook header string into timestamp and signatures, supporting custom signature schemes. Essential for verifying incoming webhook payloads.

getStripeConfig (stripe-config.ts)

zentable · score 8.9 · payments, stripe-config, env-mode-switching, price-selection
Stripe Configuration - Environment-aware price selection Automatically switches between test and live prices based on NODE_ENV and STRIPE_MODE /

StripeAPIError

stripe-node · score 8.9 · payments, error-class, api-errors, stripe-errors
Represents errors from the Stripe API, extending the base StripeError with a specific type identifier for API-related failures.

getStripeSubscriptionTier (config.ts)

inbox-zero · score 8.8 · payments
Resolves billing tier (free/pro/lifetime) for a Stripe or Lemon Squeezy subscription, mapping variant/prices to app pricing model for getServerSession.

generateV2Error (Error)

stripe-node · score 8.8 · payments, error-mapping, stripe-api, v2-endpoints, idempotency-handling
Maps raw Stripe API errors to typed error classes for V2 endpoints, handling idempotency, rate limits, and invalid fields before falling back to V1 error generation.

validateComputedSignature (Webhooks)

stripe-node · score 8.8 · payments, signature-validation, webhook-security, timestamp-tolerance, auth
Validates a Stripe webhook signature by comparing computed and expected signatures, checking payload type, and enforcing timestamp tolerance.

buildStaffCashoutParameterDiscovery (staff-cashout.ts)

kitchen-plugin-yot · score 8.8 · payments
Builds a two-part explanatory,

isHighValueDispute (tribunal.ts)

swarmdock · score 8.8 · database, dispute-evaluation, threshold-check, db-query, payments
Fetches disputes from DB and returns boolean whether dispute meets high-value criteria.

classifyToolCall (safety.ts)

pi-cowork · score 8.7 · payments, safety-classifier, tool-guardrails, policy-enforcement, ai
Safety classifier mirroring Claude Cowork's guardrail model. Three outcomes for any tool call: - "allow" : safe to run autonomously - "deny" : PROHIBITED — never run, return an err

createStripe (stripe.core)

stripe-node · score 8.7 · payments, stripe-payments, initialization, constructor
Initializes the Stripe class with platform functions and a request sender, then returns the configured Stripe constructor for API interactions.

prepareOptions (Webhooks)

stripe-node · score 8.7 · payments, webhook-options, header-normalization, signature-verification
Normalizes and enriches webhook test header options with defaults for timestamp, scheme, and crypto provider, and prepares a payload string and header generator.

_request

stripe-node · score 8.6 · payments, http-request, authentication, retry-logic, streaming
Core method that sends HTTP requests to the Stripe API, handling authentication, retries, streaming, and response processing.

getSpyableStripe (testUtils)

stripe-node · score 8.6 · payments, test-utilities, request-spying, stripe-mocking, test-fixtures
Creates a testable Stripe instance with a spyable request sender that records last request details and all requests for verification in tests.

generateV1Error (Error)

stripe-node · score 8.6 · payments, stripe-payments, error-mapping, typed-errors
Maps raw Stripe API errors to typed StripeError subclasses based on status code and error details, enabling precise error handling.

TokenList Types

token-lists · score 8.6 · payments, typescript, type-definitions, token-list, dev-tools
TypeScript type definitions for token list structure, version, and related interfaces.

Square Point of Sale SDK

SquarePointOfSaleSDK-iOS · score 8.6 · payments, pos-integration, sdk-wrapper, url-scheme
Complete SDK for integrating iOS apps with Square Point of Sale to initiate payments and receive callbacks. Covers request building, URL scheme communication, and response parsing.

createSimulatedTxHash (escrow.ts)

swarmdock · score 8.5 · payments
Simulates cryptographic transaction hash for escrow validation.

NodePlatformFunctions

stripe-node · score 8.4 · payments, node-platform, uuid-generation, crypto-primitives, http-primitives
Node.js-specific implementation of platform utilities for the Stripe SDK, providing OS-aware methods for UUIDs, telemetry, secure comparison, and HTTP/crypto providers.

_makeRequest

stripe-node · score 8.4 · payments, http-client, api-dispatcher, stripe-payments, streaming
Core HTTP request dispatcher for Stripe API calls, handling encoding, validation, schema coercion, streaming, and auto-pagination attachment.

build_system_prompt (prompt.py)

dispatchbook-voice-agent · score 8.3 · payments, prompt-templating, voice-agent, ai
Build the system prompt for a call by injecting live values into the template. WHY a template + injector: the persona/rules live in voice_agent_system_prompt.md (editable without t

send_unconfirmed_notification (callback.py)

shkeeper.io · score 8.3 · payments, payment-notifications, status-alerts, scheduled-jobs, automation
Sends notifications for unconfirmed payments, likely via scheduled job, handling payment status alerts in callback.

task_callback (tasks.py)

shkeeper.io · score 8.3 · payments
Celery task handling payment/payout callbacks, triggering webhook notifications and updating statuses asynchronously in Shkeeper.

classify_error (error_classify.py)

hermes-recipes · score 8.3 · payments, error-classification, retry-logic, workflow-error, automation
Classify workflow errors so the worker can decide retry vs. user-error. Port of clawrecipes/src/lib/workflows/workflow-error-classify.ts. The TS version interrogates ``ToolsInvokeE

getMockStripe (testUtils)

stripe-node · score 8.2 · payments, testing, mocking, stripe-payments, dev-tools
Creates a testable Stripe instance with a mock request sender, replacing the real HTTP layer to avoid global state pollution and enable request hooking in tests.

generateOAuthError (Error)

stripe-node · score 8.2 · payments, oauth, error-mapping, auth
Maps a raw Stripe OAuth error to a specific typed StripeError subclass based on the error type, enabling precise error handling.

StripeSignatureVerificationError

stripe-node · score 8.2 · payments, error-handling, webhooks, signature-verification
Custom error for failed webhook signature verification, carrying the header and payload for debugging.

Pricing.tsx

inbox-zero · score 8.2 · ui, pricing-display, toast-notifications, plan-selection, payments
Renders premium pricing UI with client-side state and toast notifications for plan selection.

GetStore

btcpayserver · score 8.1 · payments, api-client, store-fetch, http-get, typed-response
Fetches a single store's data by ID from the BTCPay Server API. It is a core client method for retrieving store configuration and status.

BitcoinLightning (bitcoin_lightning.py)

shkeeper.io · score 8.1 · integration, lightning-network, btc-wallet, invoice-management, payments
Integrates with Bitcoin Lightning Network implementations (LND, LNBits, RTL) to manage invoices, payments, and wallet operations for BTC-LIGHTNING cryptocurrency.

_generateConnectionError

stripe-node · score 8.1 · payments, connection-errors, timeout-handling, http-client
Creates a StripeConnectionError from HTTP client errors, distinguishing timeouts from other connection failures to provide clear error messages.

initPrecision (currency.js)

POSNext · score 8.1 · currency-formatting, rounding, bankers-rounding, payments
Currency Utility for POS Next Handles formatting and rounding with ERPNext System Settings compatibility Rounding Methods (matches frappe/utils/data.py): - Banker's Rounding: Round

amountShapeOf (auto-detect.ts)

helix · score 8.1 · payments, function-signature-detection, auto-repair-overrides, code-analysis, dev-tools
Auto-Detect — Identifies function signatures and applies repair overrides automatically. Removes the need for users to write parameterModifier. /

StripeError

stripe-node · score 8.1 · payments, error-handling, stripe-errors, error-class, decline-codes
Custom error class wrapping raw Stripe API errors, providing structured access to error details like codes, decline reasons, and related objects for programmatic handling.

classifyError (workflow-error-classify.ts)

ClawRecipes · score 8.1 · payments, error-classification, workflow-automation, automation
1": "1" units": "0"0"1" Verbs"> "Source" 1" units": "0"1" output should "trunct " one sentence.":

parseEventDetails (Webhooks)

stripe-node · score 8.1 · integration, webhooks, signature-verification, payload-parsing, payments
Parses and validates a webhook payload and header, extracting decoded content and signature details for verification.

transfer.rb

maybe · score 8.1 · payments, money-transfer, account-transactions, payment-flow
Represents a money transfer linking two account transactions via inflow/outflow associations; payments domain model for transfer flows.

PaymentMethod interface

salespoint · score 8.0 · payments, pos, interface, abstraction
Abstraction for payment methods in the system.

StripeIdempotencyError

stripe-node · score 8.0 · payments, error-handling, idempotency-keys, stripe-errors, duplicate-request-handling
Represents an idempotency-related error from Stripe, ensuring duplicate requests are handled safely.

CurrencyCode Enum

point-of-sale-android-sdk · score 8.0 · payments, iso-4217, currency-enum, localization, finance
Complete ISO-4217 currency code enumeration for 180+ currencies. Drop-in reusable across any financial or e-commerce Android project.

get_coin (coins)

bitcart · score 8.0 · payments, coin-factory, xpub-init, credential-management, crypto-instance
Retrieves a cryptocurrency instance by coin name, optionally initializing it with an xpub and credentials. Central factory method used by 18 callers to access supported coin object

_makeResponseEvent

stripe-node · score 8.0 · payments, response-tracking, observability, request-timing, stripe-metadata
Constructs a ResponseEvent object from a request, status, and headers, capturing timing and Stripe-specific metadata for observability.

createMockClient (testUtils)

stripe-node · score 7.9 · payments, mock-client, http-matching, test-utils, dev-tools
Creates a mock Stripe client for testing by matching HTTP method and path to predefined responses, enabling isolated API simulations.

PermanentWebhookError

anon.li · score 7.9 · payments, stripe-webhooks, error-handling, webhook-retries
Custom error for non-retryable Stripe webhook failures, preventing unnecessary retries.

to_decimals (locale_helper)

ospos · score 7.9 · ui, number-formatting, currency-formatting, localization, payments
Formats a number using locale-aware NumberFormatter with configured decimal precision and currency/grouping symbols. Returns input unchanged if unset to avoid displaying empty valu

JSONResult (base.py)

Free-LLM-Router · score 7.9 · payments, llm-routing, retry-logic, streaming, provider-discovery
Shared provider machinery: discovery, retries, rotation, and safe streaming.

verify (receipt)

lean-ctx · score 7.9 · payments, receipt-verification, ed25519, hash-validation, digital-signatures
Checks receipt integrity, hash validity, optional Ed25519 signature, or remote verification; returns True only on definitive success.