Skip to main content

errand_get_auth_status

查询某枚 consent_grant_id 的跑腿授权是否仍然有效。
凭证无效不报错:直接看返回体的 bound 字段——调用方据此判断要不要重新走绑定,不必 try/catch。

参数

返回

有效绑定时:
无效 / 已过期 / 已解绑时:

错误码

consent_grant_id 无效 / 已过期 / 已解绑不会报错,而是返回 bound: false(见上文)。完整错误码见 错误处理。

调用示例