stripe
Version:
Stripe API wrapper
30 lines (27 loc) • 712 B
TypeScript
// File generated from our OpenAPI spec
declare module 'stripe' {
namespace Stripe {
namespace TestHelpers {
interface RefundExpireParams {
/**
* Specifies which fields in the response should be expanded.
*/
expand?: Array<string>;
}
class RefundsResource {
/**
* Expire a refund with a status of requires_action.
*/
expire(
id: string,
params?: RefundExpireParams,
options?: RequestOptions
): Promise<Stripe.Response<Stripe.Refund>>;
expire(
id: string,
options?: RequestOptions
): Promise<Stripe.Response<Stripe.Refund>>;
}
}
}
}