feat: billing cancel
This commit is contained in:
@@ -37,6 +37,17 @@ async def create_deal_bill(
|
||||
user: CurrentUserDependency
|
||||
):
|
||||
return await BillingService(session).create_deal_billing(user, request)
|
||||
@billing_router.post(
|
||||
'/cancel-deal-bill',
|
||||
operation_id='cancel_deal_bill',
|
||||
response_model=CancelDealBillResponse
|
||||
)
|
||||
async def create_deal_bill(
|
||||
session: SessionDependency,
|
||||
request: CancelDealBillRequest,
|
||||
user: CurrentUserDependency
|
||||
):
|
||||
return await BillingService(session).cancel_deal_billing(user, request)
|
||||
|
||||
|
||||
@billing_router.get(
|
||||
|
||||
Reference in New Issue
Block a user