12 lines
353 B
TypeScript
12 lines
353 B
TypeScript
export const webhook = {
|
|
event: "payment.completed",
|
|
summary: "Payment completed",
|
|
description: "Sent after a payment reaches its settled state.",
|
|
payloadSchema: "#/components/schemas/PaymentCompleted",
|
|
signatureHeader: "x-payment-signature",
|
|
};
|
|
|
|
export async function POST(): Promise<Response> {
|
|
return Response.json({ accepted: true });
|
|
}
|