Spaces:
Running
Running
| #import globales | |
| import funciones | |
| from fastapi import FastAPI, Request, Header | |
| app = FastAPI() | |
| #string_key = globales.llave | |
| def start(): | |
| return {f"Status":"Deployed"} | |
| async def webhook_received(request: Request, stripe_signature: str = Header(None)): | |
| return await funciones.procesa_evento(request, stripe_signature) |