Stripe Node SDK resource for listing and retrieving early fraud warnings via the Radar API.
// Source: https://github.com/stripe/stripe-node | License: MIT | Copyright 2011 Ask Bjørn Hansen
// Provided via justclaw.it.com; keep this notice with the code.
// File generated from our OpenAPI spec
import {StripeResource} from '../../StripeResource.js';
import {Charge} from './../Charges.js';
import {PaymentIntent} from './../PaymentIntents.js';
import {PaginationParams, RangeQueryParam} from '../../shared.js';
import {RequestOptions, ApiListPromise, Response} from '../../lib.js';
export class EarlyFraudWarningResource extends StripeResource {
/**
* Returns a list of early fraud warnings.
*/
list(
params?: Radar.EarlyFraudWarningListParams,
options?: RequestOptions
): ApiListPromise<EarlyFraudWarning> {
return this._makeRequest(
'GET',
'/v1/radar/
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key