Translation disclaimer

Documentation is written in English and subsequently translated. This page, therefore, might not have the most up-to-date content. If any questions arise relating to the accuracy of the translated content, please refer to the English version of the page.

Menu

上线运行

在上线运行之前,您必须完成并测试了与 Access Worldpay 的端到端集成。

现在,您就可以上线运行了。


第 1 步:API 原则


如果还不熟悉我们的API 原则,那就继续熟悉。这一点很重要,可以确保您的集成保持灵活,以应对我们可能做出的任何更改。

第 2 步:凭证


必须更改自己的凭证。请联系您的实施经理以检索详情。

您目前使用的是测试凭证,无法使用我们上线的 API。

您可以继续使用测试凭证来对集成进行测试。

第 3 步:根资源


将您的原始根资源链接从:

https://try.access.worldpay.com/
更改为
https://access.worldpay.com/

如果您使用操作链接来获取集成中的 URI 资源链接,那么您现在就可以上线运行了。

如果已经对 URI 资源链接进行了硬编码,那么您就必须更改集成,以便从返回的操作链接中获取 URI 资源链接。

注释:上线运行的操作链接与您测试集成中的操作链接相同。

第 4 步:查询上线运行根资源


GET https://access.worldpay.com/

该请求不需要请求正文。

响应

Copied!
{
    "_links": {
        "payments:authorize": {
            "href": "https://access.worldpay.com/payments/authorizations"
        },
        "service:payments": {
            "href": "https://access.worldpay.com/payments"
        },
        "service:sessions": {
            "href": "https://access.worldpay.com/sessions"
        },
        "service:tokens": {
            "href": "https://access.worldpay.com/tokens"
        },
        "service:verifications/accounts": {
            "href": "https://access.worldpay.com/verifications/accounts"
        },
        "service:verifications/customers/3ds": {
            "href": "https://access.worldpay.com/verifications/customers/3ds"
        },
        "service:verifiedTokens": {
            "href": "https://access.worldpay.com/verifiedTokens"
        },
        "service:payouts": {
            "href": "https://access.worldpay.com/payouts"
        },
        "service:payments/alternative/direct": {
            "href": "https://access.worldpay.com/payments/alternative/direct"
        },
        "service:payments/alternative/action/paypal": {
            "href": "https://access.worldpay.com/payments/alternative/action/paypal"
        },
        "service:payments/alternative/action/ideal": {
            "href": "https://access.worldpay.com/payments/alternative/action/ideal"
          },
        "curies": [
            {
                "href": "https://access.worldpay.com/rels/payments/{rel}",
                "name": "payments",
                "templated": true
            }
        ]
    }
}