设置我的API经销商账户
注册API经销商账户后,您将需要创建API密钥并设置用于支付交易的Good as Gold账户。
Note: You can create API keys in both your reseller account and your GoDaddy account. API keys are separate and can only be used in the accounts they were created in. To create a key in your GoDaddy account, visit the Developer Portal.
第1步:创建经销商API密钥
生成API密钥和密钥以直接调用我们的生产环境。我们建议您首先创建一个测试API密钥,以便您在上线之前能够使用测试环境确保其正常工作。
- 登录您的“ Reseller Control Center(经销商控制(使用您的GoDaddy用户名和密码)。
- 选择Settings (设置),然后选择API Keys (API密钥)。
- (可选)为测试环境创建API密钥。
- 选择创建。
- 输入API密钥的名称,然后选择Test 。
- 选择Save (保存)。将显示测试环境的API密钥和密钥。复制密码并复制到安全的位置–我们无法再次显示。
- 选择OK(确定) 。
- 每当您想根据我们的OTE /测试环境(使用基本URL)验证内容时,请使用您的测试API密钥https://api.ote-godaddy.com))之间进行交互,然后调用生产环境。
Note: The OTE/testing environment is for testing purposes only. It's pre-funded so it's easier for you to test things out, but isn't connected to the live/production environment. Products or purchases in the test environment don't carry over into the live environment, or vice versa. - 为生产环境创建API密钥。
- 选择创建。
- 为API密钥输入名称,然后选择实时。
- 选择Save (保存)。将显示生产环境的API密钥和密钥。复制您的密码并保存在安全的地方-我们无法再次显示。
- 选择OK(确定) 。
- 当您准备生产时,使用实时API密钥调用我们的生产环境(使用基本URLhttps://api.godaddy.com )。
- 选择Settings (设置),然后选择API Keys (API密钥)以查找您的测试API密钥和实时API密钥。
- 查看API文档,获取有关连接到测试或生产环境的其他信息。
- (可选)要管理API密钥,请选择Settings (设置),然后选择API Keys (API密钥),然后选择Actions (操作)。选择要管理的密钥旁边的
More (更多)菜单。
- 复制密钥到剪贴板:将选定的密钥复制到剪贴板。
- Edit Key(编辑密钥) :编辑或更改密钥名称。重命名密钥不会更改实际密钥或私有密钥。
- 重新创建密钥机密:如果您的原始密钥已丢失或被泄露,请生成新的密钥。
- 删除密钥:删除密钥将其从您的账户中完全删除。
第2步:设置Good as Gold账户
购买任何产品(例如域名)都需要有Good as Gold(质量为好)账户。这是目前唯一的账户入金方式。 API会从此账户中扣除您购买时的固定费率-因此请务必提供资金。
Note: The GoDaddy API does not provide any payment processor or payment gateway. To collect money from your customers, you need to set up your own payment processors.
- 登录您的“ Reseller Control Center(经销商控制(使用您的GoDaddy用户名和密码)。
- 选择Settings (设置),然后选择Low Balance Settings (低平衡设置)。
- 遵循屏幕上的说明,将资金添加到您的Good as Gold(善用)账户。本部分提供了将资金电汇到您的账户所需的信息,包括客户编号。
- 如果您希望在账户余额达到特定金额时收到通知,请转到Settings (设置),然后低余额设置并设置最低阈值。当余额达到该金额时,您会收到提醒您补充资金的提醒。