new-api/setting/payment_alipay.go
zizi 6405a21e60 feat: add alipay direct payment flow
Add Alipay settings, RSA2 provider implementation, create/return/notify handlers, and provider-specific top-up settlement.
2026-05-20 15:05:38 +08:00

16 lines
400 B
Go

package setting
type AlipaySetting struct {
Enabled bool `json:"enabled"`
AppID string `json:"app_id"`
PrivateKey string `json:"private_key"`
PublicKey string `json:"public_key"`
GatewayUrl string `json:"gateway_url"`
NotifyURL string `json:"notify_url"`
ReturnURL string `json:"return_url"`
}
var Alipay = AlipaySetting{
GatewayUrl: "https://openapi.alipay.com/gateway.do",
}