feat(pay-v2): P8 Task5 订阅取消(API+入站)+ past_due 状态
This commit is contained in:
@@ -46,6 +46,8 @@ func SetupV2(r *gin.Engine, g *gateway.Gateway) {
|
||||
{
|
||||
v2.POST("/orders", h.CreateOrder)
|
||||
v2.POST("/subscriptions", h.CreateSubscription)
|
||||
v2.GET("/subscriptions/:sub_id", h.GetSubscription)
|
||||
v2.POST("/subscriptions/:sub_id/cancel", h.CancelSubscription)
|
||||
v2.GET("/orders/:order_no", h.GetStatus)
|
||||
v2.POST("/orders/:order_no/retry", h.Retry)
|
||||
v2.POST("/orders/:order_no/cancel", h.Cancel)
|
||||
|
||||
Reference in New Issue
Block a user