支付成功通知
This commit is contained in:
@@ -13,6 +13,9 @@ service pay {
|
||||
|
||||
@handler OrderPaymentIntentHandler
|
||||
post /api/pay/payment-intent(OrderPaymentIntentReq) returns (response);
|
||||
|
||||
@handler StripeWebhookHandler
|
||||
get /api/pay/stripe-webhook(StripeWebhookReq) returns (response);
|
||||
}
|
||||
|
||||
// 生成预付款
|
||||
@@ -26,4 +29,10 @@ type (
|
||||
OrderPaymentIntentRes {
|
||||
RedirectUrl string `json:"redirect_url"`
|
||||
}
|
||||
)
|
||||
|
||||
// StripeWebhook支付通知
|
||||
type (
|
||||
StripeWebhookReq {
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user