Documentation ¶
Overview ¶
Package agent 代理商账号管理相关API
Index ¶
- func AdvertiserCopy(clt *core.SDKClient, accessToken string, req *agent.AdvertiserCopyRequest) (*agent.AdvertiserCopyResult, error)
- func AdvertiserRecharge(clt *core.SDKClient, accessToken string, req *agent.AdvertiserRechargeRequest) (string, error)
- func AdvertiserRefund(clt *core.SDKClient, accessToken string, req *agent.AdvertiserRefundRequest) (string, error)
- func AdvertiserSelect(clt *core.SDKClient, accessToken string, req *agent.AdvertiserSelectRequest) (*agent.AdvertiserSelectResponseData, error)
- func AdvertiserUpdate(clt *core.SDKClient, accessToken string, req *agent.AdvertiserUpdateRequest) (*agent.AdvertiserUpdateResponseData, error)
- func ChildAgentSelect(clt *core.SDKClient, accessToken string, req *agent.ChildAgentSelectRequest) ([]uint64, error)
- func FundTransferSeqCommit(clt *core.SDKClient, accessToken string, ...) (string, error)
- func FundTransferSeqCreate(clt *core.SDKClient, accessToken string, ...) (string, error)
- func Info(clt *core.SDKClient, accessToken string, req *agent.InfoRequest) ([]agent.Info, error)
- func RefundTransferSeqCommit(clt *core.SDKClient, accessToken string, ...) (string, error)
- func RefundTransferSeqCreate(clt *core.SDKClient, accessToken string, ...) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdvertiserCopy ¶ added in v1.19.2
func AdvertiserCopy(clt *core.SDKClient, accessToken string, req *agent.AdvertiserCopyRequest) (*agent.AdvertiserCopyResult, error)
AdvertiserCopy 广告主账户复制
func AdvertiserRecharge ¶
func AdvertiserRecharge(clt *core.SDKClient, accessToken string, req *agent.AdvertiserRechargeRequest) (string, error)
AdvertiserRecharge 代理商转账 通过此接口可给代理商下管理的广告主或二级代理商进行转账操作。 提醒:1月15日代理商平台和API都新增了转账类型字段,代理商如果使用了转账退款接口,请尽快调整上传最新的transfer_type字段,历史转账会按一定的规则和比例进行转账,新功能上线后需要您实际选择是希望转现金还是赠款,在1月31日之前如果不传transfer_type我们将按历史逻辑处理,在31日后如果不传transfer_type将默认优先转现金,请您尽快调整。
func AdvertiserRefund ¶
func AdvertiserRefund(clt *core.SDKClient, accessToken string, req *agent.AdvertiserRefundRequest) (string, error)
AdvertiserRefund 代理商退款 通过此接口可给代理商下管理的广告主或二级代理商进行退款操作。 提醒:1月15日代理商平台和API都新增了转账类型字段,代理商如果使用了转账退款接口,请尽快调整上传最新的transfer_type字段,历史转账会按一定的规则和比例进行转账,新功能上线后需要您实际选择是希望转现金还是赠款,在1月31日之前如果不传transfer_type我们将按历史逻辑处理,在31日后如果不传transfer_type将默认优先转现金,请您尽快调整。
func AdvertiserSelect ¶
func AdvertiserSelect(clt *core.SDKClient, accessToken string, req *agent.AdvertiserSelectRequest) (*agent.AdvertiserSelectResponseData, error)
AdvertiserSelect 广告主列表 获取代理商下的广告主ID列表,如果存在二级代理,要获取二级代理商列表请使用agent/child_agent/select/接口。如果您需要获取二级代理商下的广告主,需要传递二级代理商id调用此接口即可获得。如果要查看广告主ID的详细信息请参考广告主信息接口。
func AdvertiserUpdate ¶
func AdvertiserUpdate(clt *core.SDKClient, accessToken string, req *agent.AdvertiserUpdateRequest) (*agent.AdvertiserUpdateResponseData, error)
AdvertiserUpdate 修改广告主 修改广告主信息,可更改内容包括账户名称、联系人、手机号码、固定电话,除此之外其他内容不允许修改。
func ChildAgentSelect ¶
func ChildAgentSelect(clt *core.SDKClient, accessToken string, req *agent.ChildAgentSelectRequest) ([]uint64, error)
ChildAgentSelect 二级代理商列表 获取代理商下的广告主ID列表,如果存在二级代理,要获取二级代理商列表请使用agent/child_agent/select/接口。如果您需要获取二级代理商下的广告主,需要传递二级代理商id调用此接口即可获得。如果要查看广告主ID的详细信息请参考广告主信息接口。
func FundTransferSeqCommit ¶ added in v1.13.9
func FundTransferSeqCommit(clt *core.SDKClient, accessToken string, req *agent.FundTransferSeqCommitRequest) (string, error)
FundTransferSeqCommit 提交转账交易号(方舟) 转账接口分为两步, 包含创建转账接口 和 提交转账接口,本接口为第二步
func FundTransferSeqCreate ¶ added in v1.13.9
func FundTransferSeqCreate(clt *core.SDKClient, accessToken string, req *agent.FundTransferSeqCreateRequest) (string, error)
FundTransferSeqCreate 创建转账交易号(方舟) 转账接口分为两步, 包含创建转账接口 和 提交转账接口,本接口为第一步
func RefundTransferSeqCommit ¶ added in v1.13.9
func RefundTransferSeqCommit(clt *core.SDKClient, accessToken string, req *agent.FundTransferSeqCommitRequest) (string, error)
RefundTransferSeqCommit 提交退款交易号(方舟) 退款接口分为两步, 包含创建退款接口 和 提交退款接口,本接口为第二步
func RefundTransferSeqCreate ¶ added in v1.13.9
func RefundTransferSeqCreate(clt *core.SDKClient, accessToken string, req *agent.FundTransferSeqCreateRequest) (string, error)
RefundTransferSeqCreate 创建退款交易号(方舟) 退款接口分为两步, 包含创建退款接口 和 提交退款接口,本接口为第一步
Types ¶
This section is empty.