跳转至

PayPal

The PayPal connector is a Palantir-provided driver for PayPal.

To create a new PayPal source, follow the standard setup flow for Palantir-provided drivers, then use the sections below for PayPal-specific configuration and networking. For the complete property reference, see the official PayPal driver documentation ↗.

Configuration

The properties below are mandatory or recommended.

Property Required? Description Default
Schema Mandatory The type of schema to use. SOAP
InitiateOAuth Recommended Specifies the process for obtaining or refreshing the OAuth access token, which maintains user access while an authenticated, authorized user is working. REFRESH
OAuthClientId Recommended Specifies the client Id that was assigned when the custom OAuth application was created. (Also known as the consumer key.) This ID registers the custom application with the OAuth authorization server.
OAuthClientSecret Recommended Specifies the client secret that was assigned when the custom OAuth application was created. (Also known as the consumer secret). This secret registers the custom application with the OAuth authorization server.
Password Recommended Specifies the password of the authenticating user account.
Signature Recommended The signature required to use the SOAP API.
User Recommended Specifies the user ID of the authenticating PayPal user account.
UseSandbox Recommended A Boolean value indicating if you are using a Sandbox account. FALSE

Networking

The table below lists the domains that the source needs to be able to access in order to successfully run.

For each domain, add a corresponding egress policy. If the source is hosted on-premises and not directly reachable from Foundry, use an agent proxy egress policy instead; the agent host itself must also be able to reach the listed domains. See using an agent as a proxy for details.

Domain Required
api-3t.paypal.com If Schema=SOAP (default) AND UseSandbox=FALSE (default)
api.paypal.com If Schema=REST AND UseSandbox=FALSE (default)
paypal.com If Schema=REST AND UseSandbox=FALSE (default)
api-3t.sandbox.paypal.com If Schema=SOAP (default) AND UseSandbox=TRUE
api.sandbox.paypal.com If Schema=REST AND UseSandbox=TRUE
sandbox.paypal.com If Schema=REST AND UseSandbox=TRUE

中文翻译

PayPal

PayPal 连接器是 Palantir 提供的 PayPal 驱动程序(Palantir-provided driver)。

要创建新的 PayPal 数据源,请遵循 Palantir 提供驱动程序的标准设置流程(standard setup flow for Palantir-provided drivers),然后使用以下各节进行 PayPal 特定的配置和网络设置。有关完整的属性参考,请参阅官方 PayPal 驱动程序文档(official PayPal driver documentation ↗)。

配置

以下属性为必填或推荐项。

属性 是否必填 描述 默认值
Schema 必填 要使用的架构类型。 SOAP
InitiateOAuth 推荐 指定获取或刷新 OAuth 访问令牌的过程,该令牌用于在已认证的授权用户工作时维持用户访问权限。 REFRESH
OAuthClientId 推荐 指定创建自定义 OAuth 应用程序时分配的客户端 ID(也称为消费者密钥)。该 ID 用于将自定义应用程序注册到 OAuth 授权服务器。
OAuthClientSecret 推荐 指定创建自定义 OAuth 应用程序时分配的客户端密钥(也称为消费者密钥)。该密钥用于将自定义应用程序注册到 OAuth 授权服务器。
Password 推荐 指定认证用户账户的密码。
Signature 推荐 使用 SOAP API 所需的签名。
User 推荐 指定认证 PayPal 用户账户的用户 ID。
UseSandbox 推荐 一个布尔值,指示是否使用沙盒账户。 FALSE

网络设置

下表列出了数据源为成功运行而需要能够访问的域名。

对于每个域名,请添加相应的出站策略(egress policy)。如果数据源部署在本地且无法直接从 Foundry 访问,请改用代理出站策略(agent proxy egress policy);代理主机本身也必须能够访问所列出的域名。详情请参阅使用代理作为代理(using an agent as a proxy)。

域名 所需条件
api-3t.paypal.com 如果 Schema=SOAP(默认)且 UseSandbox=FALSE(默认)
api.paypal.com 如果 Schema=RESTUseSandbox=FALSE(默认)
paypal.com 如果 Schema=RESTUseSandbox=FALSE(默认)
api-3t.sandbox.paypal.com 如果 Schema=SOAP(默认)且 UseSandbox=TRUE
api.sandbox.paypal.com 如果 Schema=RESTUseSandbox=TRUE
sandbox.paypal.com 如果 Schema=RESTUseSandbox=TRUE