Skip to content

中国 · 签名说明

中国商户 API 与全局规范一致,请参阅:

签名与商户 API 规范

中国对接要点

  • countryCode 固定为 CNcurrency 固定为 CNY
  • 参与签名的 POST 字段为 camelCase JSON 顶层键(如 merchantOrderNonotifyUrl
  • 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

基于 MIT 许可证发布。

2-1-2 Nihonbashi-Hongokucho,Chuo-ku,Tokyo