共绩科技
  1. merchant
共绩科技
  • IDC
    • openapi
      • merchant
        • 商户用户登录接口
          POST
        • 商户计费记录查询接口
          POST
        • 第三方商户黑名单变更接口
          POST
  1. merchant

商户用户登录接口

开发中
POST
/api/merchant/login
此接口为商户用户登录接口,需要图灵院侧生成对应用户的唯一标识,来获取登录秘钥。
*此接口需要RSA加签

请求参数

Header 参数

Body 参数application/json

示例
{
    "correlation_id": "correlation_test1",
    "rsa_pubk": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAr8njW0zU0FQi4w6S7ac32gaMrbW9ZcOrgL0Y6rT2rI0A2/b0yk/c56mues2gHZq8XRhksjqo6ssHj78eoxFjNzFSUHG5H68NqbPAnBG151pSwvRzXqExxCOspaCaTfzIwpFmxN7I3c5YsEbwfGiTdtZMjA4hqkK+VQWisTJeGjVVwc/M3d3dGZnAEowXIscxrsOKN2KzMMjzDl8S9WKS5cOAeLuSl9PQrg04rfpIhMCBfvSQRfR3jpJaemxYf++PKcBCymILEnJf2ehgv5J8KRhUaOowFpLQmxLQ/WbwQYGdKRyhVqHGcGhSORSg15jejpepEvncI+17KUrwHlEJ3wIDAQAB"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://openapi.suanli.cn/api/merchant/login' \
--header 'version: 1.0.0' \
--header 'token: a0e33fe1-5626-1205-926b-20f586c69102-20240821211204' \
--header 'sign_str: EowIBAAKCAQEArbNcSNSLjHzqOzrYL+7afEh5TI4hn1BCxsuzY02c1RMn24a2YEvpqCCVDxmgN/dcAdcCcvhO/2wDG389LuEkw+QhVPzdAE29bbzz+Gb/FDusVNo6tl8mbfd/XA53h3sOCekEMP2QCoPAoUO94wUWK5RpjsONf9Bs0Q6YUmL4TWqvPGmWjc/Y8winDtFzKN2his5PhbWlRiSkENGXSma6lr66BA/SduAY/Fl8YxEWThVkYsAurg0rEd83DilN4zp7hZf82Msjgp8kPm/SMHTEF2V2cOo82m12HyRJKuKS0L8WPVIwQmXJ6VN55ue+b96sryUs/WZyfiXTh0thoa9vqQIDAQABAoIBAQCsOMDQSUTPl27aKR7+b5FbVrRF7kpx3i9HUeLcG7DbJrIHHAspcTsLgrqoDR1pQC2OeXMpMP+KirqOAdtU5tAAFenijRBGY83kx0sSSHSyx/O28eTyu2ar84/oY0OqJZ0mwE1ykYXGlxlgC31zYLC5pt3+Oe/LAYlSwmjOjuhoQDMZoiCByIw6oDAVLIlZwTl8A/HAR1yacDTh6lps1vTZ5lBfIDpbn1gHb2GWqHu8q9oD9G9IEyWwwTE1IsNXVwBKEifjLubd2WfTWDmROVZZ9T4AXm/40/Eb6ALApwY5s7lBMIiapmcJZzlyELEukUMmYN7vHBjdMDOPK3tjLSKNA' \
--header 'timestamp: 1721299458423' \
--header 'Content-Type: application/json' \
--data-raw '{
    "correlation_id": "correlation_test1",
    "rsa_pubk": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAr8njW0zU0FQi4w6S7ac32gaMrbW9ZcOrgL0Y6rT2rI0A2/b0yk/c56mues2gHZq8XRhksjqo6ssHj78eoxFjNzFSUHG5H68NqbPAnBG151pSwvRzXqExxCOspaCaTfzIwpFmxN7I3c5YsEbwfGiTdtZMjA4hqkK+VQWisTJeGjVVwc/M3d3dGZnAEowXIscxrsOKN2KzMMjzDl8S9WKS5cOAeLuSl9PQrg04rfpIhMCBfvSQRfR3jpJaemxYf++PKcBCymILEnJf2ehgv5J8KRhUaOowFpLQmxLQ/WbwQYGdKRyhVqHGcGhSORSg15jejpepEvncI+17KUrwHlEJ3wIDAQAB"
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "code" : "0000",
    "message" : "success",
    "data" : {
        "token" : "a0e13fe1-5626-4c05-926b-20f586c69102-20240821144204",
        "rsa_pubk" : "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwHi75APoKxJjLQ6mJ9ezK0FHw5u44u4YpRhw47roucmcRaUTJ6s5UsFQ5nzpQoZrsAJ7/DSGR7/W4FgfZ6dHTcmFw/iNBQj0Y54d4WD7jS7Yeb1NJ1iJoNMo+NIvLyDygxnhO+4N1E9AHQF9+gqcUP8jonCmTtGN6/hea0pCa6dVL+YJ0Ar6JSvSRXznH84qsOs4RzJ28m8bfOk1WY6nuPQWBGjnBEtbK3dniRPa9Yrf2A4STKxwrM9/CH7UR3nFJ1RSeu/OfuwbMufDlt2x2ZxcMId7wFKqNjit9+JpI8FtJ6TuYRnVFPmEG61ekpSY4342suMkcl6Jv827ucDloQIDAQAB"
    }
}
修改于 2025-05-14 11:19:12
下一页
商户计费记录查询接口
Built with