中国 · 签名说明
中国商户 API 与全局规范一致,请参阅:
中国对接要点
countryCode固定为CN,currency固定为CNY- 参与签名的 POST 字段为 camelCase JSON 顶层键(如
merchantOrderNo、notifyUrl) timestamp为 秒(非毫秒)- RSA 密钥建议 2048 位;低于 1024 位将被拒绝
快速示例 Header
http
X-Merchant-No: M42
X-Timestamp: 1718198400
X-Nonce: 7c9e2f1a-uuid
X-Sign: Base64(RSA2(...))
Content-Type: application/json