{"name":"cleanroom-pay-platform","description":"自研四方支付平台 MVP，基于公开资料做 clean-room 实现。","storage":{"engine":"sqlite","file":"/app/data/platform.sqlite","legacyImportFile":"/app/data/store.json"},"docs":{"readme":"/app/README.md","roadmap":"/app/docs/roadmap.md","featureMap":"/app/docs/feature-map.md","gatewaySigning":"/app/docs/gateway-signing.md","channelCallbackSecurity":"/app/docs/channel-callback-security.md","securityHardening":"/app/docs/security-hardening.md","orderStateMachine":"/app/docs/order-state-machine.md","ledgerTransactions":"/app/docs/ledger-transactions.md","references":"/app/docs/reference-notes.md"},"endpoints":{"authLogin":"/api/auth/login","authMe":"/api/auth/me","admin":"/api/admin/overview","adminTransactions":"/api/admin/transactions","merchant":"/api/merchant/overview/:merchantId","merchantTransactions":"/api/merchant/transactions/:merchantId","agent":"/api/agent/overview/:agentId","gatewayCreateOrder":"/api/gateway/orders","channelCallback":"/api/gateway/channel-callbacks/mock","mockCheckout":"/pay/:orderId","adminRejectSettlement":"/api/admin/settlements/:settlementId/reject"},"gatewaySecurity":{"mode":"merchant-hmac-sha256","headers":["x-api-key","x-timestamp","x-nonce","x-sign"]},"channelCallbackSecurity":{"mode":"channel-hmac-sha256","headers":["x-channel-code","x-timestamp","x-nonce","x-sign"]},"seed":{"defaultAgentId":"agt_demo_primary","defaultMerchantId":"mch_demo_primary","defaultMerchantApiKey":null,"defaultMerchantApiSecret":null,"defaultAppId":null,"defaultAppSecret":null,"defaultChannels":[{"code":"mock_alipay_qr","name":"模拟支付宝扫码","callbackSecret":null},{"code":"mock_wechat_qr","name":"模拟微信扫码","callbackSecret":null},{"code":"mock_bank_transfer","name":"模拟银行卡代付","callbackSecret":null}],"runtime":{"mode":"production","mockPaymentsEnabled":false,"demoSecretsExposed":false},"gatewayAuth":{"algorithm":"HMAC-SHA256","headerNames":{"apiKey":"x-api-key","timestamp":"x-timestamp","nonce":"x-nonce","sign":"x-sign"},"signFields":["amount","apiKey","appId","channelCode","currency","merchantOrderNo","metadata","nonce","notifyUrl","returnUrl","subject","timestamp"]},"channelCallbackAuth":{"algorithm":"HMAC-SHA256","headerNames":{"channelCode":"x-channel-code","timestamp":"x-timestamp","nonce":"x-nonce","sign":"x-sign"},"signFields":["amount","channelCode","channelOrderNo","nonce","orderId","paidAt","status","timestamp"]},"demoUsers":[]}}