18 lines
619 B
TypeScript
18 lines
619 B
TypeScript
import { StripeResource } from '../../StripeResource.js';
|
|
import { Refund } from './../Refunds.js';
|
|
import { RequestOptions, Response } from '../../lib.js';
|
|
export declare class RefundResource extends StripeResource {
|
|
/**
|
|
* Expire a refund with a status of requires_action.
|
|
*/
|
|
expire(id: string, params?: TestHelpers.RefundExpireParams, options?: RequestOptions): Promise<Response<Refund>>;
|
|
}
|
|
export declare namespace TestHelpers {
|
|
interface RefundExpireParams {
|
|
/**
|
|
* Specifies which fields in the response should be expanded.
|
|
*/
|
|
expand?: Array<string>;
|
|
}
|
|
}
|