1 Star 0 Fork 0

Hiram/alipay

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
certify.go 1.71 KB
一键复制 编辑 原始数据 按行查看 历史
package alipay
import (
"context"
"net/url"
)
// UserCertifyOpenInitialize 身份认证初始化服务接口 https://docs.open.alipay.com/api_2/alipay.user.certify.open.initialize
func (c *Client) UserCertifyOpenInitialize(ctx context.Context, param UserCertifyOpenInitialize) (result *UserCertifyOpenInitializeRsp, err error) {
err = c.doRequest(ctx, "POST", param, &result)
return result, err
}
// UserCertifyOpenCertify 身份认证开始认证接口 https://docs.open.alipay.com/api_2/alipay.user.certify.open.certify
func (c *Client) UserCertifyOpenCertify(param UserCertifyOpenCertify) (result *url.URL, err error) {
return c.BuildURL(param)
}
// UserCertifyOpenQuery 身份认证记录查询接口 https://docs.open.alipay.com/api_2/alipay.user.certify.open.query/
func (c *Client) UserCertifyOpenQuery(ctx context.Context, param UserCertifyOpenQuery) (result *UserCertifyOpenQueryRsp, err error) {
err = c.doRequest(ctx, "POST", param, &result)
return result, err
}
// UserCertDocCertVerifyPreConsult 实名证件信息比对验证预咨询 https://opendocs.alipay.com/apis/api_2/alipay.user.certdoc.certverify.preconsult
func (c *Client) UserCertDocCertVerifyPreConsult(ctx context.Context, param UserCertDocCertVerifyPreConsult) (result *UserCertDocCertVerifyPreConsultRsp, err error) {
err = c.doRequest(ctx, "POST", param, &result)
return result, err
}
// UserCertDocCertVerifyConsult 实名证件信息比对验证咨询 https://opendocs.alipay.com/apis/api_2/alipay.user.certdoc.certverify.consult
func (c *Client) UserCertDocCertVerifyConsult(ctx context.Context, param UserCertDocCertVerifyConsult) (result *UserCertDocCertVerifyConsultRsp, err error) {
err = c.doRequest(ctx, "POST", param, &result)
return result, err
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gbat/alipay.git
git@gitee.com:gbat/alipay.git
gbat
alipay
alipay
master

搜索帮助