@lomray/microservice-payment-stripe
Version:
Stripe payment microservice based on NodeJS & inverted json.
16 lines (15 loc) • 414 B
TypeScript
import StripeSDK from 'stripe';
declare class WebhookInput {
body: StripeSDK.Event;
rawBody: string;
query: {
id: string;
};
}
/**
* Endpoint for handling and processing stripe webhooks
*/
declare const webhook: import("@lomray/microservice-helpers/services/endpoint").IReturnWithMeta<never, WebhookInput, Record<string, any>, {
isHandled: boolean;
}>;
export { webhook as default };