Initial project import
This commit is contained in:
21
node_modules/stripe/esm/resources/Radar/EarlyFraudWarnings.js
generated
vendored
Normal file
21
node_modules/stripe/esm/resources/Radar/EarlyFraudWarnings.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
export class EarlyFraudWarningResource extends StripeResource {
|
||||
/**
|
||||
* Returns a list of early fraud warnings.
|
||||
*/
|
||||
list(params, options) {
|
||||
return this._makeRequest('GET', '/v1/radar/early_fraud_warnings', params, options, {
|
||||
methodType: 'list',
|
||||
});
|
||||
}
|
||||
/**
|
||||
* Retrieves the details of an early fraud warning that has previously been created.
|
||||
*
|
||||
* Please refer to the [early fraud warning](https://docs.stripe.com/api#early_fraud_warning_object) object reference for more details.
|
||||
*/
|
||||
retrieve(id, params, options) {
|
||||
return this._makeRequest('GET', `/v1/radar/early_fraud_warnings/${encodeURIComponent(id)}`, params, options);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=EarlyFraudWarnings.js.map
|
||||
Reference in New Issue
Block a user