获取卡片信息(腾讯公益为被调)

接口名称

GetCardInfo

使用场景

机构使用该接口获取卡片详情

请求地址

https://oapi.gongyi.qq.com/api/tmj_third_service/GetCardInfo

请求方式

POST

请求参数

header参数

参数 类型 是否必填 说明
Gy-H-Api-Appid string 采用签名认证方式时,必填 应用id,由开放平台分配给应用的唯一ID
Gy-H-Api-Nonce-Str string 采用签名认证方式时,必填 随机值,可以是数字和字母的组合;长度32位;应用侧生成,保证唯一即可
Gy-H-Api-Timestamp uint32 采用签名认证方式时,必填 时间戳,单位s
Gy-H-Api-Sign string 采用签名认证方式时,必填 使用应用的密钥,通过HMAC-SHA256算法签名后,得出的结果,详见签名说明

post参数

参数 类型 长度 是否必填 说明
project_id uint32 10位字符 项目id
card_id string 20位字符 目标卡片id,一个项目下唯一(目标导入接口有返回)

返回参数

参数 类型 说明
code int32 返回码
msg string 返回信息
data object 回包数据
data.audit_status int32 审核状态 0-草稿中,1-通过, 2-系统审核中,3-系统已驳回,4-AI审核中, 5-待平台审核,6-平台已驳回
data.fundras_status int32 卡片状态 0-未上线,1-下线,2-待筹款,3-筹款中,4-已结束,5-已筹满
trace_id string 链路Id,用于问题定位

示例

POST https://test-oapi.gongyi.qq.com/api/tmj_third_service/GetCardInfo

请求包体

{
    "card_id": "10103078",
    "project_id": 50000753
}

返回包体

{
  "code": 0,
  "data": {
    "audit_status": 1,
    "fundras_status": 3
  },
  "msg": "",
  "op_time": 1720513615,
  "trace_id": "a56e3bd2e6f3c147a97e25a43c3bd4f6"
}
© 1998 - 2022 Tencent Inc. all right reserved,powered by tencent.更新时间: 2024-12-06 17:19:07

results matching ""

    No results matching ""

    results matching ""

      No results matching ""