refactor(api): update pally webhook endpoint path
This commit is contained in:
@@ -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(...),
|
||||||
|
|||||||
Reference in New Issue
Block a user