refactor(api): update pally webhook endpoint path

This commit is contained in:
2026-05-31 14:05:27 +07:00
parent a02af3b0f0
commit f9d3fbf937

View File

@@ -15,12 +15,12 @@ from db.models.transactions import BalanceTxType
from misc.pally import BillStatus from misc.pally import BillStatus
from schemas.di import APIDependenciesDTO from schemas.di import APIDependenciesDTO
router = APIRouter(prefix="/checkout/pally") router = APIRouter(prefix="/pally")
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
@router.post("/callback") @router.post("/success")
async def pally_callback( async def pally_callback(
id: str = Form(...), id: str = Form(...),
bill_id: str = Form(...), bill_id: str = Form(...),