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.

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.

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.

Payment Attempt Domain Model (payments/payment_attempt.rs)

mperkins0155/hyperswitch · score 9.0 · payments, domain, payment-attempt, model, validation
Domain‑level struct for payment attempts with validation, encryption, and conversion logic, bridging API models and storage entities.

Payment Auth Connector Integration Trait (types/api.rs)

mperkins0155/hyperswitch · score 9.0 · auth, Auth / Identity, payments, connector, trait
Trait that specifies generic connector integration behavior for payment authentication, with default implementations for headers, URL, content type, and request body.

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.

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.

Card Number Validation Utilities (src/validate.rs)

mperkins0155/hyperswitch · score 8.8 · payments, card, validation, luhn, security
Sanitizes, validates length, character set and Luhn checksum for card numbers, providing masked card number types.

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.

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.

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.

Connector Enum (src/connector_enums.rs)

mperkins0155/hyperswitch · score 8.7 · payments, rust, enum, connectors, payment
Enumerates all supported payment connectors with Serde, Diesel mapping and Smithy metadata for integration selection.

Payment Intent API Models (src/payments.rs)

mperkins0155/hyperswitch · score 8.7 · payments, api, models, intent, rust
Defines request and response structs for creating, updating, and retrieving payment intents and attempts, used across the payment API layer.

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.

Payments OpenAPI Route Definitions (routes/payments.rs)

mperkins0155/hyperswitch · score 8.6 · payments, api, openapi, routing, documentation
OpenAPI path specifications for payment CRUD operations, providing documentation and server routing for the payments API.

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.

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.

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.

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.

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.

Post Session Tokens Operation (operations/payment_post_session_tokens.rs)

mperkins0155/hyperswitch · score 8.3 · payments, session, tokens, operation, async
Processes posting of session tokens after payment authentication, managing tracker updates and token persistence in the payment flow.

Payment Response Transformers (payments/transformers.rs)

mperkins0155/hyperswitch · score 8.3 · payments, rust, transformer, response, next-action
Transforms internal payment models into API response formats and determines next‑action steps for various payment methods and revenue recovery intents.

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

Payment Method Collect Link Validator (payment_methods/validator.rs)

mperkins0155/hyperswitch · score 8.3 · payments, validation, router, api, payment-method
Validates incoming collect‑link requests and initiates the payment method collection flow for both v1 and v2 APIs.

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.

Authorize Session Token Gateway (gateway/session_token_gateway.rs)

mperkins0155/hyperswitch · score 8.2 · payments, gateway, session-token, async, rust
Implements PaymentGateway for AuthorizeSessionToken flow, handling token generation through unified connector service.

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.

Interpayments Payments Transformer (interpayments/transformers.rs)

mperkins0155/hyperswitch · score 8.2 · payments, connector, rust, transformer, api
Defines router data and request/response structures for the Interpayments connector, managing amount conversion and request building in hyperswitch.

_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.

Dispute List Filtering Constraints (src/disputes.rs)

mperkins0155/hyperswitch · score 8.1 · payments, dispute, filter, constraints, api
Encapsulates query parameters for listing disputes, converting API constraints into internal filter structure.

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.

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.

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. /

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.

PaymentMethod interface

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

Payment Method Selector (billing/selectPaymentMethod.svelte)

console-getitforcomm · score 8.0 · payments, svelte, payment, selector, billing
Dropdown UI for choosing a payment method, handling Stripe integration, tax ID display, and refreshing billing data after changes.

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.

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.

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.

Stripe Payment Service (src/functions.ts)

onlook · score 8.0 · payments, stripe, checkout, subscription, billing
Convenient wrappers around Stripe API for customer creation, checkout sessions, and subscription management.

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.

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.

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