The Exness Partnership API gives you access to all the features of the Partner’s Personal Area . 使用它,您可以:
- 设置标准授权或安全授权
- Assign and pay rebates to clients
- 创造和管理广告宣传活动
- 为合作伙伴相关报告生成数据
- 访问“宣传”板块
适用人群
这对于希望以不同形式使用合作伙伴个人专区(PPA)中可用数据的合作伙伴和联盟营销合作伙伴非常有用。
例如,与多家经纪商开展合作并开发了整合多个经纪商数据网站的合作伙伴,可以通过API访问其个人专区的所有数据,而无需登录我们的系统。
在开始之前
To start using the Exness Partnership API and obtain your login and password, you’ll first need to register your Personal Area on our website at https://www.exnessaffiliates.com .
如何授权
要登录 Exness 合作伙伴 API 服务,请:
- Go to https://my.exnessaffiliates.com/api/schema/ and use the
/api/authauthorization method. - 输入您注册合作伙伴个人专区时使用的电子邮件和密码。
-
点击 Try it out!(试用)
-
您将在响应体下看到生成的授权令牌:
-
Next, click Authorize in the top right corner, enter the token syntax JWT TOKEN_VALUE , and click Authorize.
- 您可以通过以下方法确认您的授权状态:
/api/partner/summary/。
错误代码
您可能会收到的错误代码包括:
| 错误代码 | 状态码 | 错误信息 |
|---|---|---|
| 认证失败 | 401 | 验证凭证有误 |
| 该方法禁止使用 | 405 | 禁止使用方法“{method}” |
| 不可接受 | 406 | 请求不可接受 |
| 未验证 | 401 | 未提供验证凭证 |
| 未找到 | 404 | 没有找到 |
| 解析错误 | 400 | 异常请求 |
| 无操作权限 | 403 | 您没有执行此操作的权限 |
| 请求超限 | 429 | 请求被限流 |
| 令牌过期 | 401 | 令牌已过期 |
| 不支持的媒体类型 | 415 | 请求中含有不支持的媒体类型 "{media_type}” |
| 验证错误 | 400 | 错误的请求 |