CData Cloud は、クラウドホスト型のソリューションで、複数の標準サービスやプロトコルにまたがるPayPal へのアクセスを実現します。SQL Server データベースに接続できるアプリケーションであれば、CData Cloud を介してPayPal に接続できます。
CData Cloud により、他のOData エンドポイントや標準SQL Server と同じように、PayPal への接続を標準化し、構成することができます。
このページでは、CData Cloud でのPayPal への接続の確立 のガイド、利用可能なリソースに関する情報、および使用可能な接続プロパティのリファレンスについて説明します。
接続の確立 は、CData Cloud にデータベースを作成するためのPayPal への認証方法と必要な接続プロパティの設定方法について示します。
利用可能な標準サービスを経由してPayPal からデータにアクセスする方法と、CData Cloud の管理については、CData Cloud ドキュメント で詳しく説明します。
Database タブで対応するアイコンを選択して、PayPal に接続します。必須プロパティはSettings にリストされています。Advanced タブには、通常は必要ない接続プロパティが表示されます。
希望のAPI を指定するには、Schema プロパティをREST またはSOAP のいずれかに設定します。Schema が設定されていない場合、PayPal はSOAP スキーマを使用します。
テスト目的では、UseSandbox をtrue に設定してSandbox 認証情報を使用します。
非推奨:SOAP API は廃止予定です。より優れたリソースアクセスのため、REST APIをご利用ください。
SOAP API を使用して、現在の口座のすべての取引を取得できます。SOAP API は、3 つのクレデンシャル値を持つSignature API-credentials タイプを使用します。
API 認証情報を生成するには:
次の接続プロパティを設定して、接続してください。
次の接続プロパティを設定して、接続してください。
接続すると、Cloud がOAuth プロセスを完了します。 PayPal は現在、REST API で使用するOAuth 認証のクライアントクレデンシャルフローのみをサポートしています。この認証を有効にするには、AuthScheme をOAuth に設定し、カスタムOAuth アプリケーションを作成する必要があります。
以下のサブセクションでは、2つの一般的な認証フローでのPayPal への認証について詳しく説明します。 カスタムOAuth アプリケーションの作成については、カスタムOAuth アプリケーションの作成 を参照してください。PayPal で利用可能な接続文字列プロパティの全リストは、Connection を参照してください。
完了後、ヘッドレスマシンからアクセストークンを自動的にリフレッシュするようにドライバーを設定します。
A custom OAuth application is required to authenticate on Desktop applications, Web applications, or Headless machines while using the REST API.
To register an OAuth application and obtain the OAuth client credentials, the Client Id, and Client Secret:
PayPal generates a set of sandbox and live OAuth keys for the application. The sandbox credentials display after the application has been created. To see the live credentials, select the Live option.
The sandbox credentials are used to get data only for the sandbox account you selected while creating the application. The Live credentials are used to get data only for the developer account that was used to create this application.
デフォルトでは、Cloud はサーバーとのTLS のネゴシエーションを試みます。サーバー証明書は、デフォルトのシステム信頼済み証明書ストアで検証されます。SSLServerCert 接続プロパティを使用して、証明書の検証方法をオーバーライドできます。
別の証明書を指定するには、SSLServerCert 接続プロパティを参照してください。
HTTP プロキシへの認証には、以下のように設定します。
次のプロパティを設定します。
The CData Cloud models two PayPal APIs as relational databases, the REST API and the SOAP API. Set the Schema property and use the information in each section to select the proper API based on your project needs.
The REST API is the newer API and is becoming more popular with PayPal users. However, the REST API lists only the transactions and actions made via the REST API and excludes the UI and the SOAP API.
See REST データモデル for the available entities in the REST API.
The SOAP (Classic) API has full information on transactions, which includes transactions created from the UI, the REST API, and the SOAP API.
See SOAP データモデル for the available entities in the SOAP API.
CData Cloud は、PayPal REST API をデータベースビューおよびストアドプロシージャとしてモデル化します。これらはスキーマファイルにて定義されます。スキーマファイルは、スキーマを簡単にカスタマイズできるシンプルなテキストベースのコンフィギュレーションファイルです。
このセクションでは、REST データモデルに関するAPI の制限および要件について説明します。
ビュー は変更ができないテーブルです。一般的に、読み取り専用のデータはビューとして表示されます。
ストアドプロシージャ は、PayPal のファンクションライクなインターフェースです。これらは、 ビュー に表示されない他のPayPal の機能にアクセスするために使用できます。
There are some limitations in the PayPal REST API. For example, it provides no way to list all orders/payments, so to query the related views like OrderItems, OrderDetails, Payments you must know the respective ID and specify it.
ビューは、データを示すという点でテーブルに似ていますが、ビューは読み取り専用です。
クエリは、ビューに対して通常のテーブルと同様に実行することができます。
| Name | Description |
| AuthorizationDetails | Query details about Authorizations. |
| Balances | List all non crypto balances. |
| CaptureDetails | Query details about a captured Payment. |
| CreditCardDetails | Query details about the funding instrument of the payer, such as a Credit Card or a token that represents a Credit Card. |
| CryptoBalances | List all crypto balances. |
| DisputeDetails | PayPal merchants, partners, and external developers can use the PayPal Disputes API to manage disputes. |
| Disputes | PayPal merchants, partners, and external developers can use the PayPal Disputes API to manage disputes. |
| DisputeTransactions | PayPal merchants, partners, and external developers can use the PayPal Disputes API to manage disputes. |
| Invoices | Query Invoices in PayPal. |
| Notifications | Query the list of event types that are subscribed to a Webhook. |
| OrderDetails | Queries details about an Order. |
| OrderItems | Gets the items in an Order. |
| PartnerReferrals | Shows details by ID for referral data that was shared by the partner or API caller. |
| Payments | Query details about authorized Payments. |
| PaymentTokens | Lists merchant-created templates with associated details. |
| PaymentTransactions | Query Transaction details including the amount and item details. |
| PayoutDetails | Retrieve details about Payouts. |
| PayoutItems | Retrieve payout items from a Payout. |
| Plans | List the Billing Plans. |
| ProductDetails | Retrieve the list of product details. |
| Products | Retrieves the list of products, which are goods and services. |
| RefundDetails | Query details about a specific Refund. |
| SaleDetails | Query details about a Sale Transaction. |
| Subscriptions | Get billing and subscription details. |
| SubscriptionTransactions | Lists transactions for a subscription. |
| Templates | Lists merchant-created templates with associated details. |
| TransactionReports | Lists transaction reports. |
| TransactionReportsCartInfoItemDetails | List Cart Info of Transaction Reports. |
| TransactionReportsIncentiveDetails | List Incentive Details of Transaction Reports. |
| UserInfo | Shows OpenID Connect user profile information for standard claims. |
| Users | Lists users. |
| Webhooks | Query the list of Webhooks. |
Query details about Authorizations.
The only filter supported by the PayPal API is Id, which is required. The Cloud processes other filters client side within the Cloud.
For example, the following queries are processed server side and retrieve details for a specific Authorization.
SELECT * FROM AuthorizationDetails WHERE Id = '70K15739YA1955155'
SELECT * FROM AuthorizationDetails WHERE Id IN ('70K15739YA1955155', '70K15739YA1955156')
| Name | Type | References | Description |
| Id [KEY] | String | The PayPal-generated ID for the authorized payment. | |
| Status | String | The status for the authorized payment.
使用できる値は次のとおりです。CREATED, CAPTURED, DENIED, PARTIALLY_CAPTURED, VOIDED, PENDING | |
| StatusDetails | String | The details of the authorized order pending status.
使用できる値は次のとおりです。PENDING_REVIEW, DECLINED_BY_RISK_FRAUD_FILTERS | |
| AmountTotal | Decimal | The amount for this authorized payment. | |
| AmountCurrency | String | The currency of the amount. | |
| InvoiceId | String | The API caller-provided external invoice number for this order. Appears in both the payer's transaction history and the emails that the payer receives. | |
| CustomId | String | The API caller-provided external ID. Used to reconcile API caller-initiated transactions with PayPal transactions. Appears in transaction and settlement reports. | |
| SellerProtectionStatus | String | The level of protection offered as defined by PayPal Seller Protection for Merchants.
使用できる値は次のとおりです。ELIGIBLE, PARTIALLY_ELIGIBLE, NOT_ELIGIBLE | |
| ExpirationTime | Datetime | The amount being charged for the handling fee. Only supported when the payment method is set to paypal. | |
| CreateTime | Datetime | The time of authorization. | |
| UpdateTime | Datetime | The time that the resource was last updated. |
List all non crypto balances.
This view returns a list of disputes for the authenticated user.
The following filters are supported by the PayPal API:
The filters only support the = operator.
The Cloud processes other filters client side within the Cloud.
For example, the following queries are processed server side.
SELECT * FROM Balances WHERE Currency = 'USD'
SELECT * FROM Balances WHERE AsOfTime = '2022-01-09 20:59:59.0'
| Name | Type | References | Description |
| Currency [KEY] | String | Currency Code of the balances listed. | |
| AccountId | String | The PayPal payer ID, which is a masked version of the PayPal account number intended for use with third parties. | |
| AvailableBalanceCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| AvailableBalanceValue | String | The value, which might be an integer or a decimal. | |
| Primary | Boolean | Optional field representing if the currency is primary currency or not. | |
| TotalBalanceCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TotalBalanceValue | Decimal | The value, which might be:An integer or A decimal. | |
| WithheldBalanceCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| WithheldBalanceValue | String | The value, which might be:An integer or A decimal. | |
| AsOfTime | Datetime | The requested date and time or the last date and time when the balances can be served. | |
| LastRefreshTime | Datetime | The date and time when the balances was last refreshed. |
Query details about a captured Payment.
The only filter supported by the PayPal API is Id, which is required. The Cloud processes other filters client side within the Cloud.
For example, the following queries are processed server side and retrieve details for a specific Capture.
SELECT * FROM CaptureDetails WHERE Id = '9G02572041588110H'
SELECT * FROM CaptureDetails WHERE Id IN ('9G02572041588110H', '9G02572041588111H')
| Name | Type | References | Description |
| Id [KEY] | String | The PayPal-generated ID for the captured payment. | |
| Status | String | The status of the captured payment.
使用できる値は次のとおりです。COMPLETED, DECLINED, PARTIALLY_CAPTURED, PENDING, REFUNDED, FAILED | |
| StatusDetails | String | The details of the captured payment status.
使用できる値は次のとおりです。BUYER_COMPLAINT, CHARGEBACK, ECHECK, INTERNATIONAL_WITHDRAWAL, OTHER, PENDING_REVIEW, RECEIVING_PREFERENCE_MANDATES_MANUAL_ACTION, REFUNDED, TRANSACTION_APPROVED_AWAITING_FUNDING, UNILATERAL, VERIFICATION_REQUIRED, DECLINED_BY_RISK_FRAUD_FILTERS | |
| AmountValue | Decimal | The amount for this captured payment. | |
| AmountCurrency | String | The currency of the amount for this captured payment. | |
| InvoiceId | String | The API caller-provided external invoice number for this order. Appears in both the payer's transaction history and the emails that the payer receives. | |
| CustomId | String | The API caller-provided external ID. Used to reconcile API caller-initiated transactions with PayPal transactions. Appears in transaction and settlement reports. | |
| SellerProtectionStatus | String | The level of protection offered as defined by PayPal Seller Protection for Merchants.
使用できる値は次のとおりです。ELIGIBLE, PARTIALLY_ELIGIBLE, NOT_ELIGIBLE | |
| FinalCapture | Boolean | Indicates whether you can make additional captures against the authorized payment. | |
| DisbursementMode | String | The funds that are held on behalf of the merchant.
使用できる値は次のとおりです。INSTANT, DELAYED | |
| SellerGrossAmount | Decimal | The amount for this captured payment. | |
| SellerPaypalFee | Decimal | The applicable fee for this captured payment. | |
| SellerNetAmount | Decimal | The net amount that the payee receives for this captured payment in their PayPal account. | |
| SellerReceivableAmount | Decimal | The net amount that is credited to the payee's PayPal account. Returned only when the currency of the captured payment is different from the currency of the PayPal account where the payee wants to credit the funds. | |
| SellerExchangeRate | Decimal | The exchange rate that determines the amount that is credited to the payee's PayPal account. Returned when the currency of the captured payment is different from the currency of the PayPal account where the payee wants to credit the funds. | |
| CreateTime | Datetime | The time of authorization. | |
| UpdateTime | Datetime | The time that the resource was last updated. |
Query details about the funding instrument of the payer, such as a Credit Card or a token that represents a Credit Card.
This view returns a list of Credit Cards or details for a specific one.
The following filters are supported by the PayPal API:
The CreateTime filter supports the >, >=, <, <=, and = operators, while the other filters only support the = operator.
The Cloud processes other filters client side within the Cloud.
For example, the following queries are processed server side.
SELECT * FROM CreditCardDetails WHERE Id = 'CARD-19H02474E2775740PKZYWVVI'
SELECT * FROM CreditCardDetails WHERE CreateTime > '2016-01-01'
| Name | Type | References | Description |
| Id [KEY] | String | The Id of the credit card. | |
| Number | String | The redacted credit card number. | |
| Type | String | The credit card type. Valid types are: visa, mastercard, discover, amex. | |
| ExpireMonth | Integer | The expiration month with no leading zero. Acceptable values are 1 through 12. | |
| ExpireYear | Integer | The 4-digit expiration year. | |
| FirstName | String | The first name of the cardholder. | |
| LastName | String | The last name of the cardholder. | |
| AddressLine1 | String | The billing address associated with card. Line 1 of the address (e.g., number, street, etc.). | |
| AddressLine2 | String | The optional line 2 of the Address (e.g., suite, apt number, etc.). | |
| City | String | The city name. | |
| CountryCode | String | The 2-letter country code. | |
| PostalCode | String | The ZIP code or equivalent is usually required for countries that have them. | |
| Phone | String | The phone number in E.123 format. | |
| ExternalCustomerId | String | The unique identifier of the customer to whom this bank account belongs. Generated and provided by the facilitator. | |
| MerchantId | String | The user-provided, optional field that functions as a unique identifier for the merchant holding the card. Note that this has no relation to PayPal merchant Id. | |
| ExternalCardId | String | The unique identifier of the bank account resource. Generated and provided by the facilitator so it can be used to restrict the usage of the bank account to the specific merchant. | |
| CreateTime | Datetime | The resource creation time in ISO8601 date-time format (e.g., 1994-11-05T13:15:30Z). | |
| UpdateTime | Datetime | The resource update time in ISO8601 date-time format (e.g., 1994-11-05T13:15:30Z). | |
| State | String | The state of the credit card funding instrument: expired or ok. | |
| ValidUntil | Datetime | The funding instrument expiration date. |
List all crypto balances.
This view returns a list of disputes for the authenticated user.
The following filters are supported by the PayPal API:
The filters only support the = operator.
The Cloud processes other filters client side within the Cloud.
For example, the following queries are processed server side.
SELECT * FROM CryptoBalances WHERE AsOfTime = '2022-01-09 20:59:59.0'
| Name | Type | References | Description |
| AssetSymbol [KEY] | String | The Cryptocurrency ticker symbol / code as assigned by liquidity providers. | |
| AccountId | String | The PayPal payer ID, which is a masked version of the PayPal account number intended for use with third parties. | |
| Quantity | Decimal | Quantity of a cryptocurrency asset. | |
| AsOfTime | Datetime | The requested date and time or the last date and time when the balances can be served. | |
| LastRefreshTime | Datetime | The date and time when the balances were last refreshed. |
PayPal merchants, partners, and external developers can use the PayPal Disputes API to manage disputes.
This view returns a list of disputes with detailed information for the authenticated user.
The following filters are supported by the PayPal API:
The Cloud processes other filters client side within the Cloud.
For example, the following queries are processed server side.
SELECT * FROM DisputeDetails WHERE DisputeId = 'PP-D-12345'
| Name | Type | References | Description |
| DisputeId [KEY] | String | The ID of the dispute. | |
| CreatedTime | Datetime | The date and time when the dispute was created. | |
| UpdatedTime | Datetime | The date and time when the dispute was updated. | |
| Status | String | The status of the dispute.
使用できる値は次のとおりです。OPEN, WAITING_FOR_BUYER_RESPONSE, WAITING_FOR_SELLER_RESPONSE, UNDER_REVIEW, RESOLVED, OTHER | |
| Reason | String | The reason for the item-level dispute.
使用できる値は次のとおりです。MERCHANDISE_OR_SERVICE_NOT_RECEIVED, MERCHANDISE_OR_SERVICE_NOT_AS_DESCRIBED, UNAUTHORISED, CREDIT_NOT_PROCESSED, DUPLICATE_TRANSACTION, INCORRECT_AMOUNT, PAYMENT_BY_OTHER_MEANS, CANCELED_RECURRING_BILLING, PROBLEM_WITH_REMITTANCE, OTHER | |
| DisputeState | String | The state of the dispute.
使用できる値は次のとおりです。OPEN_INQUIRIES, REQUIRED_ACTION, REQUIRED_OTHER_PARTY_ACTION, UNDER_PAYPAL_REVIEW, APPEALABLE, RESOLVED | |
| DisputeCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| DisputeAmountValue | Decimal | The value of the amount. | |
| ExternalReasonCode | String | The code that identifies the reason for the credit card chargeback. | |
| DisputeOutcomeCode | String | The outcome of a resolved dispute. | |
| DisputeOutcomeAmountRefundedCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| DisputeOutcomeAmountRefundedValue | Decimal | The value of the amount. | |
| DisputeLifecycleStage | String | The stage in the dispute lifecycle. | |
| DisputeChannel | String | The channel where the customer created the dispute. | |
| OfferType | String | The merchant-proposed offer type for the dispute. | |
| BuyerRequestedAmountCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| BuyerRequestedAmountValue | Decimal | The value of the amount. | |
| BuyerResponseDueDate | Datetime | The date and time by when the customer must respond to the dispute. | |
| SellerOfferedAmountCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| SellerOfferedAmountValue | Decimal | The value of the amount. | |
| SellerResponseDueDate | Datetime | The date and time by when the seller must respond to the dispute. | |
| String | The email address that is provided by the merchant where the customer can share the evidences. | ||
| Note | String | The merchant provided notes that are visible to both the customer and PayPal. | |
| TimePosted | Datetime | The date and time when the contact details were posted. | |
| DisputeAssetSymbol | String | The cryptocurrency symbol or code ticker options. Assigned by liquidity providers and exchanges. | |
| DisputeAssetQuantity | String | The quantity of a cryptocurrency asset. | |
| DisputeAssetQuantityInSubunits | String | The quantity of a cryptocurrency asset in the currency's sub units. | |
| DisputeOutcomeAssetRefundedSymbol | String | The cryptocurrency symbol or code ticker options. Assigned by liquidity providers and exchanges. | |
| DisputeOutcomeAssetRefundedQuantity | Decimal | The quantity of a cryptocurrency asset. | |
| RefundAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| RefundAmountValue | Decimal | The maximum refundable amount. |
PayPal merchants, partners, and external developers can use the PayPal Disputes API to manage disputes.
This view returns a list of disputes for the authenticated user.
The following filters are supported by the PayPal API:
The CreateTime filter supports the >, >=, <, <=, and = operators, while the other filters only support the = operator.
The Cloud processes other filters client side within the Cloud.
For example, the following queries are processed server side.
SELECT * FROM Disputes WHERE DisputeId = 'PP-D-12345'
SELECT * FROM Disputes WHERE CreateTime > '2016-01-01'
| Name | Type | References | Description |
| DisputeId [KEY] | String | The ID of the dispute. | |
| CreatedTime | Datetime | The date and time when the dispute was created. | |
| UpdatedTime | Datetime | The date and time when the dispute was updated. | |
| Status | String | The status of the dispute.
使用できる値は次のとおりです。OPEN, WAITING_FOR_BUYER_RESPONSE, WAITING_FOR_SELLER_RESPONSE, UNDER_REVIEW, RESOLVED, OTHER | |
| Reason | String | The reason for the item-level dispute.
使用できる値は次のとおりです。MERCHANDISE_OR_SERVICE_NOT_RECEIVED, MERCHANDISE_OR_SERVICE_NOT_AS_DESCRIBED, UNAUTHORISED, CREDIT_NOT_PROCESSED, DUPLICATE_TRANSACTION, INCORRECT_AMOUNT, PAYMENT_BY_OTHER_MEANS, CANCELED_RECURRING_BILLING, PROBLEM_WITH_REMITTANCE, OTHER | |
| DisputeState | String | The state of the dispute.
使用できる値は次のとおりです。OPEN_INQUIRIES, REQUIRED_ACTION, REQUIRED_OTHER_PARTY_ACTION, UNDER_PAYPAL_REVIEW, APPEALABLE, RESOLVED | |
| DisputeCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| DisputeAmountValue | Decimal | The value of the amount. | |
| DisputeLifecycleStage | String | The stage in the dispute lifecycle. | |
| DisputeChannel | String | The channel where the customer created the dispute. | |
| BuyerResponseDueDate | Datetime | The date and time by when the customer must respond to the dispute. | |
| SellerResponseDueDate | Datetime | The date and time by when the seller must respond to the dispute. |
PayPal merchants, partners, and external developers can use the PayPal Disputes API to manage disputes.
This view returns a list of transactions with details for a specific dispute.
The following filters are supported by the PayPal API:
The Cloud processes other filters client side within the Cloud.
For example, the following queries are processed server side.
SELECT * FROM DisputeTransactions WHERE DisputeId = 'PP-D-12345'
| Name | Type | References | Description |
| DisputeId [KEY] | String | The ID of the dispute. | |
| CreatedTime | Datetime | The date and time when the transaction was created. | |
| TransactionStatus | String | The transaction status. | |
| GrossAmountCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| GrossAmountValue | Decimal | The value of the amount. | |
| BuyerName | String | The customer's name. | |
| BuyerTransactionId | String | The customer's transaction ID. | |
| SellerEmail | String | The email address for the merchant's PayPal account. | |
| SellerMerchantId | String | The PayPal account ID for the merchant. | |
| SellerTransactionId | String | The ID, as seen by the merchant, for this transaction. | |
| SellerName | String | The name of the merchant. | |
| SellerProtectionEligible | Boolean | Indicator if the seller is eligible for protection. | |
| Custom | String | A free-text field that is entered by the merchant during checkout. | |
| InvoiceNumber | String | The ID of the invoice for the payment. | |
| ReferenceId | String | The ID, as seen by the partner, for this transaction. |
Query Invoices in PayPal.
Server-side processing is only supported for the '=' operator.
The following filters are supported by the PayPal API:
SELECT * FROM Invoices WHERE Id = 'INV2-LV8Z-5XH2-L4Z6-7LQ4'
When filtering with InvoiceAmount and DueAmount, InvoiceCurrency and DueAmountCurrencyCode are required respectively.
SELECT * FROM Invoices WHERE InvoiceAmount = 100 AND InvoiceCurrency = 'USD' SELECT * FROM Invoices WHERE InvoiceAmount > 100 AND InvoiceAmount < 150 AND InvoiceCurrency = 'USD' SELECT * FROM Invoices WHERE InvoiceAmount >= 100 AND InvoiceAmount < 150 AND InvoiceCurrency = 'USD' SELECT * FROM Invoices WHERE InvoiceAmount > 100 AND InvoiceAmount <= 150 AND InvoiceCurrency = 'USD' SELECT * FROM Invoices WHERE InvoiceAmount >= 100 AND InvoiceAmount <= 150 AND InvoiceCurrency = 'USD'
The Cloud processes other filters client side within the Cloud.
| Name | Type | References | Description |
| Id [KEY] | String | The ID of the invoice. | |
| ParentId | String | The parent ID to an invoice that defines the group invoice to which the invoice is related. | |
| Status | String | The status of the invoice.
使用できる値は次のとおりです。DRAFT, SENT, SCHEDULED, PAID, MARKED_AS_PAID, CANCELLED, REFUNDED, PARTIALLY_PAID, PARTIALLY_REFUNDED, MARKED_AS_REFUNDED, UNPAID, PAYMENT_PENDING | |
| Reference | String | The reference data. Includes a post office (PO) number. | |
| Currency | String | The three-character ISO-4217 currency code that identifies the currency. | |
| Note | String | A note to the invoice recipient. Also appears on the invoice notification email. | |
| TermsAndConditions | String | The general terms of the invoice. Can include return or cancellation policy and other terms and conditions. | |
| Memo | String | A private bookkeeping memo for the user. | |
| InvoiceDate | Date | The invoice date as specified by the sender, in Internet date and time format. | |
| InvoiceNumber | String | A private bookkeeping memo for the user. | |
| TermType | String | The payment term. Payment can be due upon receipt, a specified date, or in a set number of days. | |
| DueDate | Date | The date when the invoice payment is due, in Internet date and time format. | |
| DueAmount | Decimal | The due amount, which is the balance amount outstanding after payments. | |
| Gratuity | Decimal | The amount paid by the payer as gratuity to the invoicer. | |
| PaidAmount | Decimal | The aggregated payment amounts against this invoice. | |
| RefundAmount | Decimal | The aggregated refund amounts. | |
| CreatedTime | Datetime | The date and time when the resource was created, in Internet date and time format. | |
| CreatedBy | String | The email address of the account that created the resource. | |
| LastUpdatedTime | Datetime | The date and time when the resource was last edited, in Internet date and time format. | |
| LastUpdatedBy | String | The email address of the account that last edited the resource. | |
| CancelTime | Datetime | The date and time when the resource was canceled, in Internet date and time format. | |
| CancelledBy | String | The actor who canceled the resource. | |
| FirstSentTime | Datetime | The date and time when the resource was first sent, in Internet date and time format. | |
| LastSentTime | Datetime | The date and time when the resource was last sent, in Internet date and time format. | |
| LastSentBy | String | The email address of the account that last sent the resource. | |
| CreatedByFlow | String | The flow variation that created this invoice. | |
| RecipientViewUrl | String | The URL for the invoice payer view hosted on paypal.com. | |
| InvoicerViewUrl | String | The URL for the invoice merchant view hosted on paypal.com. | |
| InvoicerBusinessName | String | The business name of the party. | |
| InvoicerPrefixName | String | The prefix, or title, to the party's name. | |
| InvoicerFirstName | String | When the party is a person, the party's given, or first, name. | |
| InvoicerMiddleName | String | When the party is a person, the party's middle name. Also used to store multiple middle names including the patronymic, or father's name. | |
| InvoicerLastName | String | When the party is a person, the party's surname or family name. Also known as the last name. Required when the party is a person. | |
| InvoicerSuffixName | String | The suffix for the party's name. | |
| InvoicerFullName | String | When the party is a person, the party's full name. | |
| InvoicerAddressLine1 | String | The first line of the address. For example, number or street. | |
| InvoicerAddressLine2 | String | The second line of the address. For example, suite or apartment number. | |
| InvoicerAddressLine3 | String | The third line of the address, if needed. | |
| InvoicerAddressPostalCode | String | The postal code, which is the zip code or equivalent. Typically required for countries with a postal code or an equivalent. | |
| InvoicerAddressCountryCode | String | The two-character ISO 3166-1 code that identifies the country or region. | |
| InvoicerAddressStreetNumber | String | The street number. | |
| InvoicerAddressStreetName | String | The street name. Just Drury in Drury Lane. | |
| InvoicerAddressStreetType | String | The street type. For example, avenue, boulevard, road, or expressway. | |
| InvoicerAddressDeliveryService | String | The delivery service. Post office box, bag number, or post office name. | |
| InvoicerAddressBuildingName | String | A named locations that represents the premise. Usually a building name or number or collection of buildings with a common name or number. | |
| InvoicerAddressSubBuilding | String | The first-order entity below a named building or location that represents the sub-premise. Usually a single building within a collection of buildings with a common name. | |
| InvoicerEmail | String | The invoicer email address, which must be listed in the user's PayPal profile. | |
| InvoicerWebsite | String | The invoicer's website. | |
| InvoicerTaxId | String | The invoicer's tax ID. | |
| InvoicerAdditionalNotes | String | Any additional information. Includes business hours. | |
| InvoicerLogoUrl | String | The full URL to an external logo image. The logo image must not be larger than 250 pixels wide by 90 pixels high. | |
| TaxCalculatedAfterDiscount | Boolean | Indicates whether the tax is calculated before or after a discount. | |
| TaxInclusive | Boolean | Indicates whether the unit price includes tax. | |
| AllowTip | Boolean | Indicates whether the invoice enables the customer to enter a tip amount during payment. | |
| TemplateId | String | The template ID. The template determines the layout of the invoice. Includes which fields to show and hide. | |
| AllowPartialPayment | Boolean | Indicates whether the invoice allows a partial payment. If false, the invoice must be paid in full. If true, the invoice allows partial payments. | |
| MinimumAmountDue | String | The minimum amount allowed for a partial payment. Valid only when allow_partial_payment is true. | |
| InvoiceAmount | Decimal | The invoice amount summary of item total, discount, tax total and shipping. | |
| InvoiceCurrency | String | The invoice amount summary of item total, discount, tax total and shipping. | |
| ItemTotal | Decimal | The subtotal for all items. Must equal the sum of (quantity * price) for all items. | |
| InvoiceDiscountPercentage | String | The discount as a percentage value. Value is from 0 to 100. Supports up to five decimal places. | |
| InvoiceDiscountValue | Decimal | The invoice level discount amount. Value is from 0 to 1000000. Supports up to two decimal places. | |
| ItemDiscountValue | Decimal | The discount as an amount at item level. | |
| TaxTotal | Decimal | The aggregated amount of the item and shipping taxes. | |
| ShippingAmount | Decimal | The shipping fee for all items. Includes tax on shipping. | |
| ShippingTaxAmount | Decimal | The calculated tax amount. The tax amount is added to the item total. | |
| ShippingTaxPercentage | String | The tax rate. Value is from 0 to 100. Supports up to five decimal places. | |
| ShippingTaxName | String | The name of the tax applied on the invoice items. | |
| DueAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| GratuityCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| PaidAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| RefundAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| MinimumAmountDueCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| ItemTotalCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| InvoiceDiscountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| ItemDiscountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| ShippingAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| ShippingTaxAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| Archived | Boolean | Indicates whether to list merchant-archived invoices in the response. |
Query the list of event types that are subscribed to a Webhook.
The only filter supported by the PayPal API is WebhookId, which only supports the = operator. This is a required parameter.The Cloud processes other filters client side within the Cloud.
For example, the following query is processed server side and retrieves the Notifications list for the specified Webhook.
SELECT * FROM Notifications WHERE WebhookId = '8BU398853V564980H'
| Name | Type | References | Description |
| Name | String | The unique event type name. | |
| Description | String | The human-readable description of the event type. | |
| WebhookId | String | Webhook Id. |
Queries details about an Order.
Note: PayPal REST API does not give us a way to list all OrderId-s, so you must specify it. If you need such use case, it's recommended to use the Transactions and TransactionDetails views in SOAP schema.
The only filter supported by the PayPal API is Id, which is required.
The Cloud processes other filters client side within the Cloud.
For example, the following queries are processed server side and retrieve details for a specific Order.
SELECT * FROM OrderDetails WHERE Id = 'O-1HE90236LH9332431'
SELECT * FROM OrderDetails WHERE Id IN ('O-1HE90236LH9332431', 'O-7D635956955612146')
| Name | Type | References | Description |
| Id [KEY] | String | The ID of the order. | |
| Status | String | The order status. The possible values are: CREATED, SAVED, APPROVED, VOIDED, COMPLETED. | |
| Intent | String | The intent to either capture payment immediately or authorize a payment for an order after order creation. The possible values are: CAPTURE, AUTHORIZE. | |
| CreatedTime | Datetime | The date and time when the transaction occurred. | |
| UpdatedTime | Datetime | The date and time when the transaction was last updated. | |
| PayerId | String | The ID of the customer who approves and pays for the order. The customer is also known as the payer. | |
| PayerGivenName | String | The name of the customer who approves and pays for the order. The customer is also known as the payer. | |
| PayerSurname | String | The last name of the customer who approves and pays for the order. The customer is also known as the payer. | |
| PayerEmail | String | The email of the customer who approves and pays for the order. The customer is also known as the payer. | |
| PayerPhoneType | String | The phone type. | |
| PayerPhoneNumber | String | The phone number, in its canonical international E.164 numbering plan format. | |
| PayerBirthDate | String | The birth date of the payer in YYYY-MM-DD format. | |
| PayerTaxId | String | The customer's tax ID. Supported for the PayPal payment method only. | |
| PayerTaxType | String | The customer's tax ID type. Supported for the PayPal payment method only.
使用できる値は次のとおりです。BR_CPF, BR_CNPJ | |
| PayerAddressLine1 | String | The first line of the address. For example, number or street. | |
| PayerAddressLine2 | String | The second line of the address. For example, suite or apartment number. | |
| PayerAddressPostalCode | String | The postal code, which is the zip code or equivalent. Typically required for countries with a postal code or an equivalent. | |
| PayerAddressCountryCode | String | The two-character ISO 3166-1 code that identifies the country or region. | |
| PayerAddressAdminArea1 | String | The highest level sub-division in a country, which is usually a province, state, or ISO-3166-2 subdivision. | |
| PayerAddressAdminArea2 | String | A city, town, or village. | |
| PaymentSource | String | The payment source used to fund the payment. | |
| PurchaseUnits | String | An array of purchase units. |
Gets the items in an Order.
Note: PayPal REST API does not give us a way to list all OrderId-s, so you must specify it. If you need such use case, it's recommended to use the Transactions and TransactionItems views in SOAP schema.
The only filter supported by the PayPal API is OrderId, which is required.
The Cloud processes other filters client side within the Cloud.
For example, the following queries are processed server side and retrieve details for a specific Order.
SELECT * FROM OrderItems WHERE OrderId = 'O-1HE90236LH9332431'
SELECT * FROM OrderItems WHERE OrderId IN ('O-1HE90236LH9332431', 'O-7D635956955612146')
| Name | Type | References | Description |
| OrderId | String | The ID of the Order this Item belongs to. | |
| Id | String | The PayPal-generated ID for the purchase unit. This ID appears in both the payer's transaction history and the emails that the payer receives. | |
| ReferenceId | String | The API caller-provided external ID for the purchase unit. Required for multiple purchase units when you must update the order through PATCH. | |
| Amount | String | The total order amount with an optional breakdown that provides details, such as the total item amount, total tax amount, shipping, handling, insurance, and discounts, if any. | |
| Description | String | The purchase description. | |
| CustomId | String | The API caller-provided external ID. Used to reconcile API caller-initiated transactions with PayPal transactions. Appears in transaction and settlement reports. | |
| InvoiceId | String | The API caller-provided external invoice ID for this order. | |
| SoftDescriptor | String | The payment descriptor on account transactions on the customer's credit card statement. | |
| ShipperFullName | String | When the party is a person, the party's full name. | |
| ShippingAddressLine1 | String | The first line of the address. For example, number or street. | |
| ShippingAddressLine2 | String | The second line of the address. For example, suite or apartment number. | |
| ShippingAddressPostalCode | String | The postal code, which is the zip code or equivalent. Typically required for countries with a postal code or an equivalent. | |
| ShippingAddressCountryCode | String | The two-character ISO 3166-1 code that identifies the country or region. | |
| PayeeEmail | String | The email address of the merchant. | |
| PayeeMerchantId | String | The encrypted PayPal account ID of the merchant. | |
| DisbursementMode | String | The funds that are held on behalf of the merchant. | |
| Items | String | An array of items that the customer purchases from the merchant. | |
| MostRecentErrors | String | The error reason code and description that are the reason for the most recent order decline. | |
| PaymentInstruction | String | Any additional payment instructions to be consider during payment processing. | |
| SupplementaryData | String | Supplementary data about this payment. | |
| Payments | String | The comprehensive history of payments for the purchase unit. |
Shows details by ID for referral data that was shared by the partner or API caller.
Note: PartnerReferrals API does not give us a way to list all PartnerReferralId-s, so you must specify it.
The only filter supported by the PayPal API is Id, which is required.
The Cloud processes other filters client side within the Cloud.
For example, the following queries are processed server side and retrieve details for a specific Partner Referral.
SELECT * FROM PartnerReferrals where id= 'ZjcyODU4ZWYtYTA1OC00ODIwLTk2M2EtOTZkZWQ4NmQwYzI3RU12cE5xa0xMRmk1NWxFSVJIT1JlTFdSbElCbFU1Q3lhdGhESzVQcU9iRT0='
| Name | Type | References | Description |
| Id [KEY] | String | The ID to access the customer's data shared by the partner with PayPal. | |
| SubmitterPayerId | String | The payer ID of the partner who shared the referral data. | |
| SubmitterClientId | String | The client ID of the partner who shared the referral data. | |
| IndividualOwners | String | List of owners in the account. | |
| BusinessNames | String | Name of the business. | |
| BusinessEmails | String | Email addresses of the business. | |
| BusinessWebsite | String | Website of the business. | |
| BusinessAddresses | String | List of addresses associated with the business entity. | |
| BusinessPhones | String | List of phone number associated with the business. | |
| BusinessDocuments | String | Business Party related Document data collected from the customer. | |
| BusinessType | String | Type of business entity like corporation, sole prop, governmental. | |
| BusinessSubtype | String | The sub classification of the business type. | |
| BusinessIndustryCategory | String | The customer's business category code. | |
| BusinessIndustryMccCode | String | The customer's business seller category code. | |
| BusinessIndustrySubcategory | String | The customer's business subcategory code. | |
| BusinessIncorporationCountryCode | String | The incorporation country code. | |
| BusinessIncorporationDate | Date | Date of business incorporation. | |
| BusinessOfficeBearers | String | List of Directors present as part of the business entity. | |
| BusinessPurposeCode | String | The account's purpose code. | |
| BusinessDescription | String | The business goals description. For example, a mission statement. | |
| IndividualBeneficialOwners | String | List of Individual beneficial owners part of the entity. | |
| BusinessBeneficialOwners | String | List of Business beneficial owners part of the entity. | |
| AnnualSalesVolumeRangeMinAmountCurrencyCode | String | The minimum inclusive amount currency code of the range for the total annual sales volume of the business. | |
| AnnualSalesVolumeRangeMinAmountValue | Decimal | The minimum inclusive amount value of the range for the total annual sales volume of the business. | |
| AnnualSalesVolumeRangeMaxAmountCurrencyCode | String | The maximum inclusive amount currency code of the range for the total annual sales volume of the business. | |
| AnnualSalesVolumeRangeMaxAmountValue | Decimal | The maximum inclusive amount value of the range for the total annual sales volume of the business. | |
| AvgMonthlyVolumeRangeMinAmountCurrencyCode | String | The minimum inclusive amount currency code of the range for the average monthly volume of the business. | |
| AvgMonthlyVolumeRangeMinAmountValue | Decimal | The minimum inclusive amount value of the range for the average monthly volume of the business. | |
| AvgMonthlyVolumeRangeMaxAmountCurrencyCode | String | The maximum inclusive amount currency code of the range for the average monthly volume of the business. | |
| AvgMonthlyVolumeRangeMaxAmountValue | Decimal | The maximum inclusive amount value of the range for the average monthly volume of the business. | |
| TrackingId | String | The partner's unique identifier for this customer in their system which can be used to track user in PayPal. | |
| Operations | String | An array of operations to perform for the customer while they share their data. | |
| Products | String | An array of PayPal products to which the partner wants to onboard the customer. | |
| Capabilities | String | An array of capabilities which the partner wants to enable for the selected products. | |
| OutsideProcessDependencies | String | An array of dependent processes. | |
| LegalConsents | String | An array of all consents that the partner has received from this seller. | |
| String | Email address of the customer used to create the account. | ||
| PreferredLanguageCode | String | The preferred locale code to use in the onboarding flow for the customer. | |
| PartnerConfigReturnUrl | String | The URL to which to redirect the customer upon completion of the onboarding process. | |
| PartnerConfigReturnUrlDescription | String | The description of the return URL. | |
| PartnerConfigShowAddCreditCard | Boolean | Indicates whether to show an add credit card page. | |
| FinancialInstrumentBanks | String | An array of banks attached to this managed account. | |
| PayoutAttributesMarketplace | Boolean | If true, specifies that the merchant or platform is offering goods or services on behalf of 3rd party sellers. | |
| PayoutAttributesKycRequired | Boolean | If true, specifies that the Kyc is required for the merchant. | |
| PayoutAttributesCountryTransferMethodCurrency | String | Requested country, transfer method and currency. | |
| LegalCountryCode | String | Legal Country Code. |
Query details about authorized Payments.
The only supported filters are Id and OrderId. Filters only supports the = operator The Cloud processes other filters client side within the Cloud.
For example, the following query is processed server side and retrieves Payments that were created after the specified date.
SELECT * FROM Payments WHERE Id > 'P-41250-2' AND OrderId = 'O-123550-05'
| Name | Type | References | Description |
| Id [KEY] | String | The PayPal-generated ID for the authorized payment. | |
| Intent | String | The payment intent. | |
| PayerPaymentMethod | String | The payment method. | |
| PayerStatus | String | The status of payer's PayPal account. | |
| PayerEmail | String | The payer's email address. | |
| PayerSalutation | String | The payer's salutation. | |
| PayerFirstName | String | The payer's first name. | |
| PayerMiddleName | String | The payer's middle name. | |
| PayerLastName | String | The payer's last name. | |
| PayerSuffix | String | The payer's suffix. | |
| PayerId | String | The PayPal-assigned encrypted payer ID. | |
| PayerBirthDate | Date | The birth date of the payer, in Internet date format. | |
| PayerTaxId | String | The payer's tax ID. Supported for the PayPal payment method only. | |
| PayerTaxType | String | The payer's tax ID type. Supported for the PayPal payment method only. | |
| PayerBillingAddressLine1 | String | The first line of the address. For example, number, street, and so on. | |
| PayerBillingAddressLine2 | String | The second line of the address. For example, suite or apartment number. | |
| PayerBillingAddressCity | String | The city name. | |
| PayerBillingAddressCountryCode | String | The two-character ISO 3166-1 code that identifies the country or region. | |
| PayerBillingAddressPostalCode | String | The postal code, which is the zip code or equivalent. | |
| PayerBillingAddressState | String | The code for a US state or the equivalent for other countries. | |
| PayerBillingAddressPhone | String | The phone number, in E.123 format. | |
| PayerBillingAddressNormalizationStatus | String | The address normalization status. Returned only for payers from Brazil. | |
| PayerBillingAddressType | String | The type of address. For example, HOME_OR_WORK, GIFT, and so on. | |
| PayerShippingAddressLine1 | String | The first line of the address. For example, number, street, and so on. | |
| PayerShippingAddressLine2 | String | The second line of the address. For example, suite or apartment number. | |
| PayerShippingAddressCity | String | The city name. | |
| PayerShippingAddressCountryCode | String | The two-character ISO 3166-1 code that identifies the country or region. | |
| PayerShippingAddressPostalCode | String | The postal code, which is the zip code or equivalent. | |
| PayerShippingAddressState | String | The code for a US state or the equivalent for other countries. | |
| PayerShippingAddressPhone | String | The phone number, in E.123 format. | |
| PayerShippingAddressNormalizationStatus | String | The address normalization status. Returned only for payers from Brazil. | |
| PayerShippingAddressType | String | The type of address. For example, HOME_OR_WORK, GIFT, and so on. | |
| State | String | The state of the payment, authorization, or order transaction. | |
| ExperienceProfileId | String | The PayPal-generated ID for the merchant's payment experience profile. For information, see create web experience profile. | |
| NoteToPayer | String | A free-form field that clients can use to send a note to the payer. | |
| FailureReason | String | The reason code for a payment failure. | |
| ReturnUrl | String | The URL where the payer is redirected after he or she approves the payment. Required for PayPal account payments. | |
| CancelUrl | String | The URL where the payer is redirected after he or she cancels the payment. Required for PayPal account payments. | |
| BrandName | String | A label that overrides the business name in the merchant's PayPal account on the PayPal checkout pages. | |
| Locale | String | The locale of pages that the PayPal payment experience displays. | |
| LandingPage | String | The type of landing page to show on the PayPal site for customer checkout. | |
| ShippingPreference | String | The shipping preference. | |
| UserAction | String | The user action. Presents the customer with either the Continue or Pay Now checkout flow. | |
| CreatedTime | Datetime | The date and time when the transaction occurred. | |
| UpdatedTime | Datetime | The date and time when the payment was updated, in Internet date and time format. |
Lists merchant-created templates with associated details.
The only filters supported by the PayPal API are Id and CustomerId. One of these filters is required to access this view. Server-side processing is only supported for the '=' operator.
Select * from PaymentTokens where CustomerId = 'BygeLlrpZF' Select * from PaymentTokens where Id = 'PMUH786954'
The Cloud processes other filters client side within the Cloud.
| Name | Type | References | Description |
| Id [KEY] | String | The PayPal-generated ID for the vault token. | |
| CustomerId | String | The unique ID for a customer in merchant's or partner's system of records. | |
| MerchantCustomerId | String | Merchants and partners may already have a data store where their customer information is persisted. Use merchant_customer_id to associate the PayPal-generated customer ID to your representation of a customer. | |
| PaymentSourceCardName | String | The card holder's name as it appears on the card. | |
| PaymentSourceCardLastDigits | String | The last digits of the payment card. | |
| PaymentSourceCardVerificationNetworkTransactionId | String | Transaction Identifier as given by the network to indicate a previously executed CIT authorization. | |
| PaymentSourceCardVerificationDate | Datetime | The date that the transaction was authorized by the scheme. | |
| PaymentSourceCardVerificationNetwork | String | Name of the card network through which the transaction was routed. | |
| PaymentSourceCardVerificationTime | String | The date and time when the instrument was verified. | |
| PaymentSourceCardVerificationAmountValue | Decimal | The amount used for card verification. | |
| PaymentSourceCardVerificationAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| PaymentSourceCardVerificationProcessorResponseAvsCode | String | The address verification code for Visa, Discover, Mastercard, or American Express transactions. | |
| PaymentSourceCardVerificationProcessorResponseCvvCode | String | The card verification value code for for Visa, Discover, Mastercard, or American Express. | |
| PaymentSourceCardNetworkTransactionReferenceId | String | Transaction reference id returned by the scheme. | |
| PaymentSourceCardNetworkTransactionReferenceDate | Datetime | The date that the transaction was authorized by the scheme. | |
| PaymentSourceCardNetworkTransactionReferenceNetwork | String | Name of the card network through which the transaction was routed. | |
| PaymentSourceCardNetworkTransactionReferenceTime | Datetime | The date and time when the instrument was verified. | |
| PaymentSourceCardBrand | String | The card brand or network. Typically used in the response. | |
| PaymentSourceCardExpiry | String | The card expiration year and month. | |
| PaymentSourceCardAddressLine1 | String | The first line of the address. For example, number or street. | |
| PaymentSourceCardAddressLine2 | String | The second line of the address. For example, suite or apartment number. | |
| PaymentSourceCardAddressAdminArea1 | String | The highest level sub-division in a country, which is usually a province, state, or ISO-3166-2 subdivision. | |
| PaymentSourceCardAddressAdminArea2 | String | A city, town, or village. | |
| PaymentSourceCardAddressPostalCode | String | The postal code, which is the zip code or equivalent. Typically required for countries with a postal code or an equivalent. | |
| PaymentSourceCardAddressCountryCode | String | The two-character ISO 3166-1 code that identifies the country or region. | |
| PaymentSourceCardAddressId | String | The resource ID of the address. | |
| PaymentSourceCardAddressCompany | String | The name of the company or business associated to the address. | |
| PaymentSourceCardAddressPhone | String | The phone number that can go on the mailing label with the address to track the shipping. | |
| PaymentSourceCardAddressGivenName | String | When the party is a person, the party's given, or first, name. | |
| PaymentSourceCardAddressNameSurname | String | When the party is a person, the party's surname or family name. | |
| PaymentSourceCardAddressPhoneNumber | String | The national number. | |
| PaymentSourceCardAddressPhoneNumberCountryCode | String | The country calling code (CC), in its canonical international | |
| PaymentSourceCardVerificationStatus | String | Card verification status | |
| PaymentSourceCardType | String | The payment card type. | |
| PaymentSourcePaypalEmailAddress | String | The email address of the payer. | |
| PaymentSourcePaypalPayerId | String | The PayPal-assigned ID for the payer. | |
| PaymentSourcePaypalGivenName | String | When the party is a person, the party's given, or first, name. | |
| PaymentSourcePaypalNameSurname | String | When the party is a person, the party's surname or family name. | |
| PaymentSourcePaypalPhoneNumber | String | The national number. | |
| PaymentSourcePaypalPhoneType | String | The phone type. | |
| PaymentSourcePaypalAddressLine1 | String | The first line of the address. For example, number or street. | |
| PaymentSourcePaypalAddressLine2 | String | The second line of the address. For example, suite or apartment number. | |
| PaymentSourcePaypalAddressAdminArea1 | String | The highest level sub-division in a country, which is usually a province, state, or ISO-3166-2 subdivision. | |
| PaymentSourcePaypalAddressPostalCode | String | The postal code, which is the zip code or equivalent. Typically required for countries with a postal code or an equivalent. | |
| PaymentSourcePaypalAddressCountryCode | String | The two-character ISO 3166-1 code that identifies the country or region. | |
| PaymentSourcePaypalAccountId | String | The account identifier for a PayPal account. | |
| PaymentSourceVenmoEmailAddress | String | The email address of the payer. | |
| PaymentSourceVenmoPayerId | String | The PayPal-assigned ID for the payer. | |
| PaymentSourceVenmoGivenName | String | When the party is a person, the party's given, or first, name. | |
| PaymentSourceVenmoNameSurname | String | When the party is a person, the party's surname or family name. | |
| PaymentSourceVenmoPhoneNumber | String | The national number. | |
| PaymentSourceVenmoPhoneType | String | The phone type. | |
| PaymentSourceVenmoAddressLine1 | String | The first line of the address. For example, number or street. | |
| PaymentSourceVenmoAddressLine2 | String | The second line of the address. For example, suite or apartment number. | |
| PaymentSourceVenmoAddressAdminArea1 | String | The highest level sub-division in a country, which is usually a province, state, or ISO-3166-2 subdivision. | |
| PaymentSourceVenmoAddressAdminArea2 | String | A city, town, or village. | |
| PaymentSourceVenmoAddressPostalCode | String | The postal code, which is the zip code or equivalent. Typically required for countries with a postal code or an equivalent. | |
| PaymentSourceVenmoAddressCountryCode | String | The two-character ISO 3166-1 code that identifies the country or region. | |
| PaymentSourceVenmoUserName | String | The Venmo username, as chosen by the user. | |
| PaymentSourceApplePayName | String | The card holder's name as it appears on the card. | |
| PaymentSourceApplePayLastDigits | String | The last digits of the payment card. | |
| PaymentSourceApplePayType | String | The payment card type. | |
| PaymentSourceApplePayBrand | String | The card brand or network. | |
| PaymentSourceApplePayAddressLine1 | String | The first line of the address. For example, number or street. | |
| PaymentSourceApplePayAddressLine2 | String | The second line of the address. For example, suite or apartment number. | |
| PaymentSourceApplePayAddressAdminArea1 | String | The highest level sub-division in a country, which is usually a province, state, or ISO-3166-2 subdivision. | |
| PaymentSourceApplePayAddressAdminArea2 | String | A city, town, or village. | |
| PaymentSourceApplePayAddressPostalCode | String | The postal code, which is the zip code or equivalent. Typically required for countries with a postal code or an equivalent. | |
| PaymentSourceApplePayAddressCountryCode | String | The two-character ISO 3166-1 code that identifies the country or region. |
Query Transaction details including the amount and item details.
The only filter supported by the PayPal API is PaymentId, which is required. The Cloud processes other filters client side within the Cloud.
By default, this view will only provide the data for payments that are completed, to get the transaction of the payments that are just created, the user will have to provide the PaymentId in WHERE clause.
The user can get the non completed PaymentId after excuting the CreatePayment SP.
For example, the following queries are processed server side and retrieve a list of Transactions for the specified Payment.
SELECT * FROM PaymentTransactions WHERE PaymentId = 'PAY-6SL93120VR4146201KZYWPVY'
SELECT * FROM PaymentTransactions WHERE PaymentId IN ('PAY-6SL93120VR4146201KZYWPVY', 'PAY-6SL93120VR0000201KZYWPVY')
| Name | Type | References | Description |
| PaymentId | String |
Payments.Id | The Id of the payment. |
| Amount | Decimal | The amount to collect. | |
| Currency | String | The currency of the amount to collect. | |
| PayeeEmail | String | The email address associated with the payee's PayPal account. | |
| PayeeMerchantId | String | The PayPal account ID for the payee. | |
| Description | String | The purchase description. | |
| NoteToPayee | String | The note to the recipient of the funds in this transaction. | |
| Custom | String | The free-form field for the client's use. | |
| InvoiceNumber | String | The invoice number to track this payment. | |
| SoftDescriptor | String | The soft descriptor to use to charge this funding source. If greater than the maximum allowed length, the API truncates the string. | |
| NotifyUrl | String | The URL to send payment notifications. | |
| AllowedPaymentMethod | String | The payment method for this transaction. This field does not apply to the credit card payment method. | |
| RecipientName | String | The name of the recipient. | |
| ShippingPhoneNumber | String | The shipping phone number, in its canonical international format as defined by the E.164 numbering plan. | |
| ShippingAddressLine1 | String | The first line of the address. For example, number, street, and so on. | |
| ShippingAddressLine2 | String | The second line of the address. For example, suite or apartment number. | |
| ShippingAddressCity | String | The city name. | |
| ShippingAddressCountryCode | String | The two-character ISO 3166-1 code that identifies the country or region. | |
| ShippingAddressPostalCode | String | The postal code, which is the zip code or equivalent. | |
| ShippingAddressState | String | The code for a US state or the equivalent for other countries. | |
| ShippingAddressPhone | String | The phone number, in E.123 format. | |
| ShippingAddressNormalizationStatus | String | The address normalization status. Returned only for payers from Brazil. | |
| ShippingAddressType | String | The type of address. For example, HOME_OR_WORK, GIFT, and so on. | |
| ShippingMethod | String | The shipping method used for this payment, such as USPS Parcel. |
Retrieve details about Payouts.
The only filter supported by the PayPal API is PayoutBatchId, which is required. The Cloud processes other filters client side within the Cloud.
For example, the following query is processed server side and retrieves details for a specific Payout.
SELECT * FROM PayoutDetails WHERE PayoutBatchId = 'HSY55UPD25KF2'
| Name | Type | References | Description |
| PayoutBatchId [KEY] | String | The ID of the payout for which to show details. | |
| BatchStatus | String | The PayPal-generated payout status. If the payout passes preliminary checks, the status is PENDING. | |
| TimeCreated | Datetime | The date and time when processing for the payout began | |
| TimeCompleted | Datetime | The date and time when processing for the payout completed. | |
| SenderBatchId | String | The sender-specified ID number. Tracks the payout in an accounting system. | |
| SenderEmailSubject | String | The subject line for the email that PayPal sends when payment for a payout item completes. The subject line is the same for all recipients. | |
| Amount | Decimal | The total amount,requested for the payouts. | |
| Currency | String | The currency of the total amount | |
| FeeAmount | Decimal | The amount of the total estimate for the applicable payouts fees. Initially, the fee is 0. The fee is populated after the payout moves to the PROCESSING state. | |
| FeeCurrency | String | The currency for the applicable payouts fees. | |
| TimeClosed | Datetime | The date and time when the payout was closed, in Internet date and time format. | |
| SenderEmailMessage | String | The email message that PayPal sends when the payout item completes. The message is the same for all recipients. | |
| SenderEmailRecipientType | String | The ID type that identifies the payment receiver.
使用できる値は次のとおりです。EMAIL, PHONE, PAYPAL_ID | |
| FundingSource | String | The ID to differentiate a PayPal balance-funded transaction from a PayPal treasury-funded transaction. |
Retrieve payout items from a Payout.
The filters supported by the PayPal API are PayoutBatchId and PayoutItemId. Atleast one filter is required to access the view. The Cloud processes other filters client side within the Cloud.
For example, the following queries are processed server side.
SELECT * FROM PayoutItems WHERE PayoutBatchId = 'HSY55UPD25KF2' SELECT * FROM PayoutItems WHERE PayoutItemId ='8AELMXH8UB2P8'
| Name | Type | References | Description |
| PayoutBatchId [KEY] | String | The ID of the payout for which to show payout items details. | |
| PayoutItemId [KEY] | String | The ID for the payout item. | |
| TransactionId | String | The PayPal-generated ID for the transaction. | |
| TransactionStatus | String | The transaction status. | |
| FeeAmount | Decimal | The amount for the applicable payout fee. Initially, the fee is 0. The fee is populated after the item moves to the PENDING state. | |
| FeeCurrency | String | The currency for the applicable payout fee. | |
| RecipientType | String | The recipient type.Value is: EMAIL, PHONE, PAYPAL_ID. | |
| AmountValue | Decimal | The amount of payout item. | |
| AmountCurrency | String | The currency of payout item. | |
| Note | String | A sender-specified note for notifications. | |
| Receiver | String | The receiver of the payment. Corresponds to the recipient_type value in the request. | |
| SenderItemId | String | A sender-specified ID number. Tracks the payout in an accounting system. | |
| TimeProcessed | Datetime | The date and time when this item was last processed. | |
| ErrorsMessage | String | The message that describes the error, if any. | |
| ErrorsName | String | The human-readable, unique name of the error, if any. | |
| ErrorsDebugId | String | The PayPal internal ID. Used for correlation purposes. | |
| ErrorsInformationLink | String | The information link, or URI, that shows detailed information about this error for the developer. | |
| ActivityId | String | The unique PayPal-generated common ID that links the sender- and receiver-side transactions. Used for tracking. | |
| SenderBatchId | String | A sender-specified ID. Tracks the payout in an accounting system. | |
| RecipientNamePrefix | String | The prefix, or title, to the party's name. | |
| RecipientGivenName | String | When the party is a person, the party's given, or first, name. | |
| RecipientSurname | String | When the party is a person, the party's surname or family name. Also known as the last name. | |
| RecipientMiddleName | String | When the party is a person, the party's middle name. | |
| RecipientFullName | String | When the party is a person, the party's full name. | |
| RecipientWallet | String | The recipient wallet.
使用できる値は次のとおりです。PAYPAL, VENMO | |
| Purpose | String | The purpose of the transaction.
使用できる値は次のとおりです。AWARDS, PRIZES, DONATIONS, GOODS, SERVICES, REBATES, CASHBACK, DISCOUNTS, NON_GOODS_OR_SERVICES |
List the Billing Plans.
This view returns a list of subscription plans for the authenticated user.
The following filters are supported by the PayPal API:
SELECT * FROM Plans WHERE Id = '1234' SELECT * FROM Plans WHERE ProductId = '1234'
The Cloud processes other filters client side within the Cloud.
| Name | Type | References | Description |
| Id [KEY] | String | The unique PayPal-generated ID for the plan. | |
| CreateTime | Datetime | The date and time when the plan was created. | |
| Description | String | The detailed description of the plan. | |
| BillingCyclesVersion | Integer | The active pricing scheme for this billing cycle. | |
| BillingCyclesPricingModel | String | The active pricing scheme for this billing cycle. | |
| BillingCyclesFrequency | String | The frequency details for this billing cycle. | |
| BillingCyclesTenureType | String | The tenure type of the billing cycle.
使用できる値は次のとおりです。REGULAR, TRIAL | |
| BillingCyclesSequence | Integer | The order in which this cycle is to run among other billing cycles. | |
| BillingCyclesTotalCycles | Integer | The number of times this billing cycle gets executed. | |
| Links | String | Contains the link to the plan object. | |
| Name | String | The plan name. | |
| ProductId | String | The ID for the product. | |
| QuantitySupported | Boolean | Indicates whether you can subscribe to this plan by providing a quantity for the goods or service. | |
| Status | String | The plan status.
使用できる値は次のとおりです。CREATED, INACTIVE, ACTIVE | |
| TaxesInclusive | Boolean | Indicates whether the tax was already included in the billing amount. | |
| TaxesPercentage | String | The tax percentage on the billing amount. | |
| UpdateTime | Datetime | The date and time when the plan was last updated. |
Retrieve the list of product details.
This view returns a list of product details for the authenticated user.
The only filter supported by the PayPal API is ProductId. Server-side processing is only supported for the '=' operator.
The Cloud processes other filters client side within the Cloud.
For example, the following queries are processed server side.
SELECT * FROM ProductDetails SELECT * FROM ProductDetails WHERE ProductId = 'PP-D-12345'
| Name | Type | References | Description |
| ProductId [KEY] | String | The ID of the product. | |
| CreateTime | Datetime | The date and time when the product was created, in Internet date and time format. | |
| UpdateTime | Datetime | The date and time when the product was updated, in Internet date and time format. | |
| Description | String | The product description. | |
| Name | String | The product name. | |
| Type | String | The product type. Indicates whether the product is physical or digital goods, or a service.
使用できる値は次のとおりです。PHYSICAL, DIGITAL, SERVICE | |
| Category | String | The product category. | |
| ImageURL | String | The image URL for the product. | |
| HomeURL | String | The home URL for the product. |
Retrieves the list of products, which are goods and services.
This view returns a list of products for the authenticated user.
The only filter supported by the PayPal API is Id. Server-side processing is only supported for the '=' operator.
The Cloud processes other filters client side within the Cloud.
For example, the following queries are processed server side.
SELECT * FROM Products SELECT * FROM Products WHERE Id = 'PP-D-12345'
| Name | Type | References | Description |
| Id [KEY] | String | The ID of the product. | |
| CreateTime | Datetime | The date and time when the product was created, in Internet date and time format. | |
| Description | String | The product description. | |
| Name | String | The product name. |
Query details about a specific Refund.
The only filter supported by the PayPal API is Id, which is required. The Cloud processes other filters client side within the Cloud.
For example, the following queries are processed server side and retrieve details for a specific Refund.
SELECT * FROM RefundDetails WHERE Id = '4W92068757818534U'
SELECT * FROM RefundDetails WHERE Id IN ('4W92068757818534U', '4W91234757818534U')
| Name | Type | References | Description |
| Id [KEY] | String | The PayPal-generated ID for the captured payment. | |
| Status | String | The status of the captured payment.
使用できる値は次のとおりです。CANCELLED, FAILED, PENDING, COMPLETED | |
| StatusDetails | String | The details of the captured payment status. | |
| AmountValue | Decimal | The amount for this captured payment. | |
| AmountCurrency | String | The currency of the amount for this captured payment. | |
| InvoiceId | String | The API caller-provided external invoice number for this order. Appears in both the payer's transaction history and the emails that the payer receives. | |
| NoteToPayer | String | The reason for the refund. Appears in both the payer's transaction history and the emails that the payer receives. | |
| SellerGrossAmount | Decimal | The amount for this captured payment. | |
| SellerPaypalFee | Decimal | The applicable fee for this captured payment. | |
| SellerNetAmount | Decimal | The net amount that the payee receives for this captured payment in their PayPal account. | |
| TotalRefundedMoney | Decimal | The total amount refunded from the original capture to date. | |
| CreateTime | Datetime | The time of authorization. | |
| UpdateTime | Datetime | The time that the resource was last updated. | |
| CustomId | String | The API caller-provided external ID. Used to reconcile API caller-initiated transactions with PayPal transactions. | |
| AcquirerReferenceNumber | String | Reference ID issued for the card transaction. | |
| PayerEmailAddress | String | The email address of merchant. | |
| PayerMerchantId | String | The encrypted PayPal account ID of the merchant. |
Query details about a Sale Transaction.
The only filter supported by the PayPal API is Id, which is required. The Cloud processes other filters client side within the Cloud.
For example, the following queries are processed server side and retrieve details for a specific Sale.
SELECT * FROM SaleDetails WHERE Id = '6M2430095X488331A'
SELECT * FROM SaleDetails WHERE Id IN ('6M2430095X488331A', '6M2410805X488331A')
| Name | Type | References | Description |
| Id [KEY] | String | The Id of the sale transaction. | |
| State | String | The state of the sale. One of the following: pending, completed, refunded, or partially_refunded. | |
| Currency | String | The 3-letter currency code. | |
| Subtotal | Decimal | The amount of the subtotal of the items. | |
| TaxAmount | Decimal | The amount charged for tax. | |
| ShippingAmount | Decimal | The amount charged for shipping. | |
| ShippingDiscount | Decimal | The amount being discounted for the shipping fee. Only supported when the payment method is set to paypal. | |
| HandlingFeeAmount | Decimal | The amount being charged for the handling fee. Only supported when the payment method is set to paypal. | |
| InsuranceAmount | Decimal | The amount being charged for the insurance fee. Only supported when the payment method is set to paypal. | |
| TotalAmount | Decimal | The total amount charged from the payer to the payee. In case of a refund, this is the refunded amount to the original payer from the payee. | |
| ClearingTime | Datetime | The expected clearing time for e-check transactions. Only supported when the payment method is set to paypal. | |
| CreateTime | Datetime | The time of sale. | |
| Description | String | The description of the sale. | |
| ExchangeRate | String | The exchange rate applied for this transaction. Returned only in cross-currency use cases where a merchant bills a buyer in a non-primary currency for that buyer. | |
| FmfDescription | String | The description of the filter. | |
| FmfFilterId | String | The name of the fraud management filter. One of the following: MAXIMUM_TRANSACTION_AMOUNT (basic filter), UNCONFIRMED_ADDRESS (basic filter), COUNTRY_MONITOR (basic filter), AVS_NO_MATCH (address verification service no match -- advanced filter), AVS_PARTIAL_MATCH (address verification service partial match -- advanced filter), AVS_UNAVAILABLE_OR_UNSUPPORTED (address verification service unavailable or not supported -- advanced filter), CARD_SECURITY_CODE_MISMATCH (advanced filter), BILLING_OR_SHIPPING_ADDRESS_MISMATCH (advanced filter), RISKY_ZIP_CODE (high risk lists filter), SUSPECTED_FREIGHT_FORWARDER_CHECK (high risk lists filter), RISKY_EMAIL_ADDRESS_DOMAIN_CHECK (high risk lists filter), RISKY_BANK_IDENTIFICATION_NUMBER_CHECK (high risk lists filter), RISKY_IP_ADDRESS_RANGE (high risk lists filter), LARGE_ORDER_NUMBER (transaction data filter), TOTAL_PURCHASE_PRICE_MINIMUM (transaction data filter), IP_ADDRESS_VELOCITY (transaction data filter), and PAYPAL_FRAUD_MODEL (transaction data filter). | |
| FmfFilterType | String | The type of the fraud management filter. One of the following: ACCEPT (an ACCEPT filter is triggered only for the TOTAL_PURCHASE_PRICE_MINIMUM filter setting and is returned only in direct credit card payments where payment is accepted), PENDING (triggers a PENDING filter action where you need to explicitly accept or deny the transaction), DENY (triggers a DENY action where payment is denied automatically), and REPORT (triggers the Flag testing mode where payment is accepted). | |
| FmfName | String | The name of the filter. | |
| ParentPayment | String | The Id of the payment resource on which this transaction is based. | |
| PaymentMode | String | The payment mode of the transaction. Only supported when the payment method is set to paypal. One of the following: INSTANT_TRANSFER, MANUAL_BANK_TRANSFER, DELAYED_TRANSFER, or ECHECK. | |
| PendingReason | String | The reason the transaction is in a pending state. Only supported when the payment method is set to paypal. One of the following: PAYER-SHIPPING-UNCONFIRMED, MULTI-CURRENCY, RISK-REVIEW, REGULATORY-REVIEW, VERIFICATION-REQUIRED , ORDER, or OTHER. | |
| ProtectionEligibility | String | The level of seller protection in force for the transaction. Only supported when the payment method is set to paypal. One of the following: ELIGIBLE, PARTIALLY_ELIGIBLE, INELIGIBLE. | |
| ProtectionEligibilityType | String | The kind of seller protection in force for the transaction. This property is returned only when the ProtectionEligibility property is set to ELIGIBLE or PARTIALLY_ELIGIBLE. Only supported when the payment method is set to paypal. One of the following: ITEM_NOT_RECEIVED_ELIGIBLE or UNAUTHORIZED_PAYMENT_ELIGIBLE. One or both of the allowed values can be returned. | |
| ReasonCode | String | The reason code for the transaction state being Pending or Reversed. Only supported when the payment method is set to paypal. One of the following: CHARGEBACK, GUARANTEE, BUYER_COMPLAINT, REFUND, UNCONFIRMED_SHIPPING_ADDRESS, ECHECK, INTERNATIONAL_WITHDRAWAL, RECEIVING_PREFERENCE_MANDATES_MANUAL_ACTION, PAYMENT_REVIEW, REGULATORY_REVIEW, UNILATERAL, or VERIFICATION_REQUIRED. | |
| ReceiptId | String | The 16-digit number payment identification number returned for guest users to identify the payment. | |
| ReceivableAmount | Decimal | The receivable amount. | |
| TransactionFee | Decimal | The transaction fee. | |
| UpdateTime | Datetime | The time that the sale was last updated. |
Get billing and subscription details.
The only filter supported by the PayPal API is Id, which is required. The Cloud processes other filters client side within the Cloud.
SELECT * FROM Subscriptions WHERE Id = '1234'
NOTE: We can get get the SubscriptionId by creating the subscription using CreateSubscription Stored procedure.
The Cloud processes other filters client side within the Cloud.
| Name | Type | References | Description |
| Id [KEY] | String | The PayPal-generated ID for the subscription. | |
| BillingInfocycle_executions | String | The trial and regular billing executions. | |
| BillingInfo_FailedPaymentsCount | Integer | The Failed payments count. | |
| BillingInfo_LastPaymentAmountCurrencyCode | String | The last payment amount currency code. | |
| BillingInfo_LastPaymentAmountValue | String | The last payment amount. | |
| BillingInfo_LastPaymentTime | Datetime | The date and time when the last payment was made. | |
| BillingInfo_NextBillingTime | Datetime | The next date and time for billing this subscription. | |
| BillingInfo_OutstandingBalanceCurrencyCode | String | The total pending bill amount, to be paid by the subscriber. | |
| BillingInfo_outstandingBalanceValue | String | The total pending bill amount, to be paid by the subscriber. | |
| CreateTime | Datetime | The date and time of subscription created. | |
| Links | String | Links for the subscription objects. | |
| PlanId | String | The ID of the plan. | |
| Quantity | Integer | The quantity of the product in the subscription. | |
| ShippingAmountCurrencyCode | String | The currency for a financial transaction, such as a balance or payment due. | |
| ShippingAmountValue | String | The amount for a financial transaction, such as a balance or payment due. | |
| StartTime | Datetime | The start date and time of the subscription. | |
| Status | String | The status of the subscription.
使用できる値は次のとおりです。APPROVAL_PENDING, APPROVED, ACTIVE, SUSPENDED, CANCELLED, EXPIRED | |
| StatusUpdateTime | Datetime | The date and time of status updated. | |
| SubscriberEmailAddress | String | The email address of the payer. | |
| SubscriberName_GivenName | String | The given name of the payer. | |
| SubscriberName_Surname | String | The surname of the payer. | |
| SubscriberPayerId | String | The PayPal-assigned ID for the payer. | |
| SubscriberShippingAddress_AddressAddressLine1 | String | Primary address of the payer. | |
| SubscriberShippingAddress_AddressAddressLine2 | String | Secondary address of the payer. | |
| SubscriberShippingAddress_AddressAdminArea1 | String | Primary address of the payer. | |
| SubscriberShippingAddress_AddressAdminArea2 | String | Secondary address of the payer. | |
| SubscriberShippingAddress_AddressCountryCode | String | Country code of the payer address. | |
| SubscriberShippingAddress_AddressPostalCode | String | Postal code of the payer address. | |
| SubscriberShippingAddress_NameFullName | String | Full name of the Payer. | |
| UpdateTime | Datetime | The date and time of subscription updated. | |
| SubscriberShippingAddress_Type | String | The method by which the payer wants to get their items from the payee, for example, shipping, in-person pickup. | |
| SubscriberPhoneType | String | The phone type. | |
| SubscriberPhoneNumber | String | The phone number, in its canonical international E.164 numbering plan format. | |
| StatusChangeNote | String | The reason or notes for the status of the subscription. | |
| CustomId | String | The custom id for the subscription. Can be invoice id. | |
| PlanOverridden | Boolean | Indicates whether the subscription has overridden any plan attributes. | |
| BillingInfo_LastPaymentStatus | String | The status of the captured payment. | |
| BillingInfo_FinalPaymentTime | Datetime | The date and time when the final billing cycle occurs, in Internet date and time format. |
Lists transactions for a subscription.
This view returns a list of transactions with details for a specific subscription.
The following filters are supported by the PayPal API:
SELECT * FROM SubscriptionTransactions WHERE SubscriptionId = '1234' SELECT * FROM SubscriptionTransactions WHERE SubscriptionId = '1234' AND StartTime = '2018-01-21T07:50:20.940Z' AND EndTime = '2018-08-21T07:50:20.940Z'
NOTE: 1. SubscriptionId, StartTime and EndTime are the required parameters for this view and if StartTime and EndTime are not specified in the query the default values will be assigned from the code. 2. We can get get the SubscriptionId by creating the subscription using CreateSubscription Stored procedure.
The Cloud processes other filters client side within the Cloud.
| Name | Type | References | Description |
| Id [KEY] | String | The ID of the transaction. | |
| SubscriptionId | String | The ID of the subscription. | |
| AmountWithBreakdown_FeeAmountCurrencyCode | String | The fee details for the transaction. | |
| AmountWithBreakdown_FeeAmountValue | String | The fee details for the transaction. | |
| AmountWithBreakdown_GrossAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| AmountWithBreakdown_GrossAmountValue | String | The value of the currency. | |
| AmountWithBreakdown_NetAmountCurrencyCode | String | The currency code of the net amount that the payee receives for this transaction in their PayPal account. | |
| AmountWithBreakdown_NetAmountValue | String | The net amount that the payee receives for this transaction in their PayPal account. | |
| PayerEmail | String | The email ID of the customer. | |
| PayerNameGivenName | String | When the party is a person, the party's given, or first, name. | |
| PayerNameSurname | String | When the party is a person, the party's surname or family name. Also known as the last name. | |
| Status | String | The initial state of the plan.
使用できる値は次のとおりです。COMPLETED, DECLINED, PARTIALLY_REFUNDED, PENDING, REFUNDED | |
| Time | Datetime | The date and time when the transaction was processed. | |
| AmountWithBreakdown_TotalItemAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| AmountWithBreakdown_TotalItemAmountValue | Decimal | The item total for the transaction. | |
| AmountWithBreakdown_ShippingAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| AmountWithBreakdown_ShippingAmountValue | Decimal | The shipping amount for the transaction. | |
| AmountWithBreakdown_TaxAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| AmountWithBreakdown_TaxAmountValue | Decimal | The tax amount for the transaction. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| StartTime | Datetime | The start time of the range of transactions to list. | |
| EndTime | Datetime | The end time of the range of transactions to list. |
Lists merchant-created templates with associated details.
The only filter supported by the PayPal API is Id. Server-side processing is only supported for the '=' operator.
Select * from Templates where Id = 'TEMP-3RK55758SK521635N'
The Cloud processes other filters client side within the Cloud.
| Name | Type | References | Description |
| Id [KEY] | String | The ID of the template. | |
| Name | String | The template name. | |
| DefaultTemplate | Boolean | Indicates whether this template is the default template. | |
| StandardTemplate | Boolean | Indicates whether this template is a invoicer-created custom template. The system generates non-custom templates. | |
| Links | String | An array of request-related HATEOAS links. | |
| TemplateInfoDetailReference | String | The reference data. Includes a Purchase Order (PO) number. | |
| TemplateInfoDetailNote | String | A note to the invoice recipient. Also appears on the invoice notification email. | |
| TemplateInfoDetailTermsAndConditions | String | The general terms of the invoice. Can include return or cancellation policy and other terms and conditions. | |
| TemplateInfoDetailMemo | String | A private bookkeeping memo for the user. | |
| TemplateInfoDetailCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TemplateInfoDetailPaymentTermType | String | The payment term. Payment can be due upon receipt, a specified date, or in a set number of days. | |
| TemplateInfoMetadataCreatedBy | String | The email address of the account that created the resource. | |
| TemplateInfoMetadataLastUpdatedBy | String | The email address of the account that last edited the resource. | |
| TemplateInfoMetadataCreateTime | Datetime | The date and time, in Internet date and time format. | |
| TemplateInfoMetadataLastUpdateTime | Datetime | The date and time, in Internet date and time format. | |
| TemplateInfoInvoicerBusinessName | String | The business name of the party. | |
| TemplateInfoInvoicerPrefixName | String | The prefix, or title, to the party's name. | |
| TemplateInfoInvoicerFirstName | String | When the party is a person, the party's given, or first, name. | |
| TemplateInfoInvoicerMiddleName | String | When the party is a person, the party's middle name. Also used to store multiple middle names including the patronymic, or father's name. | |
| TemplateInfoInvoicerLastName | String | When the party is a person, the party's surname or family name. Also known as the last name. Required when the party is a person. | |
| TemplateInfoInvoicerSuffixName | String | The suffix for the party's name. | |
| TemplateInfoInvoicerFullName | String | When the party is a person, the party's full name. | |
| TemplateInfoInvoicerAddressLine1 | String | The first line of the address. For example, number or street. | |
| TemplateInfoInvoicerAddressLine2 | String | The second line of the address. For example, suite or apartment number. | |
| TemplateInfoInvoicerAddressLine3 | String | The third line of the address, if needed. | |
| TemplateInfoInvoicerAddressAdminArea1 | String | The highest level sub-division in a country, which is usually a province, state, or ISO-3166-2 subdivision. | |
| TemplateInfoInvoicerAddressAdminArea2 | String | A city, town, or village. | |
| TemplateInfoInvoicerAddressAdminArea3 | String | A sub-locality, suburb, neighborhood, or district. | |
| TemplateInfoInvoicerAddressAdminArea4 | String | The neighborhood, ward, or district. | |
| TemplateInfoInvoicerAddressPostalCode | String | The postal code, which is the zip code or equivalent. Typically required for countries with a postal code or an equivalent. | |
| TemplateInfoInvoicerAddressCountryCode | String | The two-character ISO 3166-1 code that identifies the country or region. | |
| TemplateInfoInvoicerAddressStreetNumber | String | The street number. | |
| TemplateInfoInvoicerAddressStreetName | String | The street name. Just Drury in Drury Lane. | |
| TemplateInfoInvoicerAddressStreetType | String | The street type. For example, avenue, boulevard, road, or expressway. | |
| TemplateInfoInvoicerAddressDeliveryService | String | The delivery service. Post office box, bag number, or post office name. | |
| TemplateInfoInvoicerAddressBuildingName | String | A named locations that represents the premise. Usually a building name or number or collection of buildings with a common name or number. | |
| TemplateInfoInvoicerAddressSubBuilding | String | The first-order entity below a named building or location that represents the sub-premise. Usually a single building within a collection of buildings with a common name. | |
| TemplateInfoInvoicerPhones | String | An array of invoicer's phone numbers. The invoicer can choose to hide the phone number on the invoice. | |
| TemplateInfoInvoicerWebsite | String | The invoicer's website. | |
| TemplateInfoInvoicerTaxId | String | The invoicer's tax ID. | |
| TemplateInfoInvoicerAdditionalNotes | String | Any additional information. Includes business hours. | |
| TemplateInfoInvoicerLogoUrl | String | The full URL to an external logo image. The logo image must not be larger than 250 pixels wide by 90 pixels high. | |
| TemplateInfoInvoicerEmail | String | The invoicer email address, which must be listed in the user's PayPal profile. | |
| TemplateInfoConfigurationTaxCalculatedAfterDiscount | Boolean | Indicates whether the tax is calculated before or after a discount. | |
| TemplateInfoConfigurationTaxInclusive | Boolean | Indicates whether the unit price includes tax. | |
| TemplateInfoConfigurationAllowTip | Boolean | Indicates whether the invoice enables the customer to enter a tip amount during payment. | |
| TemplateInfoConfigurationAllowPartialPayment | Boolean | Indicates whether the invoice allows a partial payment. If false, the invoice must be paid in full. If true, the invoice allows partial payments. | |
| TemplateInfoConfigurationMinimumAmountDue | Decimal | The minimum amount allowed for a partial payment. Valid only when allow_partial_payment is true. | |
| TemplateInfoConfigurationMinimumAmountDueCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TemplateInfoAmountValue | Decimal | The invoice amount summary of item total, discount, tax total and shipping. | |
| TemplateInfoAmountCurrencyCode | String | The invoice amount summary of item total, discount, tax total and shipping. | |
| TemplateInfoAmountBreakdownItemTotalValue | Decimal | The amount for a financial transaction, such as a balance or payment due. | |
| TemplateInfoAmountBreakdownItemTotalCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TemplateInfoAmountBreakdownInvoiceDiscountPercentage | Decimal | The discount as a percentage value. Value is from 0 to 100. | |
| TemplateInfoAmountBreakdownInvoiceDiscountValue | Decimal | The invoice level discount amount. | |
| TemplateInfoAmountBreakdownInvoiceDiscountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TemplateInfoAmountBreakdownItemDiscountValue | Decimal | The amount for a financial transaction, such as a balance or payment due. | |
| TemplateInfoAmountBreakdownItemDiscountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TemplateInfoAmountBreakdownTaxTotalValue | Decimal | The amount for a financial transaction, such as a balance or payment due. | |
| TemplateInfoAmountBreakdownTaxTotalCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TemplateInfoAmountBreakdownShippingAmountValue | Decimal | The shipping fee for all items. Includes tax on shipping. | |
| TemplateInfoAmountBreakdownShippingAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TemplateInfoAmountBreakdownShippingTaxAmountValue | Decimal | The calculated tax amount. The tax amount is added to the item total. | |
| TemplateInfoAmountBreakdownShippingTaxAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TemplateInfoAmountBreakdownShippingTaxPercentage | Decimal | The tax rate. | |
| TemplateInfoAmountBreakdownShippingTaxName | String | The name of the tax applied on the invoice items. | |
| TemplateInfoAmountBreakdownShippingTaxNote | String | The tax note used to track the tax related data. | |
| TemplateInfoAmountBreakdownCustomLabel | String | The label to the custom amount of the invoice. | |
| TemplateInfoAmountBreakdownCustomAmountValue | Decimal | The custom amount to apply to an invoice. | |
| TemplateInfoAmountBreakdownCustomAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TemplateInfoDueAmountValue | Decimal | The amount for a financial transaction, such as a balance or payment due. | |
| TemplateInfoDueAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| ItemSettings | String | The template item headers display preference. | |
| SubtotalSettings | String | The template subtotal headers display preference. | |
| UnitOfMeasure | String | The unit of measure for the invoiced item.
使用できる値は次のとおりです。QUANTITY, HOURS, AMOUNT |
Lists transaction reports.
The filters supported by the PayPal API are StartDate, EndDate, TransactionId, PaymentInstrumentType, BalanceAffectingRecordsOnly, StoreId, TerminalId, TransactionAmount, TransactionCurrency, TransactionStatus, TransactionType. Server-side processing is only supported for the '=' operator.
SELECT * FROM TransactionReports WHERE StartDate = '2021-09-06 12:12:12' AND EndDate = '2021-09-11 12:12:12'
The Cloud processes other filters client side within the Cloud.
| Name | Type | References | Description |
| AccountNumber | String | The merchant account number. | |
| LastRefreshedDatetime | Datetime | The date and time when the data was last refreshed, in Internet date and time format. | |
| AuctionInfoAuctionBuyerId | String | The ID of the buyer who makes the purchase in the auction. | |
| AuctionInfoAuctionClosingDate | Datetime | The date and time when the auction closes. | |
| AuctionInfoAuctionItemSite | String | The auction site URL. | |
| AuctionInfoAuctionSite | String | The name of the auction site. | |
| PayerInfoAccountId | String | The PayPal customer account ID. | |
| PayerInfoAddressStatus | String | The address status of the payer. | |
| PayerInfoCountryCode | String | The two-character ISO 3166-1 code that identifies the country or region of the payer. | |
| PayerInfoEmailAddress | String | The email address of the payer. | |
| PayerInfoPayerNameAlternateFullName | String | The party's alternate name. | |
| PayerInfoPayerNameGivenName | String | When the party is a person, the party's given, or first, name. | |
| PayerInfoPayerNameSurname | String | When the party is a person, the party's surname or family name. Also known as the last name. Required when the party is a person. Also used to store multiple surnames including the matronymic, or mother's, surname. | |
| PayerInfoPayerStatus | String | The status of the payer. Value is Y or N. | |
| ShippingInfoAddressCity | String | The city name. | |
| ShippingInfoAddressCountryCode | String | The two-character ISO 3166-1 code that identifies the country or region. | |
| ShippingInfoAddressLine1 | String | The first line of the address. For example, number or street. | |
| ShippingInfoAddressLine2 | String | The second line of the address. For example, suite or apartment number. | |
| ShippingInfoAddressPostalCode | String | The postal code, which is the zip code or equivalent. | |
| ShippingInfoName | String | The recipient's name. | |
| StoreInfoStoreId | String | The ID of a store for a merchant in the system of record. | |
| StoreInfoTerminalId | String | The terminal ID for the checkout stand in a merchant store. | |
| TransactionInfoCustomField | String | The merchant-provided custom text. | |
| TransactionInfoFeeAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TransactionInfoFeeAmountValue | String | The value of fee. | |
| TransactionInfoInsuranceAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TransactionInfoInsuranceAmountValue | String | The value of insurance amount. | |
| TransactionInfoInvoiceId | String | The invoice ID that is sent by the merchant with the transaction. | |
| TransactionInfoPaypalAccountId | String | The ID of the PayPal account of the counterparty. | |
| TransactionInfoProtectionEligibility | String | Indicates whether the transaction is eligible for protection. | |
| TransactionInfoShippingAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TransactionInfoShippingAmountValue | String | The value of shipping amount. | |
| TransactionInfoShippingDiscountAmountCurrency_code | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TransactionInfoShippingDiscountAmountValue | String | The value of shipping discount amount. | |
| TransactionInfoTransactionAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TransactionInfoTransactionAmountValue | String | The value of transaction amount. | |
| TransactionInfoTransactionEventCode | String | A five-digit transaction event code that classifies the transaction type based on money movement and debit or credit. | |
| TransactionInfoTransactionId | String | The PayPal-generated transaction ID. | |
| TransactionInfoTransactionInitiationDate | Datetime | The date and time when work on a transaction began in the PayPal system, as expressed in the time zone of the account on this side of the payment. | |
| TransactionInfoTransactionNote | String | A special note that the payer passes to the payee. Might contain special customer requests, such as shipping instructions. | |
| TransactionInfoTransactionStatus | String | A code that indicates the transaction status.
使用できる値は次のとおりです。D, P, S, V | |
| TransactionInfoTransactionSubject | String | The subject of payment. The payer passes this value to the payee. The payer controls this data through the interface through which he or she sends the data. | |
| TransactionInfoTransactionUpdatedDate | Datetime | The date and time when the transaction was last changed, as expressed in the time zone of the account on this side of the payment. | |
| TransactionInfoAnnualPercentageRate | Decimal | The percentage, as a fixed-point, signed decimal number. | |
| PayerInfoAddressLine1 | String | The first line of the address. For example, number or street. | |
| PayerInfoAddressLine2 | String | The second line of the address. For example, suite or apartment number. | |
| PayerInfoAddressCity | String | The city name. | |
| PayerInfoAddressState | String | The code for a US state or the equivalent for other countries. | |
| PayerInfoAddressCountryCode | String | The two-character ISO 3166-1 code that identifies the country or region. | |
| PayerInfoAddressPostalCode | String | The postal code, which is the zip code or equivalent. | |
| ShippingInfoAddressState | String | The code for a US state or the equivalent for other countries. | |
| ShippingInfoMethod | String | The shipping method that is associated with this order. | |
| TransactionInfoPaypalReferenceId | String | The PayPal-generated base ID. PayPal exclusive. | |
| TransactionInfoPaypalReferenceIdType | String | The PayPal reference ID type.
使用できる値は次のとおりです。ODR, TXN, SUB, PAP | |
| TransactionInfoPaymentTrackingId | String | The payment tracking ID, which is a unique ID that partners specify to either get information about a payment or request a refund. | |
| TransactionInfoBankReferenceId | String | The bank reference ID. | |
| TransactionInfoCreditTerm | String | The credit term. | |
| TransactionInfoPaymentMethodType | String | The payment method that was used for a transaction. Value is PUI, installment, or mEFT. | |
| TransactionInfoInstrumentType | String | A high-level classification of the type of financial instrument that was used to fund a payment. The pattern is not provided because the value is defined by an external party. | |
| TransactionInfoInstrumentSubType | String | A finer-grained classification of the financial instrument that was used to fund a payment. | |
| TransactionInfoDiscountAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TransactionInfoDiscountAmountValue | Decimal | The amount for a financial transaction, such as a balance or payment due. | |
| TransactionInfoSalesTaxAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TransactionInfoSalesTaxAmountValue | Decimal | The amount for a financial transaction, such as a balance or payment due. | |
| TransactionInfoShippingTaxAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TransactionInfoShippingTaxAmountValue | Decimal | The amount for a financial transaction, such as a balance or payment due. | |
| TransactionInfoOtherAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TransactionInfoOtherAmountValue | Decimal | The amount for a financial transaction, such as a balance or payment due. | |
| TransactionInfoTipAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TransactionInfoTipAmountValue | Decimal | The amount for a financial transaction, such as a balance or payment due. | |
| TransactionInfoEndingBalanceCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TransactionInfoEndingBalanceValue | Decimal | The amount for a financial transaction, such as a balance or payment due. | |
| TransactionInfoAvailableBalanceCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TransactionInfoAvailableBalanceValue | Decimal | The amount for a financial transaction, such as a balance or payment due. | |
| TransactionInfoCreditTransactionalFeeCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TransactionInfoCreditTransactionalFeeValue | Decimal | The amount for a financial transaction, such as a balance or payment due. | |
| TransactionInfoCreditPromotionalFeeCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TransactionInfoCreditPromotionalFeeValue | Decimal | The amount for a financial transaction, such as a balance or payment due. | |
| PayerInfoPayerNameFullName | String | The party's full name. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| StartDate | Datetime | The start date and time, in Internet date and time format. | |
| EndDate | Datetime | The end date and time, in Internet date and time format. | |
| TransactionId | String | The PayPal-generated transaction ID. | |
| PaymentInstrumentType | String | Filters the transactions in the response by a payment instrument type. | |
| BalanceAffectingRecordsOnly | String | Indicates whether the response includes only balance-impacting transactions or all transactions.
使用できる値は次のとおりです。Y, N | |
| StoreId | String | Filters the transactions in the response by a store ID. | |
| TerminalId | String | Filters the transactions in the response by a terminal ID. | |
| TransactionAmount | String | Filters the transactions in the response by a gross transaction amount range. For example, to search for transactions from $5.00 to $10.05, specify [500 TO 1005]. | |
| TransactionCurrency | String | Filters the transactions in the response by a three-character ISO-4217 currency code for the PayPal transaction currency. | |
| TransactionStatus | String | Filters the transactions in the response by a PayPal transaction status code.
使用できる値は次のとおりです。D, P, S, V | |
| TransactionType | String | Filters the transactions in the response by a PayPal transaction event code. |
List Cart Info of Transaction Reports.
The filters supported by the PayPal API are StartDate, EndDate, TransactionId, PaymentInstrumentType, BalanceAffectingRecordsOnly, StoreId, TerminalId, TransactionAmount, TransactionCurrency, TransactionStatus, TransactionType. Server-side processing is only supported for the '=' operator.
SELECT * FROM TransactionReportsCartInfoItemDetails WHERE StartDate = '2021-09-06 12:12:12' AND EndDate = '2021-09-11 12:12:12'
The Cloud processes other filters client side within the Cloud.
| Name | Type | References | Description |
| AccountNumber | String | The merchant account number. | |
| LastRefreshedDatetime | Datetime | The date and time when the data was last refreshed, in Internet date and time format. | |
| InvoiceNumber | String | The invoice number. An alphanumeric string that identifies a billing for a merchant. | |
| ItemAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| ItemAmountValue | String | The value of item amount. | |
| ItemCode | String | An item code that identifies a merchant's goods or service. | |
| ItemDescription | String | The item description. | |
| ItemName | String | The item name. | |
| ItemQuantity | String | The number of purchased units of goods or a service. | |
| ItemUnitPriceCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| ItemUnitPriceValue | String | The value of item unit price. | |
| TaxAmounts | String | An array of tax amounts levied by a government on the purchase of goods or services. | |
| TotalItemAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| TotalItemAmountValue | String | The value of total item amount. | |
| DiscountAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| DiscountAmountValue | Decimal | The amount for a financial transaction, such as a balance or payment due. | |
| AdjustmentAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| AdjustmentAmountValue | Decimal | The amount for a financial transaction, such as a balance or payment due. | |
| GiftWrapAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| GiftWrapAmountValue | Decimal | The amount for a financial transaction, such as a balance or payment due. | |
| TaxPercentage | Decimal | The percentage, as a fixed-point, signed decimal number. | |
| BasicShippingAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| BasicShippingAmountValue | Decimal | The amount for a financial transaction, such as a balance or payment due. | |
| ExtraShippingAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| ExtraShippingAmountValue | Decimal | The amount for a financial transaction, such as a balance or payment due. | |
| HandlingAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| HandlingAmountValue | Decimal | The amount for a financial transaction, such as a balance or payment due. | |
| InsuranceAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| InsuranceAmountValue | Decimal | The amount for a financial transaction, such as a balance or payment due. | |
| ItemOptions | String | The item options. Describes option choices on the purchase of the item in some detail. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| StartDate | Datetime | The start date and time, in Internet date and time format. | |
| EndDate | Datetime | The end date and time, in Internet date and time format. | |
| TransactionId | String | The PayPal-generated transaction ID. | |
| PaymentInstrumentType | String | Filters the transactions in the response by a payment instrument type. | |
| BalanceAffectingRecordsOnly | String | Indicates whether the response includes only balance-impacting transactions or all transactions.
使用できる値は次のとおりです。Y, N | |
| StoreId | String | Filters the transactions in the response by a store ID. | |
| TerminalId | String | Filters the transactions in the response by a terminal ID. | |
| TransactionAmount | String | Filters the transactions in the response by a gross transaction amount range. For example, to search for transactions from $5.00 to $10.05, specify [500 TO 1005]. | |
| TransactionCurrency | String | Filters the transactions in the response by a three-character ISO-4217 currency code for the PayPal transaction currency. | |
| TransactionStatus | String | Filters the transactions in the response by a PayPal transaction status code.
使用できる値は次のとおりです。D, P, S, V | |
| TransactionType | String | Filters the transactions in the response by a PayPal transaction event code. |
List Incentive Details of Transaction Reports.
| Name | Type | References | Description |
| AccountNumber | String | The merchant account number. | |
| LastRefreshedDatetime | Datetime | The date and time when the data was last refreshed, in Internet date and time format. | |
| IncentiveAmountCurrencyCode | String | The three-character ISO-4217 currency code that identifies the currency. | |
| IncentiveAmountValue | String | The value of incentive amount. | |
| IncentiveCode | String | The code that identifies an incentive, such as a coupon. | |
| IncentiveProgramCode | String | The incentive program code that identifies a merchant loyalty or incentive program. | |
| IncentiveType | String | The type of incentive, such as a special offer or coupon. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| StartDate | Datetime | The start date and time, in Internet date and time format. | |
| EndDate | Datetime | The end date and time, in Internet date and time format. | |
| TransactionId | String | The PayPal-generated transaction ID. | |
| PaymentInstrumentType | String | Filters the transactions in the response by a payment instrument type. | |
| BalanceAffectingRecordsOnly | String | Indicates whether the response includes only balance-impacting transactions or all transactions.
使用できる値は次のとおりです。Y, N | |
| StoreId | String | Filters the transactions in the response by a store ID. | |
| TerminalId | String | Filters the transactions in the response by a terminal ID. | |
| TransactionAmount | String | Filters the transactions in the response by a gross transaction amount range. For example, to search for transactions from $5.00 to $10.05, specify [500 TO 1005]. | |
| TransactionCurrency | String | Filters the transactions in the response by a three-character ISO-4217 currency code for the PayPal transaction currency. | |
| TransactionStatus | String | Filters the transactions in the response by a PayPal transaction status code.
使用できる値は次のとおりです。D, P, S, V | |
| TransactionType | String | Filters the transactions in the response by a PayPal transaction event code. |
Shows OpenID Connect user profile information for standard claims.
The Cloud processes all filters client side within the Cloud.
SELECT * FROM UserInfo
| Name | Type | References | Description |
| UserId | String | The user ID of the user. | |
| Sub | String | The subject ID for the end user at the issuer. | |
| Name | String | The full name of the user. | |
| GivenName | String | The given, or first, name of the user. | |
| FamilyName | String | The surname or family name of the user. Also known as the last name. | |
| MiddleName | String | The middle name of the user. | |
| Picture | String | The URL of the profile picture of the user. | |
| String | The internationalized email address. | ||
| EmailVerified | Boolean | Indicates whether the user's email address is verified. | |
| Gender | String | The user's gender. | |
| Birthdate | Datetime | The user's birthday, in YYYY-MM-DD format. | |
| ZoneInfo | String | The time zone of the user. | |
| Locale | String | The locale of the user. | |
| PhoneNumber | String | The preferred telephone number of the user. | |
| StreetAddress | String | The full street address. Can include the house number and street name. | |
| Locality | String | The city or locality. | |
| Region | String | The state, province, prefecture, or region. | |
| PostalCode | String | The zip code or postal code. | |
| Country | String | The country. | |
| VerifiedAccount | Boolean | Indicates whether the account is verified. | |
| AccountType | String | The account type.
使用できる値は次のとおりです。PERSONAL, BUSINESS, PREMIER | |
| AgeRange | String | The account holder's age range. |
Lists users.
The Cloud processes all filters client side within the Cloud.
SELECT * FROM Users
| Name | Type | References | Description |
| Id [KEY] | String | The PayPal payer ID, which is a publicly-sharable of the PayPal account number intended for use with third parties. | |
| UserName | String | Unique identifier for the User, typically used by the user to directly authenticate to the service provider. | |
| GivenName | String | The given, or first, name of the user. | |
| FamilyName | String | The surname or family name of the user. Also known as the last name. | |
| MiddleName | String | The middle name of the user. | |
| ExternalId | String | A String that is an identifier for the resource as defined by the external or 3rd party client. | |
| Active | Boolean | The URL of the profile picture of the user. | |
| Emails | String | Email addresses for the user. | |
| PhoneNumbers | String | Phone numbers for the User. | |
| Addresses | String | Addresses for the User. | |
| Entitlements | String | A list of entitlements for the User that represent a thing the User has. | |
| PreferredLanguage | String | The language tag for the language in which to localize the error-related strings, such as messages, issues, and suggested actions. | |
| Timezone | String | The time zone, in IANA format. | |
| Schemas | String | An array of identified schemas. | |
| MetaResourceType | String | The name of the metadata resource type of the resource: User, Group, etc. | |
| MetaLocation | String | The complete metadata target URL. | |
| MetaCreated | Datetime | The created date and time of metadata, in Internet date and time format. | |
| MetaLastModified | Datetime | The last modified date and time of metadata, in Internet date and time format. |
Query the list of Webhooks.
The PayPal API does not support any filters on this table. However, projections are supported. All filters are processed client side within the Cloud.
| Name | Type | References | Description |
| Id [KEY] | String | The identifier of the webhook resource. | |
| Url | String | The webhook notification endpoint URL. |
ストアドプロシージャはファンクションライクなインターフェースで、PayPal の単純なSELECT 処理にとどまらずCloud の機能を拡張します。
ストアドプロシージャは、パラメータのリストを受け取り、目的の機能を実行し、プロシージャが成功したか失敗したかを示すとともにPayPal から関連するレスポンスデータを返します。
| Name | Description |
| CreateDraftInvoice | Creates a draft invoice. |
| CreateOrder | Creates an order. Merchants and partners can add Level 2 and 3 data to payments to reduce risk and payment processing costs. |
| CreatePayment | Creates a sale, an authorized payment to be captured later, or an order. |
| CreatePayouts | Makes payouts in Paypal. |
| CreateSubscription | Create a subscription for Paypal. |
| DeleteInvoice | Deletes a draft or scheduled invoice, by ID. |
| SendInvoice | Send an Invoice, by Id, to a customer. |
Creates a draft invoice.
The CreateDraftInvoice Stored Procedure requires following columns to execute:
You can include additional fields to enhance the details in the draft invoice.
EXEC CreateDraftInvoice @DetailCurrencyCode = 'USD', @InvoiceItems = '[\n" +
" {\n" +
" \"name\": \"Yoga Mat\",\n" +
" \"description\": \"Elastic mat to practice yoga.\",\n" +
" \"quantity\": \"1\",\n" +
" \"unit_amount\": {\n" +
" \"currency_code\": \"USD\",\n" +
" \"value\": \"50.00\"\n" +
" },\n" +
" \"tax\": {\n" +
" \"name\": \"Sales Tax\",\n" +
" \"percent\": \"7.25\"\n" +
" },\n" +
" \"discount\": {\n" +
" \"percent\": \"5\"\n" +
" },\n" +
" \"unit_of_measure\": \"QUANTITY\"\n" +
" }]'
| Name | Type | Required | Description |
| PrimaryRecipients | String | False | A JSON aggregate which contains an array of individual PrimaryRecipients which includes the billing and shipping information of each primary recipient. |
| AdditionalRecipients | String | False | An array of one or more CC: emails to which notifications are sent. If you omit this parameter, a notification is sent to all CC: email addresses that are part of the invoice. |
| InvoiceItems | String | True | A JSON aggregate which contains an array of individual invoice line item information. |
| DetailReference | String | False | The reference data. Includes a post office (PO) number. |
| DetailNote | String | False | A note to the invoice recipient. Also appears on the invoice notification email. |
| DetailTermsAndConditions | String | False | The general terms of the invoice. Can include return or cancellation policy and other terms and conditions. |
| DetailMemo | String | False | A private bookkeeping memo for the user. |
| DetailAttachments | String | False | An array of PayPal IDs for the files that are attached to an invoice. |
| DetailCurrencyCode | String | True | The three-character ISO-4217 currency code that identifies the currency. |
| DetailInvoiceNumber | String | False | The invoice number. Default is the number that is auto-incremented number from the last number. |
| DetailInvoiceDate | String | False | The stand-alone date, in Internet date and time format. |
| DetailPaymentTermType | String | False | The payment term type of the invoice. Payment can be due upon receipt, a specified date, or in a set number of days. |
| DetailPaymentTermDueDate | String | False | The stand-alone date, in Internet date and time format. |
| InvoicerBussinessName | String | False | The business name of the party. |
| InvoicerName | String | False | A JSON aggregate which contains the name of the party. |
| InvoicerAddress | String | False | A JSON aggregate which contains the portable international postal address. |
| InvoicerPhones | String | False | A JSON aggregate which contains an array of invoicer's phone numbers. |
| InvoicerWebsite | String | False | The invoicer's website. |
| InvoicerTaxId | String | False | The invoicer's tax ID. |
| InvoicerAdditionalNotes | String | False | Any additional information. Includes business hours. |
| InvoicerLogoUrl | String | False | The full URL to an external logo image. |
| InvoicerEmailAddress | String | False | The internationalized email address with more restrictive rules. |
| ConfigurationTaxCalculatedAfterDiscount | Boolean | False | Indicates whether the tax is calculated before or after a discount. If false, the tax is calculated before a discount. If true, the tax is calculated after a discount. |
| ConfigurationTaxInclusive | Boolean | False | Indicates whether the unit price includes tax. |
| ConfigurationAllowTip | Boolean | False | Indicates whether the invoice enables the customer to enter a tip amount during payment. If true, the invoice shows a tip amount field so that the customer can enter a tip amount. If false, the invoice does not show a tip amount field. |
| ConfigurationAllowPartialPayment | Boolean | False | Indicates whether the invoice allows a partial payment. If false, the invoice must be paid in full. If true, the invoice allows partial payments. |
| ConfigurationPartialPaymentMinAmountDueCurrencyCode | String | False | The three-character ISO-4217 currency code that identifies the currency. |
| ConfigurationPartialPaymentMinAmountDueValue | String | False | The amount value for a financial transaction, such as a balance or payment due. |
| ConfigurationTemplateId | String | False | The template ID. The template determines the layout of the invoice. |
| Amount | String | False | A JSON aggregate which contains the breakdown of the amount. Includes total item amount, total tax amount, custom amount, and shipping and discounts, if any. |
| Payments | String | False | A JSON aggregate which contains an array of payments registered against the invoice. |
| Refunds | String | False | A JSON aggregate which contains the invoicing refund details. Includes the refund type, date, amount, and method. |
| Name | Type | Description |
| Id | String | The ID of the invoice. |
| Status | String | The PayPal-generated invoice status. If the draft invoice is created, the status is DRAFT. |
Creates an order. Merchants and partners can add Level 2 and 3 data to payments to reduce risk and payment processing costs.
The CreateOrder Stored Procedure requires following columns to execute:
EXEC CreateOrder @Intent = 'CAPTURE', @PurchaseUnits = ' [ {\n
\"amount\": {\n
\"currency_code\": \"USD\",\n
\"value\": \"100.00\"\n
}\n
}]'
| Name | Type | Required | Description |
| Intent | String | True | The payment intent: capture, authorize. |
| PurchaseUnits | String | True | An array of purchase units. Each purchase unit establishes a contract between a payer and the payee. |
| PaymentSource | String | False | The payment source definition. |
| ApplicationContext | String | False | Customizes the payer experience during the approval process for the payment with PayPal. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation was successful. |
| Id | String | The PayPal-generated ID for the payment. |
Creates a sale, an authorized payment to be captured later, or an order.
The CreatePayment Stored Procedure requires following columns to execute:
EXEC CreatePayment @Intent = 'sale', @ReturnUrl = 'https://example.com/return', @CancelUrl = 'https://example.com/cancel', @PayerPaymentMethod = 'paypal', @Transactions = '[\n" +
" {\n" +
" \"amount\": {\n" +
" \"total\": \"30.11\",\n" +
" \"currency\": \"USD\",\n" +
" \"details\": {\n" +
" \"subtotal\": \"30.00\",\n" +
" \"tax\": \"0.07\",\n" +
" \"shipping\": \"0.03\",\n" +
" \"handling_fee\": \"1.00\",\n" +
" \"shipping_discount\": \"-1.00\",\n" +
" \"insurance\": \"0.01\"\n" +
" }\n" +
" },\n" +
" \"description\": \"The payment transaction description.\",\n" +
" \"custom\": \"EBAY_EMS_90048630024435\",\n" +
" \"invoice_number\": \"48787589673\",\n" +
" \"payment_options\": {\n" +
" \"allowed_payment_method\": \"INSTANT_FUNDING_SOURCE\"\n" +
" },\n" +
" \"soft_descriptor\": \"ECHI5786786\",\n" +
" \"item_list\": {\n" +
" \"items\": [\n" +
" {\n" +
" \"name\": \"hat\",\n" +
" \"description\": \"Brown hat.\",\n" +
" \"quantity\": \"5\",\n" +
" \"price\": \"3\",\n" +
" \"tax\": \"0.01\",\n" +
" \"sku\": \"1\",\n" +
" \"currency\": \"USD\"\n" +
" },\n" +
" {\n" +
" \"name\": \"handbag\",\n" +
" \"description\": \"Black handbag.\",\n" +
" \"quantity\": \"1\",\n" +
" \"price\": \"15\",\n" +
" \"tax\": \"0.02\",\n" +
" \"sku\": \"product34\",\n" +
" \"currency\": \"USD\"\n" +
" }\n" +
" ],\n" +
" \"shipping_address\": {\n" +
" \"recipient_name\": \"Brian Robinson\",\n" +
" \"line1\": \"4th Floor\",\n" +
" \"line2\": \"Unit #34\",\n" +
" \"city\": \"San Jose\",\n" +
" \"country_code\": \"US\",\n" +
" \"postal_code\": \"95131\",\n" +
" \"phone\": \"011862212345678\",\n" +
" \"state\": \"CA\"\n" +
" }\n" +
" }\n" +
" }\n" +
" ]'
| Name | Type | Required | Description |
| Intent | String | True | The payment intent: sale, authorize, order. |
| Transactions | String | True | A JSON aggregate which contains an array of payment-related transactions. |
| NoteToPayer | String | False | A free-form field that clients can use to send a note to the payer. |
| ReturnUrl | String | True | The URL where the payer is redirected after they approve the payment. Required for PayPal account payments. |
| CancelUrl | String | True | The URL where the payer is redirected after they cancel the payment. Required for PayPal account payments. |
| PayerPaymentMethod | String | True | The payment method. |
| PayerFundingInstruments | String | False | An array of a single funding instrument for the current payment. Valid and required only for the credit card payment method. |
| PayerInfo | String | False | The payer information. |
| ApplicationContext | String | False | Use the application context resource to customize payment flow experience for your buyers. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation was successful. |
| Id | String | The PayPal-generated ID for the payment. |
Makes payouts in Paypal.
You cannot create a payout without payout items. To create payout items, you must insert data either using a JSON aggregate or via temporary table called 'PayoutItem#TEMP'. Refer to the following examples for more information.
Example: Create payouts using JSON aggregate
EXECUTE CreatePayouts SenderBatchId = '1247', EmailSubject = 'You have a payout!', EmailMessage = 'You have received a payout! Thanks for using our service!', PayoutItem = '[{\n" +
"\"recipient_type\": \"EMAIL\",\n" +
"\"amount\": {\n" +
"\"value\": \"0.0\",\n" +
"\"currency\": \"USD\"\n" +
"},\n" +
"\"note\": \"Thanks for your patronage3333!\",\n" +
"\"receiver\": \"[email protected]\",\n" +
"\"sender_item_id\": \"201403140001\"\n" +
"}, {\n" +
"\"recipient_type\": \"PHONE\",\n" +
"\"amount\": {\n" +
"\"value\": \"0.0\",\n" +
"\"currency\": \"USD\"\n" +
"\t},\n" +
"\"note\": \"Thanks for your support!\",\n" +
"\"receiver\": \"91-734-234-1234\",\n" +
"\"sender_item_id\": \"201403140002\"\n" +
"}\n" +
"]'
Example: Create payouts using temp table
You first need to insert into PayoutItem#TEMP to create payout items.
INSERT INTO PayoutItem#TEMP (RecipientType, AmountValue, AmountCurrency, Note, SenderItemId, Receiver) VALUES ('EMAIL', '3.2', 'USD', 'Thanks for your patronage!', '201403140001', '[email protected]')
INSERT INTO PayoutItem#TEMP (RecipientType, AmountValue, AmountCurrency, Note, SenderItemId, Receiver) VALUES ('PHONE', '8.98', 'USD', 'Thanks for your support!', '201403140002', '91-734-234-1234')
After creating at least one payout item, you can execute the stored procedure.
EXECUTE CreatePayouts SenderBatchId = '123', EmailSubject = 'You have a payout!', EmailMessage = 'You have received a payout! Thanks for using our service!'
The following columns are required to create a payout item:
| Name | Type | Required | Description |
| SenderBatchId | String | True | A sender-specified ID number. Tracks the payout in an accounting system. |
| EmailSubject | String | False | The subject line for the email that PayPal sends when payment for a payout item completes. The subject line is the same for all recipients. |
| EmailMessage | String | False | The email message that PayPal sends when the payout item completes. The message is the same for all recipients. |
| PayoutItems | String | False | A JSON aggregate which contains an array of individual payout items |
| Name | Type | Description |
| PayoutBatchId | String | The PayPal-generated ID for the payout. |
| BatchStatus | String | The PayPal-generated payout status. If the payout passes preliminary checks, the status is PENDING. |
Create a subscription for Paypal.
The CreateSubscription Stored Procedure requires PlanId to create a Paypal Subscription.
EXECUTE CreateSubscription PlanId = 'P-5ML4271244454362WXNWU5NQ', StartTime = '2021-11-01T00:00:00Z', ShippingAmount = '{\n" +
" \"currency_code\": \"USD\",\n" +
" \"value\": \"10.00\"\n" +
" }', subscriber = '{\n" +
" \"name\": {\n" +
" \"given_name\": \"John\",\n" +
" \"surname\": \"Doe\"\n" +
" },\n" +
" \"email_address\": \"[email protected]\",\n" +
" \"shipping_address\": {\n" +
" \"name\": {\n" +
" \"full_name\": \"John Doe\"\n" +
" },\n" +
" \"address\": {\n" +
" \"address_line_1\": \"2211 N First Street\",\n" +
" \"address_line_2\": \"Building 17\",\n" +
" \"admin_area_2\": \"San Jose\",\n" +
" \"admin_area_1\": \"CA\",\n" +
" \"postal_code\": \"95131\",\n" +
" \"country_code\": \"US\"\n" +
" }\n" +
" }\n" +
" }'
The following columns are required to create a subscription:
| Name | Type | Required | Description |
| PlanId | String | True | The ID of the plan.. |
| StartTime | String | False | The date and time when the subscription started. |
| Quantity | String | False | The quantity of the product in the subscription.. |
| ShippingAmount | String | False | A JSON aggregate which contain the shipping charges. |
| Subscriber | String | False | A JSON aggregate which contain the subscriber request information . |
| ApplicationContext | String | False | A JSON aggregate which contain the application context, which customizes the payer experience during the subscription approval process with PayPal. |
| CustomId | String | False | The custom id for the subscription. Can be invoice id. |
| Plan | String | False | A JSON aggregate which contain An inline plan object to customise the subscription. |
| Name | Type | Description |
| SubscriptionId | String | The PayPal-generated ID for the subscription. |
| Status | String | The PayPal-generated subscription status. |
Deletes a draft or scheduled invoice, by ID.
The DeleteInvoice Stored Procedure requires InvoiceId to delete an invoice.
EXEC DeleteInvoice @InvoiceId = 'INV2-VSCV-SAZK-CMHP-AHGB'
| Name | Type | Required | Description |
| InvoiceId | String | True | The ID of the draft invoice to delete. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation was successful or not. |
Send an Invoice, by Id, to a customer.
| Name | Type | Required | Description |
| InvoiceId | String | True | The Id of the invoice to send. |
| Subject | String | False | The subject of the email that is sent as a notification to the recipient. |
| Note | String | False | A note to the payer. |
| SendToInvoicer | Boolean | False | Indicates whether to send a copy of the email to the merchant. |
| SendToRecipient | Boolean | False | Indicates whether to send a copy of the email to the recipient. |
| AdditionalRecipients | String | False | An array of one or more CC: emails to which notifications are sent. If you omit this parameter, a notification is sent to all CC: email addresses that are part of the invoice. |
| Name | Type | Description |
| Status | String | The PayPal-generated invoice status. If the draft invoice is sent, the status is SENT. |
ビューは、データを示すという点でテーブルに似ていますが、ビューは読み取り専用です。
クエリは、ビューに対して通常のテーブルと同様に実行することができます。
| Name | Description |
| Balance | View all the currencies of the account and their balances. |
| BalanceAffecting | Query Transactions that affect the account balance. |
| BalanceTransfer | Query Transactions involving Balance Transfers. |
| BillPay | Query Transactions involving BillPay Transactions. |
| CurrencyConversions | Query Transactions involving Currency Conversions. |
| Dividend | Query Transactions involving Dividends. |
| ECheck | Query Transactions involving eChecks. |
| Fee | Query Transactions involving Fees. |
| FundsAdded | Query Transactions generated when funds are added to the balance. |
| FundsWithdrawn | Query Transactions generated when funds are withdrawn from the balance. |
| MassPay | Query Mass Payments Transactions. |
| MoneyRequest | Query Money Request Transactions. |
| Received | Query payments-received Transactions. |
| Referral | Query Transactions involving Referrals. |
| Refund | Query Transactions involving Refunds. |
| Reversal | Query Transactions involving BillPay Reversals. |
| Sent | Query payments-sent Transactions. |
| Shipping | Query Transactions involving UPS Shipping Fees. |
| Subscription | Query Transactions involving Subscriptions. |
| TransactionDetails | Query details about a specific Transaction using the GetTransactionDetails API. |
| TransactionItems | Query details about a specific Transaction's items using the GetTransactionDetails API. |
| Transactions | Query Transaction history using the TransactionSearch API. |
View all the currencies of the account and their balances.
| Name | Type | References | Description |
| CurrencyID | String | The currency of the balance. | |
| Balance | Double | The balance of the associated currency. |
Query Transactions that affect the account balance.
| Name | Type | References | Description |
| Id [KEY] | String | The Id of the transaction record of the merchant. | |
| PayerDisplayName | String | The display name of the buyer. | |
| NetAmount | Decimal | The net amount of the transaction. | |
| FeeAmount | Decimal | The fee that PayPal charged for the transaction. | |
| GrossAmount | Decimal | The total gross amount charged, including any profile shipping cost and taxes. | |
| Status | String | The status of the transaction. | |
| Date | Datetime | Date and time that the transaction occurred. Character length and limitations: The date and time of the transaction. | |
| Timezone | String | The time zone of the transaction. The value is always GMT. | |
| Type | String | The type of the transaction. It is one of the following values: Currency Conversion (credit), Currency Conversion (debit), Payment, Recurring Payment, Temporary Hold, Transfer, Donation. | |
| Payer | String | The email address of the buyer. Character length and limitations: 127 single-byte alphanumeric characters. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| Amount | String | Search by the transaction amount. You must set the CurrencyCode input to one of the 3-character currency codes for any of the supported PayPal currencies. This value cannot exceed 10,000.00 USD or the per transaction limit for the currency. It includes no currency symbol. | |
| AuctionItemNumber | String | Search by the auction item number of the purchased goods. This field is not applicable to point-of-sale. | |
| CardNumber | String | Search by the credit card number, as set by you for the original transaction. The field is not applicable to point-of-sale. | |
| CurrencyCode | String | Search by the 3-character, ISO 4217 currency code. | |
| InvoiceId | String | Search by the invoice identification key, as set by you for the original transaction. Character length and limitations: 127 single-byte characters maximum with no wildcards allowed. | |
| ProfileId | String | Search by the alphanumeric string (generated by PayPal) that uniquely identifies a recurring profile. You can specify the Profile Id to obtain all payments associated with the identified profile. | |
| ReceiptId | String | Search by the PayPal Account Optional receipt Id. This field is not applicable to point-of-sale transactions. | |
| Receiver | String | Search by the email address of the receiver. If the merchant account has only one email address, this is the primary email. It can also be a nonprimary email address. | |
| PayerName | String | Search by the name of the buyer. |
Query Transactions involving Balance Transfers.
| Name | Type | References | Description |
| Id [KEY] | String | The Id of the transaction record of the merchant. | |
| PayerDisplayName | String | The display name of the buyer. | |
| NetAmount | Decimal | The net amount of the transaction. | |
| FeeAmount | Decimal | The fee that PayPal charged for the transaction. | |
| GrossAmount | Decimal | The total gross amount charged, including any profile shipping cost and taxes. | |
| Status | String | The status of the transaction. | |
| Date | Datetime | The date and time that the transaction occurred. | |
| Timezone | String | The time zone of the transaction. The value is always GMT. | |
| Type | String | The type of the transaction. It is one of the following values: Currency Conversion (credit), Currency Conversion (debit), Payment, Recurring Payment, Temporary Hold, Transfer, or Donation. | |
| Payer | String | The email address of the buyer. Character length and limitations: 127 single-byte alphanumeric characters. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| Amount | String | Search by the transaction amount. You must set the CurrencyCode field to one of the 3-character currency codes for any of the supported PayPal currencies. This value cannot exceed 10,000.00 USD or the per transaction limit for the currency. It includes no currency symbol. | |
| AuctionItemNumber | String | Search by the auction item number of the purchased goods. This field is not applicable to point-of-sale. | |
| CardNumber | String | Search by the credit card number, as set by you for the original transaction. The field is not applicable to point-of-sale. | |
| CurrencyCode | String | Search by the 3-character, ISO 4217 currency code. | |
| InvoiceId | String | Search by the invoice identification key, as set by you for the original transaction. Character length and limitations: 127 single-byte characters maximum with no wildcards allowed. | |
| ProfileId | String | Search by an alphanumeric string (generated by PayPal) that uniquely identifies a recurring profile. You can specify the Profile Id to obtain all payments associated with the identified profile. | |
| ReceiptId | String | Search by the PayPal Account Optional receipt Id. This field is not applicable to point-of-sale transactions. | |
| Receiver | String | Search by the email address of the receiver. If the merchant account has only one email address, this is the primary email. It can also be a nonprimary email address. | |
| PayerName | String | Search by the name of the buyer. |
Query Transactions involving BillPay Transactions.
| Name | Type | References | Description |
| Id [KEY] | String | The Id of the transaction record of the merchant. | |
| PayerDisplayName | String | The display name of the buyer. | |
| NetAmount | Decimal | The net amount of the transaction. | |
| FeeAmount | Decimal | The fee that PayPal charged for the transaction. | |
| GrossAmount | Decimal | The total gross amount charged, including any profile shipping cost and taxes. | |
| Status | String | The status of the transaction. | |
| Date | Datetime | The date and time that the transaction occurred. | |
| Timezone | String | The time zone of the transaction. The value is always GMT. | |
| Type | String | The type of the transaction. It is one of the following values: Currency Conversion (credit), Currency Conversion (debit), Payment, Recurring Payment, Temporary Hold, Transfer, Donation. | |
| Payer | String | The email address of the buyer. Character length and limitations: 127 single-byte alphanumeric characters. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| Amount | String | Search by the transaction amount. You must set the CurrencyCode input to one of the 3-character currency codes for any of the supported PayPal currencies. This value cannot exceed 10,000.00 USD or the per transaction limit for the currency. It includes no currency symbol. | |
| AuctionItemNumber | String | Search by the auction item number of the purchased goods. This field is not applicable to point-of-sale. | |
| CardNumber | String | Search by the credit card number, as set by you for the original transaction. The field is not applicable to point-of-sale. | |
| CurrencyCode | String | Search by the 3-character, ISO 4217 currency code. | |
| InvoiceId | String | Search by the invoice identification key, as set by you for the original transaction. Character length and limitations: 127 single-byte characters maximum with no wildcards allowed. | |
| ProfileId | String | Search by the alphanumeric string (generated by PayPal) that uniquely identifies a recurring profile. You can specify the Profile Id to obtain all payments associated with the identified profile. | |
| ReceiptId | String | Search by the PayPal Account Optional receipt Id. This field is not applicable to point-of-sale transactions. | |
| Receiver | String | Search by the email address of the receiver. If the merchant account has only one email address, this is the primary email. It can also be a non-primary email address. | |
| PayerName | String | Search by the name of the buyer. |
Query Transactions involving Currency Conversions.
| Name | Type | References | Description |
| Id [KEY] | String | The Id of the transaction record of the merchant. | |
| PayerDisplayName | String | The display name of the buyer. | |
| NetAmount | Decimal | The net amount of the transaction. | |
| FeeAmount | Decimal | The fee that PayPal charged for the transaction. | |
| GrossAmount | Decimal | The total gross amount charged, including any profile shipping cost and taxes. | |
| Status | String | The status of the transaction. | |
| Date | Datetime | The date and time that the transaction occurred. | |
| Timezone | String | The time zone of the transaction. The value is always GMT. | |
| Type | String | The type of the transaction. It is one of the following values: Currency Conversion (credit), Currency Conversion (debit), Payment, Recurring Payment, Temporary Hold, Transfer, Donation. | |
| Payer | String | The email address of the buyer. Character length and limitations: 127 single-byte alphanumeric characters. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| Amount | String | Search by the transaction amount. You must set the CurrencyCode input to one of the 3-character currency codes for any of the supported PayPal currencies. This value cannot exceed 10,000.00 USD or the per transaction limit for the currency. It includes no currency symbol. | |
| AuctionItemNumber | String | Search by the auction item number of the purchased goods. This field is not applicable to point-of-sale. | |
| CardNumber | String | Search by the credit card number, as set by you for the original transaction. This field searches the records for items the merchant sells. The field is not applicable to point-of-sale. | |
| CurrencyCode | String | Search by the 3-character, ISO 4217 currency code. | |
| InvoiceId | String | Search by the invoice identification key, as set by you for the original transaction. This field searches the records for items the merchant sells. Character length and limitations: 127 single-byte characters maximum with no wildcards allowed. | |
| ProfileId | String | Search by the alphanumeric string (generated by PayPal) that uniquely identifies a recurring profile. You can specify the Profile Id to obtain all payments associated with the identified profile. | |
| ReceiptId | String | Search by the PayPal Account Optional receipt Id. This field is not applicable to point-of-sale transactions. | |
| Receiver | String | Search by the email address of the receiver. If the merchant account has only one email address, this is the primary email. It can also be a non-primary email address. | |
| PayerName | String | Search by the name of the buyer. |
Query Transactions involving Dividends.
| Name | Type | References | Description |
| Id [KEY] | String | The Id of the transaction record of the merchant. | |
| PayerDisplayName | String | The display name of the buyer. | |
| NetAmount | Decimal | The net amount of the transaction. | |
| FeeAmount | Decimal | The fee that PayPal charged for the transaction. | |
| GrossAmount | Decimal | The total gross amount charged, including any profile shipping cost and taxes. | |
| Status | String | The status of the transaction. | |
| Date | Datetime | The date and time that the transaction occurred. | |
| Timezone | String | The time zone of the transaction. The value is always GMT. | |
| Type | String | The type of the transaction. It is one of the following values: Currency Conversion (credit), Currency Conversion (debit), Payment, Recurring Payment, Temporary Hold, Transfer, Donation. | |
| Payer | String | The email address of the buyer. Character length and limitations: 127 single-byte alphanumeric characters. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| Amount | String | Search by the transaction amount. You must set the CurrencyCode input to one of the 3-character currency codes for any of the supported PayPal currencies. This value cannot exceed 10,000.00 USD or the per transaction limit for the currency. It includes no currency symbol. | |
| AuctionItemNumber | String | Search by the auction item number of the purchased goods. This field is not applicable to point-of-sale. | |
| CardNumber | String | Search by the credit card number, as set by you for the original transaction. This field searches the records for items the merchant sells. The field is not applicable to point-of-sale. | |
| CurrencyCode | String | Search by the 3-character, ISO 4217 currency code. | |
| InvoiceId | String | Search by invoice identification key, as set by you for the original transaction. This field searches the records for items the merchant sells. Character length and limitations: 127 single-byte characters maximum with no wildcards allowed. | |
| ProfileId | String | Search by the alphanumeric string (generated by PayPal) that uniquely identifies a recurring profile. You can specify the Profile Id to obtain all payments associated with the identified profile. | |
| ReceiptId | String | Search by the PayPal Account Optional receipt Id. This field is not applicable to point-of-sale transactions. | |
| Receiver | String | Search by the email address of the receiver. If the merchant account has only one email address, this is the primary email. It can also be a non-primary email address. | |
| PayerName | String | Search by the name of the buyer. |
Query Transactions involving eChecks.
| Name | Type | References | Description |
| Id [KEY] | String | The Id of the transaction record of the merchant. | |
| PayerDisplayName | String | The display name of the buyer. | |
| NetAmount | Decimal | The net amount of the transaction. | |
| FeeAmount | Decimal | The fee that PayPal charged for the transaction. | |
| GrossAmount | Decimal | The total gross amount charged, including any profile shipping cost and taxes. | |
| Status | String | The status of the transaction. | |
| Date | Datetime | The date and time that the transaction occurred. | |
| Timezone | String | The time zone of the transaction. The value is always GMT. | |
| Type | String | The type of the transaction. It is one of the following values: Currency Conversion (credit), Currency Conversion (debit), Payment, Recurring Payment, Temporary Hold, Transfer, Donation. | |
| Payer | String | The email address of the buyer. Character length and limitations: 127 single-byte alphanumeric characters. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| Amount | String | Search by the transaction amount. You must set the CurrencyCode input to one of the 3-character currency codes for any of the supported PayPal currencies. This value cannot exceed 10,000.00 USD or the per transaction limit for the currency. It includes no currency symbol. | |
| AuctionItemNumber | String | Search by the auction item number of the purchased goods. This field is not applicable to point-of-sale. | |
| CardNumber | String | Search by the credit card number, as set by you for the original transaction. This field searches the records for items the merchant sells. The field is not applicable to point-of-sale. | |
| CurrencyCode | String | Search by the 3-character, ISO 4217 currency code. | |
| InvoiceId | String | Search by invoice identification key, as set by you for the original transaction. This field searches the records for items the merchant sells. Character length and limitations: 127 single-byte characters maximum with no wildcards allowed. | |
| ProfileId | String | Search by the alphanumeric string (generated by PayPal) that uniquely identifies a recurring profile. You can specify the Profile Id to obtain all payments associated with the identified profile. | |
| ReceiptId | String | Search by the PayPal Account Optional receipt Id. This field is not applicable to point-of-sale transactions. | |
| Receiver | String | Search by the email address of the receiver. If the merchant account has only one email address, this is the primary email. It can also be a non-primary email address. | |
| PayerName | String | Search by the name of the buyer. |
Query Transactions involving Fees.
| Name | Type | References | Description |
| Id [KEY] | String | The Id of the transaction record of the merchant. | |
| PayerDisplayName | String | The display name of the buyer. | |
| NetAmount | Decimal | The net amount of the transaction. | |
| FeeAmount | Decimal | The fee that PayPal charged for the transaction. | |
| GrossAmount | Decimal | The total gross amount charged, including any profile shipping cost and taxes. | |
| Status | String | The status of the transaction. | |
| Date | Datetime | The date and time that the transaction occurred. | |
| Timezone | String | The time zone of the transaction. The value is always GMT. | |
| Type | String | The type of the transaction. It is one of the following values: Currency Conversion (credit), Currency Conversion (debit), Payment, Recurring Payment, Temporary Hold, Transfer, Donation. | |
| Payer | String | The email address of the buyer. Character length and limitations: 127 single-byte alphanumeric characters. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| Amount | String | Search by the transaction amount. You must set the CurrencyCode input to one of the 3-character currency codes for any of the supported PayPal currencies. This value cannot exceed 10,000.00 USD or the per transaction limit for the currency. It includes no currency symbol. | |
| AuctionItemNumber | String | Search by the auction item number of the purchased goods. This field is not applicable to point-of-sale. | |
| CardNumber | String | Search by the credit card number, as set by you for the original transaction. This field searches the records for items the merchant sells. The field is not applicable to point-of-sale. | |
| CurrencyCode | String | Search by the 3-character, ISO 4217 currency code. | |
| InvoiceId | String | Search by invoice identification key, as set by you for the original transaction. This field searches the records for items the merchant sells. Character length and limitations: 127 single-byte characters maximum with no wildcards allowed. | |
| ProfileId | String | Search by the alphanumeric string (generated by PayPal) that uniquely identifies a recurring profile. You can specify the Profile Id to obtain all payments associated with the identified profile. | |
| ReceiptId | String | Search by the PayPal Account Optional receipt Id. This field is not applicable to point-of-sale transactions. | |
| Receiver | String | Search by the email address of the receiver. If the merchant account has only one email address, this is the primary email. It can also be a non-primary email address. | |
| PayerName | String | Search by the name of the buyer. |
Query Transactions generated when funds are added to the balance.
| Name | Type | References | Description |
| Id [KEY] | String | The Id of the transaction record of the merchant. | |
| PayerDisplayName | String | The display name of the buyer. | |
| NetAmount | Decimal | The net amount of the transaction. | |
| FeeAmount | Decimal | The fee that PayPal charged for the transaction. | |
| GrossAmount | Decimal | The total gross amount charged, including any profile shipping cost and taxes. | |
| Status | String | The status of the transaction. | |
| Date | Datetime | The date and time that the transaction occurred. | |
| Timezone | String | The time zone of the transaction. The value is always GMT. | |
| Type | String | The type of the transaction. It is one of the following values: Currency Conversion (credit), Currency Conversion (debit), Payment, Recurring Payment, Temporary Hold, Transfer, Donation. | |
| Payer | String | The email address of the buyer. Character length and limitations: 127 single-byte alphanumeric characters. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| Amount | String | Search by the transaction amount. You must set the CurrencyCode input to one of the 3-character currency codes for any of the supported PayPal currencies. This value cannot exceed 10,000.00 USD or the per transaction limit for the currency. It includes no currency symbol. | |
| AuctionItemNumber | String | Search by the auction item number of the purchased goods. This field is not applicable to point-of-sale. | |
| CardNumber | String | Search by the credit card number, as set by you for the original transaction. This field searches the records for items the merchant sells. The field is not applicable to point-of-sale. | |
| CurrencyCode | String | Search by the 3-character, ISO 4217 currency code. | |
| InvoiceId | String | Search by invoice identification key, as set by you for the original transaction. This field searches the records for items the merchant sells. Character length and limitations: 127 single-byte characters maximum with no wildcards allowed. | |
| ProfileId | String | An alphanumeric string (generated by PayPal) that uniquely identifies a recurring profile. You can specify the Profile Id to obtain all payments associated with the identified profile. | |
| ReceiptId | String | Search by the PayPal Account Optional receipt Id. This field is not applicable to point-of-sale transactions. | |
| Receiver | String | Search by the email address of the receiver. If the merchant account has only one email address, this is the primary email. It can also be a non-primary email address. | |
| PayerName | String | Search by the name of the buyer. |
Query Transactions generated when funds are withdrawn from the balance.
| Name | Type | References | Description |
| Id [KEY] | String | The Id of the transaction record of the merchant. | |
| PayerDisplayName | String | The display name of the buyer. | |
| NetAmount | Decimal | The net amount of the transaction. | |
| FeeAmount | Decimal | The fee that PayPal charged for the transaction. | |
| GrossAmount | Decimal | The total gross amount charged, including any profile shipping cost and taxes. | |
| Status | String | The status of the transaction. | |
| Date | Datetime | The date and time that the transaction occurred. | |
| Timezone | String | The time zone of the transaction. The value is always GMT. | |
| Type | String | The type of the transaction. It is one of the following values: Currency Conversion (credit), Currency Conversion (debit), Payment, Recurring Payment, Temporary Hold, Transfer, Donation. | |
| Payer | String | The email address of the buyer. Character length and limitations: 127 single-byte alphanumeric characters. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| Amount | String | Search by the transaction amount. You must set the CurrencyCode input to one of the 3-character currency codes for any of the supported PayPal currencies. This value cannot exceed 10,000.00 USD or the per transaction limit for the currency. It includes no currency symbol. | |
| AuctionItemNumber | String | Search by the auction item number of the purchased goods. This field is not applicable to point-of-sale. | |
| CardNumber | String | Search by the credit card number, as set by you for the original transaction. This field searches the records for items the merchant sells. The field is not applicable to point-of-sale. | |
| CurrencyCode | String | Search by the 3-character, ISO 4217 currency code. | |
| InvoiceId | String | Search by invoice identification key, as set by you for the original transaction. This field searches the records for items the merchant sells. Character length and limitations: 127 single-byte characters maximum with no wildcards allowed. | |
| ProfileId | String | Search by the alphanumeric string (generated by PayPal) that uniquely identifies a recurring profile. You can specify the Profile Id to obtain all payments associated with the identified profile. | |
| ReceiptId | String | Search by the PayPal Account Optional receipt Id. This field is not applicable to point-of-sale transactions. | |
| Receiver | String | Search by the email address of the receiver. If the merchant account has only one email address, this is the primary email. It can also be a non-primary email address. | |
| PayerName | String | Search by the name of the buyer. |
Query Mass Payments Transactions.
| Name | Type | References | Description |
| Id [KEY] | String | The Id of the transaction record of the merchant. | |
| PayerDisplayName | String | The display name of the buyer. | |
| NetAmount | Decimal | The net amount of the transaction. | |
| FeeAmount | Decimal | The fee that PayPal charged for the transaction. | |
| GrossAmount | Decimal | The total gross amount charged, including any profile shipping cost and taxes. | |
| Status | String | The status of the transaction. | |
| Date | Datetime | The date and time that the transaction occurred. | |
| Timezone | String | The time zone of the transaction. The value is always GMT. | |
| Type | String | The type of the transaction. It is one of the following values: Currency Conversion (credit), Currency Conversion (debit), Payment, Recurring Payment, Temporary Hold, Transfer, Donation. | |
| Payer | String | The email address of the buyer. Character length and limitations: 127 single-byte alphanumeric characters. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| Amount | String | Search by the transaction amount. You must set the CurrencyCode input to one of the 3-character currency codes for any of the supported PayPal currencies. This value cannot exceed 10,000.00 USD or the per transaction limit for the currency. It includes no currency symbol. | |
| AuctionItemNumber | String | Search by the auction item number of the purchased goods. This field is not applicable to point-of-sale. | |
| CardNumber | String | Search by the credit card number, as set by you for the original transaction. This field searches the records for items the merchant sells. The field is not applicable to point-of-sale. | |
| CurrencyCode | String | Search by the 3-character, ISO 4217 currency code. | |
| InvoiceId | String | Search by invoice identification key, as set by you for the original transaction. This field searches the records for items the merchant sells. Character length and limitations: 127 single-byte characters maximum with no wildcards allowed. | |
| ProfileId | String | Search by the alphanumeric string (generated by PayPal) that uniquely identifies a recurring profile. You can specify the Profile Id to obtain all payments associated with the identified profile. | |
| ReceiptId | String | Search by the PayPal Account Optional receipt Id. This field is not applicable to point-of-sale transactions. | |
| Receiver | String | Search by the email address of the receiver. If the merchant account has only one email address, this is the primary email. It can also be a non-primary email address. | |
| PayerName | String | Search by the name of the buyer. |
Query Money Request Transactions.
| Name | Type | References | Description |
| Id [KEY] | String | The Id of the transaction record of the merchant. | |
| PayerDisplayName | String | The display name of the buyer. | |
| NetAmount | Decimal | The net amount of the transaction. | |
| FeeAmount | Decimal | The fee that PayPal charged for the transaction. | |
| GrossAmount | Decimal | The total gross amount charged, including any profile shipping cost and taxes. | |
| Status | String | The status of the transaction. | |
| Date | Datetime | The date and time that the transaction occurred. | |
| Timezone | String | The time zone of the transaction. The value is always GMT. | |
| Type | String | The type of the transaction. It is one of the following values: Currency Conversion (credit), Currency Conversion (debit), Payment, Recurring Payment, Temporary Hold, Transfer, Donation. | |
| Payer | String | The email address of the buyer. Character length and limitations: 127 single-byte alphanumeric characters. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| Amount | String | Search by the transaction amount. You must set the CurrencyCode input to one of the 3-character currency codes for any of the supported PayPal currencies. This value cannot exceed 10,000.00 USD or the per transaction limit for the currency. It includes no currency symbol. | |
| AuctionItemNumber | String | Search by the auction item number of the purchased goods. This field is not applicable to point-of-sale. | |
| CardNumber | String | Search by the credit card number, as set by you for the original transaction. This field searches the records for items the merchant sells. The field is not applicable to point-of-sale. | |
| CurrencyCode | String | Search by the 3-character, ISO 4217 currency code. | |
| InvoiceId | String | Search by invoice identification key, as set by you for the original transaction. This field searches the records for items the merchant sells. Character length and limitations: 127 single-byte characters maximum with no wildcards allowed. | |
| ProfileId | String | Search by the alphanumeric string (generated by PayPal) that uniquely identifies a recurring profile. You can specify the Profile Id to obtain all payments associated with the identified profile. | |
| ReceiptId | String | Search by the PayPal Account Optional receipt Id. This field is not applicable to point-of-sale transactions. | |
| Receiver | String | Search by the email address of the receiver. If the merchant account has only one email address, this is the primary email. It can also be a non-primary email address. | |
| PayerName | String | Search by the name of the buyer. |
Query payments-received Transactions.
| Name | Type | References | Description |
| Id [KEY] | String | The Id of the transaction record of the merchant. | |
| PayerDisplayName | String | The display name of the buyer. | |
| NetAmount | Decimal | The net amount of the transaction. | |
| FeeAmount | Decimal | The fee that PayPal charged for the transaction. | |
| GrossAmount | Decimal | The total gross amount charged, including any profile shipping cost and taxes. | |
| Status | String | The status of the transaction. | |
| Date | Datetime | The date and time that the transaction occurred. | |
| Timezone | String | The time zone of the transaction. The value is always GMT. | |
| Type | String | The type of the transaction. It is one of the following values: Currency Conversion (credit), Currency Conversion (debit), Payment, Recurring Payment, Temporary Hold, Transfer, Donation. | |
| Payer | String | The email address of the buyer. Character length and limitations: 127 single-byte alphanumeric characters. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| Amount | String | Search by the transaction amount. You must set the CurrencyCode input to one of the 3-character currency codes for any of the supported PayPal currencies. This value cannot exceed 10,000.00 USD or the per transaction limit for the currency. It includes no currency symbol. | |
| AuctionItemNumber | String | Search by the auction item number of the purchased goods. This field is not applicable to point-of-sale. | |
| CardNumber | String | Search by the credit card number, as set by you for the original transaction. This field searches the records for items the merchant sells. The field is not applicable to point-of-sale. | |
| CurrencyCode | String | Search by the 3-character, ISO 4217 currency code. | |
| InvoiceId | String | Search by invoice identification key, as set by you for the original transaction. This field searches the records for items the merchant sells. Character length and limitations: 127 single-byte characters maximum with no wildcards allowed. | |
| ProfileId | String | An alphanumeric string (generated by PayPal) that uniquely identifies a recurring profile. You can specify the Profile Id to obtain all payments associated with the identified profile. | |
| ReceiptId | String | Search by the PayPal Account Optional receipt Id. This field is not applicable to point-of-sale transactions. | |
| Receiver | String | Search by the email address of the receiver. If the merchant account has only one email address, this is the primary email. It can also be a non-primary email address. | |
| PayerName | String | Search by the name of the buyer. |
Query Transactions involving Referrals.
| Name | Type | References | Description |
| Id [KEY] | String | The Id of the transaction record of the merchant. | |
| PayerDisplayName | String | The display name of the buyer. | |
| NetAmount | Decimal | The net amount of the transaction. | |
| FeeAmount | Decimal | The fee that PayPal charged for the transaction. | |
| GrossAmount | Decimal | The total gross amount charged, including any profile shipping cost and taxes. | |
| Status | String | The status of the transaction. | |
| Date | Datetime | The date and time that the transaction occurred. | |
| Timezone | String | The time zone of the transaction. The value is always GMT. | |
| Type | String | The type of the transaction. It is one of the following values: Currency Conversion (credit), Currency Conversion (debit), Payment, Recurring Payment, Temporary Hold, Transfer, Donation. | |
| Payer | String | The email address of the buyer. Character length and limitations: 127 single-byte alphanumeric characters. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| Amount | String | Search by the transaction amount. You must set the CurrencyCode input to one of the 3-character currency codes for any of the supported PayPal currencies. This value cannot exceed 10,000.00 USD or the per transaction limit for the currency. It includes no currency symbol. | |
| AuctionItemNumber | String | Search by the auction item number of the purchased goods. This field is not applicable to point-of-sale. | |
| CardNumber | String | Search by the credit card number, as set by you for the original transaction. This field searches the records for items the merchant sells. The field is not applicable to point-of-sale. | |
| CurrencyCode | String | Search by the 3-character, ISO 4217 currency code. | |
| InvoiceId | String | Search by invoice identification key, as set by you for the original transaction. This field searches the records for items the merchant sells. Character length and limitations: 127 single-byte characters maximum with no wildcards allowed. | |
| ProfileId | String | Search by the alphanumeric string (generated by PayPal) that uniquely identifies a recurring profile. You can specify the Profile Id to obtain all payments associated with the identified profile. | |
| ReceiptId | String | Search by the PayPal Account Optional receipt Id. This field is not applicable to point-of-sale transactions. | |
| Receiver | String | Search by the email address of the receiver. If the merchant account has only one email address, this is the primary email. It can also be a non-primary email address. | |
| PayerName | String | Search by the name of the buyer. |
Query Transactions involving Refunds.
| Name | Type | References | Description |
| Id [KEY] | String | The Id of the transaction record of the merchant. | |
| PayerDisplayName | String | The display name of the buyer. | |
| NetAmount | Decimal | The net amount of the transaction. | |
| FeeAmount | Decimal | The fee that PayPal charged for the transaction. | |
| GrossAmount | Decimal | The total gross amount charged, including any profile shipping cost and taxes. | |
| Status | String | The status of the transaction. | |
| Date | Datetime | The date and time that the transaction occurred. | |
| Timezone | String | The time zone of the transaction. The value is always GMT. | |
| Type | String | The type of the transaction. It is one of the following values: Currency Conversion (credit), Currency Conversion (debit), Payment, Recurring Payment, Temporary Hold, Transfer, Donation. | |
| Payer | String | The email address of the buyer. Character length and limitations: 127 single-byte alphanumeric characters. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| Amount | String | Search by the transaction amount. You must set the CurrencyCode input to one of the 3-character currency codes for any of the supported PayPal currencies. This value cannot exceed 10,000.00 USD or the per transaction limit for the currency. It includes no currency symbol. | |
| AuctionItemNumber | String | Search by the auction item number of the purchased goods. This field is not applicable to point-of-sale. | |
| CardNumber | String | Search by the credit card number, as set by you for the original transaction. This field searches the records for items the merchant sells. The field is not applicable to point-of-sale. | |
| CurrencyCode | String | Search by the 3-character, ISO 4217 currency code. | |
| InvoiceId | String | Search by invoice identification key, as set by you for the original transaction. This field searches the records for items the merchant sells. Character length and limitations: 127 single-byte characters maximum with no wildcards allowed. | |
| ProfileId | String | Search by the alphanumeric string (generated by PayPal) that uniquely identifies a recurring profile. You can specify the Profile Id to obtain all payments associated with the identified profile. | |
| ReceiptId | String | Search by the PayPal Account Optional receipt Id. This field is not applicable to point-of-sale transactions. | |
| Receiver | String | Search by the email address of the receiver. If the merchant account has only one email address, this is the primary email. It can also be a non-primary email address. | |
| PayerName | String | Search by the name of the buyer. |
Query Transactions involving BillPay Reversals.
| Name | Type | References | Description |
| Id [KEY] | String | The Id of the transaction record of the merchant. | |
| PayerDisplayName | String | The display name of the buyer. | |
| NetAmount | Decimal | The net amount of the transaction. | |
| FeeAmount | Decimal | The fee that PayPal charged for the transaction. | |
| GrossAmount | Decimal | The total gross amount charged, including any profile shipping cost and taxes. | |
| Status | String | The status of the transaction. | |
| Date | Datetime | The date and time that the transaction occurred. | |
| Timezone | String | The time zone of the transaction. The value is always GMT. | |
| Type | String | The type of the transaction. It is one of the following values: Currency Conversion (credit), Currency Conversion (debit), Payment, Recurring Payment, Temporary Hold, Transfer, Donation. | |
| Payer | String | The email address of the buyer. Character length and limitations: 127 single-byte alphanumeric characters. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| Amount | String | Search by the transaction amount. You must set the CurrencyCode input to one of the 3-character currency codes for any of the supported PayPal currencies. This value cannot exceed 10,000.00 USD or the per transaction limit for the currency. It includes no currency symbol. | |
| AuctionItemNumber | String | Search by the auction item number of the purchased goods. This field is not applicable to point-of-sale. | |
| CardNumber | String | Search by the credit card number, as set by you for the original transaction. This field searches the records for items the merchant sells. The field is not applicable to point-of-sale. | |
| CurrencyCode | String | Search by the 3-character, ISO 4217 currency code. | |
| InvoiceId | String | Search by invoice identification key, as set by you for the original transaction. This field searches the records for items the merchant sells. Character length and limitations: 127 single-byte characters maximum with no wildcards allowed. | |
| ProfileId | String | Search by the alphanumeric string (generated by PayPal) that uniquely identifies a recurring profile. You can specify the Profile Id to obtain all payments associated with the identified profile. | |
| ReceiptId | String | Search by the PayPal Account Optional receipt Id. This field is not applicable to point-of-sale transactions. | |
| Receiver | String | Search by the email address of the receiver. If the merchant account has only one email address, this is the primary email. It can also be a non-primary email address. | |
| PayerName | String | Search by the name of the buyer. |
Query payments-sent Transactions.
| Name | Type | References | Description |
| Id [KEY] | String | The Id of the transaction record of the merchant. | |
| PayerDisplayName | String | The display name of the buyer. | |
| NetAmount | Decimal | The net amount of the transaction. | |
| FeeAmount | Decimal | The fee that PayPal charged for the transaction. | |
| GrossAmount | Decimal | The total gross amount charged, including any profile shipping cost and taxes. | |
| Status | String | The status of the transaction. | |
| Date | Datetime | The date and time that the transaction occurred. | |
| Timezone | String | The time zone of the transaction. The value is always GMT. | |
| Type | String | The type of the transaction. It is one of the following values: Currency Conversion (credit), Currency Conversion (debit), Payment, Recurring Payment, Temporary Hold, Transfer, Donation. | |
| Payer | String | The email address of the buyer. Character length and limitations: 127 single-byte alphanumeric characters. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| Amount | String | Search by the transaction amount. You must set the CurrencyCode input to one of the 3-character currency codes for any of the supported PayPal currencies. This value cannot exceed 10,000.00 USD or the per transaction limit for the currency. It includes no currency symbol. | |
| AuctionItemNumber | String | Search by the auction item number of the purchased goods. This field is not applicable to point-of-sale. | |
| CardNumber | String | Search by the credit card number, as set by you for the original transaction. This field searches the records for items the merchant sells. The field is not applicable to point-of-sale. | |
| CurrencyCode | String | Search by the 3-character, ISO 4217 currency code. | |
| InvoiceId | String | Search by invoice identification key, as set by you for the original transaction. This field searches the records for items the merchant sells. Character length and limitations: 127 single-byte characters maximum with no wildcards allowed. | |
| ProfileId | String | Search by the alphanumeric string (generated by PayPal) that uniquely identifies a recurring profile. You can specify the Profile Id to obtain all payments associated with the identified profile. | |
| ReceiptId | String | Search by the PayPal Account Optional receipt Id. This field is not applicable to point-of-sale transactions. | |
| Receiver | String | Search by the email address of the receiver. If the merchant account has only one email address, this is the primary email. It can also be a non-primary email address. | |
| PayerName | String | Search by the name of the buyer. |
Query Transactions involving UPS Shipping Fees.
| Name | Type | References | Description |
| Id [KEY] | String | The Id of the transaction record of the merchant. | |
| PayerDisplayName | String | The display name of the buyer. | |
| NetAmount | Decimal | The net amount of the transaction. | |
| FeeAmount | Decimal | The fee that PayPal charged for the transaction. | |
| GrossAmount | Decimal | The total gross amount charged, including any profile shipping cost and taxes. | |
| Status | String | The status of the transaction. | |
| Date | Datetime | The date and time that the transaction occurred. | |
| Timezone | String | The time zone of the transaction. The value is always GMT. | |
| Type | String | The type of the transaction. It is one of the following values: Currency Conversion (credit), Currency Conversion (debit), Payment, Recurring Payment, Temporary Hold, Transfer, Donation. | |
| Payer | String | The email address of the buyer. Character length and limitations: 127 single-byte alphanumeric characters. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| Amount | String | Search by the transaction amount. You must set the CurrencyCode input to one of the 3-character currency codes for any of the supported PayPal currencies. This value cannot exceed 10,000.00 USD or the per transaction limit for the currency. It includes no currency symbol. | |
| AuctionItemNumber | String | Search by the auction item number of the purchased goods. This field is not applicable to point-of-sale. | |
| CardNumber | String | Search by the credit card number, as set by you for the original transaction. This field searches the records for items the merchant sells. The field is not applicable to point-of-sale. | |
| CurrencyCode | String | Search by the 3-character, ISO 4217 currency code. | |
| InvoiceId | String | Search by invoice identification key, as set by you for the original transaction. This field searches the records for items the merchant sells. Character length and limitations: 127 single-byte characters maximum with no wildcards allowed. | |
| ProfileId | String | Search by the alphanumeric string (generated by PayPal) that uniquely identifies a recurring profile. You can specify the Profile Id to obtain all payments associated with the identified profile. | |
| ReceiptId | String | Search by the PayPal Account Optional receipt Id. This field is not applicable to point-of-sale transactions. | |
| Receiver | String | Search by the email address of the receiver. If the merchant account has only one email address, this is the primary email. It can also be a non-primary email address. | |
| PayerName | String | Search by the name of the buyer. |
Query Transactions involving Subscriptions.
| Name | Type | References | Description |
| Id [KEY] | String | The Id of the transaction record of the merchant. | |
| PayerDisplayName | String | The display name of the buyer. | |
| NetAmount | Decimal | The net amount of the transaction. | |
| FeeAmount | Decimal | The fee that PayPal charged for the transaction. | |
| GrossAmount | Decimal | The total gross amount charged, including any profile shipping cost and taxes. | |
| Status | String | The status of the transaction. | |
| Date | Datetime | The date and time that the transaction occurred. | |
| Timezone | String | The time zone of the transaction. The value is always GMT. | |
| Type | String | The type of the transaction. It is one of the following values: Currency Conversion (credit), Currency Conversion (debit), Payment, Recurring Payment, Temporary Hold, Transfer, Donation. | |
| Payer | String | The email address of the buyer. Character length and limitations: 127 single-byte alphanumeric characters. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| Amount | String | Search by the transaction amount. You must set the CurrencyCode input to one of the 3-character currency codes for any of the supported PayPal currencies. This value cannot exceed 10,000.00 USD or the per transaction limit for the currency. It includes no currency symbol. | |
| AuctionItemNumber | String | Search by the auction item number of the purchased goods. This field is not applicable to point-of-sale. | |
| CardNumber | String | Search by the credit card number, as set by you for the original transaction. This field searches the records for items the merchant sells. The field is not applicable to point-of-sale. | |
| CurrencyCode | String | Search by the 3-character, ISO 4217 currency code. | |
| InvoiceId | String | Search by invoice identification key, as set by you for the original transaction. This field searches the records for items the merchant sells. Character length and limitations: 127 single-byte characters maximum with no wildcards allowed. | |
| ProfileId | String | Search by the alphanumeric string (generated by PayPal) that uniquely identifies a recurring profile. You can specify the Profile Id to obtain all payments associated with the identified profile. | |
| ReceiptId | String | Search by the PayPal Account Optional receipt Id. This field is not applicable to point-of-sale transactions. | |
| Receiver | String | Search by the email address of the receiver. If the merchant account has only one email address, this is the primary email. It can also be a non-primary email address. | |
| PayerName | String | Search by the name of the buyer. |
Query details about a specific Transaction using the GetTransactionDetails API.
The only filter supported by the PayPal API is TransactionId, which is required. The Cloud processes other filters client side within the Cloud.
For example, the following queries are processed server side and retrieve details for a specific Transaction.
Warning: Requesting all TransactionDetails for all transactions could take a long time depending on the number of transactions.
SELECT * FROM TransactionDetails WHERE TransactionId = '4W92068757818534U'
SELECT * FROM TransactionDetails WHERE TransactionId IN ('4W92068757818534U', '0TM835405G491863M')
SELECT * FROM TransactionDetails WHERE TransactionId IN (SELECT Id FROM Transactions)
| Name | Type | References | Description |
| TransactionId [KEY] | String | Unique transaction Id of the payment. | |
| ReceiverBusiness | String | Details about a single transaction. This field is not applicable for point-of-sale transactions. | |
| ReceiverEmail | String | Primary email address of the payment recipient (the merchant). | |
| ReceiverId | String | Unique account Id of the payment recipient (the merchant). This value is the same as the value of the referral Id of the recipient. | |
| PayerEmail | String | Email address of the buyer. | |
| PayerId | String | Unique PayPal Customer Account identification number. | |
| PayerStatus | String | Status of the buyer. | |
| PayerFirstName | String | The first name of the buyer. | |
| PayerMiddleName | String | The middle name of the buyer. | |
| PayerLastName | String | The last name of the buyer. | |
| PayerSuffix | String | The suffix of the buyer. | |
| PayerCountry | String | The country of residence of the buyer in the form of ISO standard 3166 2-character country codes. | |
| PayerBusiness | String | The business name of the buyer. | |
| StreetAddress | String | The first street address. | |
| City | String | The name of the city. | |
| State | String | The state or province. | |
| PostalCode | String | U.S. ZIP code or other country-specific postal code. | |
| ShippingCountry | String | The expanded name of the country. | |
| PayerPhone | String | The phone number. | |
| ParentTransactionId | String | The parent or related transaction identification number. | |
| TransactionType | String | The type of transaction. | |
| PaymentType | String | Indicates whether the payment is instant or delayed. | |
| PaymentDate | Datetime | The date-time stamp of the payment. | |
| GrossAmount | Decimal | The final amount charged, including any shipping and taxes from your Merchant Profile. | |
| FeeAmount | Decimal | The PayPal fee amount charged for the transaction. | |
| SettleAmount | Decimal | The amount deposited in your PayPal account after a currency conversion. | |
| TaxAmount | Decimal | The tax charged on the transaction. | |
| ExchangeRate | String | The exchange rate if a currency conversion occurred. This is relevant only if you are billing in the non-primary currency of the buyer. If the buyer chooses to pay with a currency other than the non-primary currency, the conversion occurs in the account of the buyer. | |
| PaymentStatus | String | Status of the payment. | |
| PendingReason | String | The reason the payment is pending. | |
| ProtectionEligibility | String | Prior to version 64.4, the kind of seller protection in force for the transaction. | |
| ProtectionEligibilityType | String | Since version 64.4, the kind of seller protection in force for the transaction. | |
| StoreId | String | StoreId as entered in the transaction. | |
| Subject | String | The value of the subject field entered by the buyer when making a payment. | |
| InvoiceId | String | Invoice number you set in the original transaction. | |
| Memo | String | Memo entered by your customer in the PayPal Website Payments note field. | |
| SalesTax | Decimal | Amount of tax charged on payment. | |
| AuctionBuyerId | String | The auction Id of the buyer. | |
| AuctionClosingDate | Datetime | The close date of the auction. |
Query details about a specific Transaction's items using the GetTransactionDetails API.
The only filter supported by the PayPal API is TransactionId, which is required. The Cloud processes other filters client side within the Cloud.
For example, the following queries are processed server side and retrieve details for a specific Transaction.
Warning: Requesting all TransactionItems for all transactions could take a long time depending on the number of transactions.
SELECT * FROM TransactionItems WHERE TransactionId = '4W92068757818534U'
SELECT * FROM TransactionItems WHERE TransactionId IN ('4W92068757818534U', '0TM835405G491863M')
SELECT * FROM TransactionItems WHERE TransactionId IN (SELECT Id FROM Transactions)
| Name | Type | References | Description |
| TransactionID | String | Unique transaction Id of the payment. | |
| EbayItemTxnId | String | The eBay auction transaction Id of the item that you use to identify items that the buyer purchased. | |
| ItemName | String | Item name set by you or entered by the customer. | |
| ItemNumber | Integer | Item number set by you. If this was a shopping cart transaction, PayPal appends the number of the item to the HTML item_number variable, for example, item_number1, item_number2, and so forth. | |
| ShippingAmount | Decimal | Shipping Amount. | |
| HandlingAmount | Decimal | Handling Amount. | |
| Quantity | Integer | Quantity set by you or entered by the buyer. | |
| CouponId | String | Coupon identification number. | |
| CouponAmount | Decimal | Amount (value) of the coupon. | |
| ItemAmount | Decimal | Cost of the item. | |
| CouponAmountCurrency | String | Currency of the coupon amount, e.g., a 3-character currency code. | |
| SalesTax | Decimal | Amount of tax charged on payment for this item. |
Query Transaction history using the TransactionSearch API.
The following filters are supported by the PayPal API:
The Date filter supports the >, >=, <, <=, and = operators while the other filters only support the = operator.
The Cloud processes other filters client side within the Cloud.
For example, the following query is processed server side and retrieves Transactions that were created after the specified Date.
SELECT * FROM Transactions WHERE Date > '2015-12-15T12:00:00' AND Amount = '11'
Other important filter you can execute client-side is the Type filter. You can use that column to retrive i.e: only the Orders.
After retrieving the IDs of transactions with type order, you can use these IDs to query TransactionItems and TransactionDetails views, to get more details.
SELECT * FROM Transactions WHERE Type = 'Order'
| Name | Type | References | Description |
| Id [KEY] | String | The Id of the transaction record of the merchant. | |
| PayerDisplayName | String | The display name of the buyer. | |
| NetAmount | Decimal | The net amount of the transaction. | |
| FeeAmount | Decimal | The fee that PayPal charged for the transaction. | |
| GrossAmount | Decimal | The total gross amount charged, including any profile shipping cost and taxes. | |
| Status | String | The status of the transaction. | |
| Date | Datetime | Date and time that the transaction occurred. Character length and limitations: Date and time are in UTC/GMT format; for example, 2013-08-24T05:38:48Z. | |
| Timezone | String | The time zone of the transaction. The value is always GMT. | |
| Type | String | The type of the transaction. It is one of the following values: Order, Currency Conversion (credit), Currency Conversion (debit), Payment, Recurring Payment, Temporary Hold, Transfer, Donation. | |
| Payer | String | Search by the email address of the buyer. Character length and limitations: 127 single-byte alphanumeric characters. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| TransactionClass | String | Search by the classification of the transaction. Some kinds of possible classes of transactions are not searchable with this field. You cannot search for bank transfer withdrawals, for example. This field has one of the following values: All, Sent, Received, MassPay, MoneyRequest, FundsAdded, FundsWithdrawn, Referral, Fee, Subscription, Dividend, Billpay, Refund, CurrencyConversions, BalanceTransfer, Reversal, Shipping, BalanceAffecting, or ECheck.
使用できる値は次のとおりです。All, Sent, Received, MassPay, MoneyRequest, FundsAdded, FundsWithdrawn, Referral, Fee, Subscription, Dividend, Billpay, Refund, CurrencyConversions, BalanceTransfer, Reversal, Shipping, BalanceAffecting, ECheck | |
| Amount | String | Search by the transaction amount. You must set the CurrencyCode input to one of the 3-character currency codes for any of the supported PayPal currencies. This value cannot exceed 10,000.00 USD or the per transaction limit for the currency. It includes no currency symbol. | |
| AuctionItemNumber | String | Search by the auction item number of the purchased goods. This field is not applicable to point-of-sale. | |
| CardNumber | String | Search by credit card number, as set by you for the original transaction. This field searches the records for items the merchant sells. The field is not applicable to point-of-sale. | |
| CurrencyCode | String | Search by the 3-character, ISO 4217 currency code. | |
| InvoiceId | String | Search by the invoice identification key, as set by you for the original transaction. This field searches the records for items the merchant sells. Character length and limitations: 127 single-byte characters maximum with no wildcards allowed. | |
| ProfileId | String | An alphanumeric string (generated by PayPal) that uniquely identifies a recurring profile. You can specify the Profile Id to obtain all payments associated with the identified profile. | |
| ReceiptId | String | Search by the PayPal Account Optional receipt Id. This field is not applicable to point-of-sale transactions. | |
| Receiver | String | Search by the email address of the receiver. If the merchant account has only one email address, this is the primary email. It can also be a non-primary email address. | |
| PayerName | String | Search by the name of the buyer. |
このセクションで説明されているシステムテーブルをクエリして、スキーマ情報、データソース機能に関する情報、およびバッチ操作の統計にアクセスできます。
以下のテーブルは、PayPal のデータベースメタデータを返します。
以下のテーブルは、データソースへの接続方法およびクエリ方法についての情報を返します。
次のテーブルは、データ変更クエリのクエリ統計を返します。
利用可能なデータベースをリストします。
次のクエリは、接続文字列で決定されるすべてのデータベースを取得します。
SELECT * FROM sys_catalogs
| Name | Type | Description |
| CatalogName | String | データベース名。 |
利用可能なスキーマをリストします。
次のクエリは、すべての利用可能なスキーマを取得します。
SELECT * FROM sys_schemas
| Name | Type | Description |
| CatalogName | String | データベース名。 |
| SchemaName | String | スキーマ名。 |
利用可能なテーブルをリストします。
次のクエリは、利用可能なテーブルおよびビューを取得します。
SELECT * FROM sys_tables
| Name | Type | Description |
| CatalogName | String | テーブルまたはビューを含むデータベース。 |
| SchemaName | String | テーブルまたはビューを含むスキーマ。 |
| TableName | String | テーブル名またはビュー名。 |
| TableType | String | テーブルの種類(テーブルまたはビュー)。 |
| Description | String | テーブルまたはビューの説明。 |
| IsUpdateable | Boolean | テーブルが更新可能かどうか。 |
利用可能なテーブルおよびビューのカラムについて説明します。
次のクエリは、Payments テーブルのカラムとデータ型を返します。
SELECT ColumnName, DataTypeName FROM sys_tablecolumns WHERE TableName='Payments'
| Name | Type | Description |
| CatalogName | String | テーブルまたはビューを含むデータベースの名前。 |
| SchemaName | String | テーブルまたはビューを含むスキーマ。 |
| TableName | String | カラムを含むテーブルまたはビューの名前。 |
| ColumnName | String | カラム名。 |
| DataTypeName | String | データ型の名前。 |
| DataType | Int32 | データ型を示す整数値。この値は、実行時に環境に基づいて決定されます。 |
| Length | Int32 | カラムのストレージサイズ。 |
| DisplaySize | Int32 | 指定されたカラムの通常の最大幅(文字数)。 |
| NumericPrecision | Int32 | 数値データの最大桁数。文字データおよび日時データの場合は、カラムの長さ(文字数)。 |
| NumericScale | Int32 | カラムのスケール(小数点以下の桁数)。 |
| IsNullable | Boolean | カラムがNull を含められるかどうか。 |
| Description | String | カラムの簡単な説明。 |
| Ordinal | Int32 | カラムのシーケンスナンバー。 |
| IsAutoIncrement | String | カラムに固定増分値が割り当てられるかどうか。 |
| IsGeneratedColumn | String | 生成されたカラムであるかどうか。 |
| IsHidden | Boolean | カラムが非表示かどうか。 |
| IsArray | Boolean | カラムが配列かどうか。 |
| IsReadOnly | Boolean | カラムが読み取り専用かどうか。 |
| IsKey | Boolean | sys_tablecolumns から返されたフィールドがテーブルの主キーであるかどうか。 |
| ColumnType | String | スキーマ内のカラムの役割または分類。可能な値は、SYSTEM、LINKEDCOLUMN、NAVIGATIONKEY、REFERENCECOLUMN、およびNAVIGATIONPARENTCOLUMN が含まれます。 |
利用可能なストアドプロシージャをリストします。
次のクエリは、利用可能なストアドプロシージャを取得します。
SELECT * FROM sys_procedures
| Name | Type | Description |
| CatalogName | String | ストアドプロシージャを含むデータベース。 |
| SchemaName | String | ストアドプロシージャを含むスキーマ。 |
| ProcedureName | String | ストアドプロシージャの名前。 |
| Description | String | ストアドプロシージャの説明。 |
| ProcedureType | String | PROCEDURE やFUNCTION などのプロシージャのタイプ。 |
ストアドプロシージャパラメータについて説明します。
次のクエリは、SelectEntries ストアドプロシージャのすべての入力パラメータについての情報を返します。
SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'SelectEntries' AND Direction = 1 OR Direction = 2
パラメータに加えて結果セットのカラムを含めるには、IncludeResultColumns 擬似カラムをTrue に設定します。
SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'SelectEntries' AND IncludeResultColumns='True'
| Name | Type | Description |
| CatalogName | String | ストアドプロシージャを含むデータベースの名前。 |
| SchemaName | String | ストアドプロシージャを含むスキーマの名前。 |
| ProcedureName | String | パラメータを含むストアドプロシージャの名前。 |
| ColumnName | String | ストアドプロシージャパラメータの名前。 |
| Direction | Int32 | パラメータのタイプに対応する整数値:input (1)。input/output (2)、またはoutput(4)。input/output タイプパラメータは、入力パラメータと出力パラメータの両方になれます。 |
| DataType | Int32 | データ型を示す整数値。この値は、実行時に環境に基づいて決定されます。 |
| DataTypeName | String | データ型の名前。 |
| NumericPrecision | Int32 | 数値データの場合は最大精度。文字データおよび日時データの場合は、カラムの長さ(文字数)。 |
| Length | Int32 | 文字データの場合は、許可される文字数。数値データの場合は、許可される桁数。 |
| NumericScale | Int32 | 数値データの小数点以下の桁数。 |
| IsNullable | Boolean | パラメータがNull を含められるかどうか。 |
| IsRequired | Boolean | プロシージャの実行にパラメータが必要かどうか。 |
| IsArray | Boolean | パラメータが配列かどうか。 |
| Description | String | パラメータの説明。 |
| Ordinal | Int32 | パラメータのインデックス。 |
| Values | String | このパラメータで設定できる値は、このカラムに表示されるものに限られます。指定できる値はカンマ区切りです。 |
| SupportsStreams | Boolean | パラメータがファイルを表すかどうか。ファイルは、ファイルパスとして渡すことも、ストリームとして渡すこともできます。 |
| IsPath | Boolean | パラメータがスキーマ作成操作のターゲットパスかどうか。 |
| Default | String | 何も値が指定されていない場合に、このパラメータで使用される値。 |
| SpecificName | String | 複数のストアドプロシージャが同じ名前を持つ場合、それぞれの同名のストアドプロシージャを一意に識別するラベル。特定の名前を持つプロシージャが1つだけの場合は、その名前がここに単純に反映されます。 |
| IsCDataProvided | Boolean | プロシージャがネイティブのPayPal プロシージャではなく、CData によって追加 / 実装されているかどうか。 |
| Name | Type | Description |
| IncludeResultColumns | Boolean | 出力にパラメータに加えて結果セットのカラムを含めるかどうか。デフォルトはFalse です。 |
主キーおよび外部キーについて説明します。
次のクエリは、Payments テーブルの主キーを取得します。
SELECT * FROM sys_keycolumns WHERE IsKey='True' AND TableName='Payments'
| Name | Type | Description |
| CatalogName | String | キーを含むデータベースの名前。 |
| SchemaName | String | キーを含むスキーマの名前。 |
| TableName | String | キーを含むテーブルの名前。 |
| ColumnName | String | キーカラムの名前 |
| IsKey | Boolean | カラムがTableName フィールドで参照されるテーブル内の主キーかどうか。 |
| IsForeignKey | Boolean | カラムがTableName フィールドで参照される外部キーかどうか。 |
| PrimaryKeyName | String | 主キーの名前。 |
| ForeignKeyName | String | 外部キーの名前。 |
| ReferencedCatalogName | String | 主キーを含むデータベース。 |
| ReferencedSchemaName | String | 主キーを含むスキーマ。 |
| ReferencedTableName | String | 主キーを含むテーブル。 |
| ReferencedColumnName | String | 主キーのカラム名。 |
外部キーについて説明します。
次のクエリは、他のテーブルを参照するすべての外部キーを取得します。
SELECT * FROM sys_foreignkeys WHERE ForeignKeyType = 'FOREIGNKEY_TYPE_IMPORT'
| 名前 | タイプ | 説明 |
| CatalogName | String | キーを含むデータベースの名前。 |
| SchemaName | String | キーを含むスキーマの名前。 |
| TableName | String | キーを含むテーブルの名前。 |
| ColumnName | String | キーカラムの名前 |
| PrimaryKeyName | String | 主キーの名前。 |
| ForeignKeyName | String | 外部キーの名前。 |
| ReferencedCatalogName | String | 主キーを含むデータベース。 |
| ReferencedSchemaName | String | 主キーを含むスキーマ。 |
| ReferencedTableName | String | 主キーを含むテーブル。 |
| ReferencedColumnName | String | 主キーのカラム名。 |
| ForeignKeyType | String | 外部キーがインポート(他のテーブルを指す)キーかエクスポート(他のテーブルから参照される)キーかを指定します。 |
主キーについて説明します。
次のクエリは、すべてのテーブルとビューから主キーを取得します。
SELECT * FROM sys_primarykeys
| Name | Type | Description |
| CatalogName | String | キーを含むデータベースの名前。 |
| SchemaName | String | キーを含むスキーマの名前。 |
| TableName | String | キーを含むテーブルの名前。 |
| ColumnName | String | キーカラムの名前。 |
| KeySeq | String | 主キーのシーケンス番号。 |
| KeyName | String | 主キーの名前。 |
利用可能なインデックスについて説明します。インデックスをフィルタリングすることで、より高速なクエリ応答時間でセレクティブクエリを記述できます。
次のクエリは、主キーでないすべてのインデックスを取得します。
SELECT * FROM sys_indexes WHERE IsPrimary='false'
| Name | Type | Description |
| CatalogName | String | インデックスを含むデータベースの名前。 |
| SchemaName | String | インデックスを含むスキーマの名前。 |
| TableName | String | インデックスを含むテーブルの名前。 |
| IndexName | String | インデックス名。 |
| ColumnName | String | インデックスに関連付けられたカラムの名前。 |
| IsUnique | Boolean | インデックスが固有の場合はTrue。そうでない場合はFalse。 |
| IsPrimary | Boolean | インデックスが主キーの場合はTrue。そうでない場合はFalse。 |
| Type | Int16 | インデックスタイプに対応する整数値:statistic (0)、clustered (1)、hashed (2)、またはother (3)。 |
| SortOrder | String | 並べ替え順序:A が昇順、D が降順。 |
| OrdinalPosition | Int16 | インデックスのカラムのシーケンスナンバー。 |
利用可能な接続プロパティと、接続文字列に設定されている接続プロパティに関する情報を返します。
次のクエリは、接続文字列に設定されている、あるいはデフォルト値で設定されているすべての接続プロパティを取得します。
SELECT * FROM sys_connection_props WHERE Value <> ''
| Name | Type | Description |
| Name | String | 接続プロパティ名。 |
| ShortDescription | String | 簡単な説明。 |
| Type | String | 接続プロパティのデータ型。 |
| Default | String | 明示的に設定されていない場合のデフォルト値。 |
| Values | String | 可能な値のカンマ区切りリスト。別な値が指定されていると、検証エラーがスローされます。 |
| Value | String | 設定した値またはあらかじめ設定されたデフォルト。 |
| Required | Boolean | プロパティが接続に必要かどうか。 |
| Category | String | 接続プロパティのカテゴリ。 |
| IsSessionProperty | String | プロパティが、現在の接続に関する情報を保存するために使用されるセッションプロパティかどうか。 |
| Sensitivity | String | プロパティの機密度。これは、プロパティがロギングおよび認証フォームで難読化されているかどうかを通知します。 |
| PropertyName | String | キャメルケースの短縮形の接続プロパティ名。 |
| Ordinal | Int32 | パラメータのインデックス。 |
| CatOrdinal | Int32 | パラメータカテゴリのインデックス。 |
| Hierarchy | String | このプロパティと一緒に設定する必要がある、関連のある依存プロパティを表示します。 |
| Visible | Boolean | プロパティが接続UI に表示されるかどうかを通知します。 |
| ETC | String | プロパティに関するその他のさまざまな情報。 |
Cloud がデータソースにオフロードできるSELECT クエリ処理について説明します。
SQL 構文の詳細については、SQL 準拠 を参照してください。
以下はSQL 機能のサンプルデータセットです。 SELECT 機能のいくつかの側面がサポートされている場合には、カンマ区切りのリストで返されます。サポートされていない場合、カラムにはNO が入ります。
| 名前 | 説明 | 有効な値 |
| AGGREGATE_FUNCTIONS | サポートされている集計関数。 | AVG, COUNT, MAX, MIN, SUM, DISTINCT |
| COUNT | COUNT 関数がサポートされているかどうか。 | YES, NO |
| IDENTIFIER_QUOTE_OPEN_CHAR | 識別子をエスケープするための開始文字。 | [ |
| IDENTIFIER_QUOTE_CLOSE_CHAR | 識別子をエスケープするための終了文字。 | ] |
| SUPPORTED_OPERATORS | サポートされているSQL 演算子。 | =, >, <, >=, <=, <>, !=, LIKE, NOT LIKE, IN, NOT IN, IS NULL, IS NOT NULL, AND, OR |
| GROUP_BY | GROUP BY がサポートされているかどうか。サポートされている場合、どのレベルでサポートされているか。 | NO, NO_RELATION, EQUALS_SELECT, SQL_GB_COLLATE |
| OJ_CAPABILITIES | サポートされている外部結合の種類。 | NO, LEFT, RIGHT, FULL, INNER, NOT_ORDERED, ALL_COMPARISON_OPS |
| OUTER_JOINS | 外部結合がサポートされているかどうか。 | YES, NO |
| SUBQUERIES | サブクエリがサポートされているかどうか。サポートされていれば、どのレベルでサポートされているか。 | NO, COMPARISON, EXISTS, IN, CORRELATED_SUBQUERIES, QUANTIFIED |
| STRING_FUNCTIONS | サポートされている文字列関数。 | LENGTH, CHAR, LOCATE, REPLACE, SUBSTRING, RTRIM, LTRIM, RIGHT, LEFT, UCASE, SPACE, SOUNDEX, LCASE, CONCAT, ASCII, REPEAT, OCTET, BIT, POSITION, INSERT, TRIM, UPPER, REGEXP, LOWER, DIFFERENCE, CHARACTER, SUBSTR, STR, REVERSE, PLAN, UUIDTOSTR, TRANSLATE, TRAILING, TO, STUFF, STRTOUUID, STRING, SPLIT, SORTKEY, SIMILAR, REPLICATE, PATINDEX, LPAD, LEN, LEADING, KEY, INSTR, INSERTSTR, HTML, GRAPHICAL, CONVERT, COLLATION, CHARINDEX, BYTE |
| NUMERIC_FUNCTIONS | サポートされている数値関数。 | ABS, ACOS, ASIN, ATAN, ATAN2, CEILING, COS, COT, EXP, FLOOR, LOG, MOD, SIGN, SIN, SQRT, TAN, PI, RAND, DEGREES, LOG10, POWER, RADIANS, ROUND, TRUNCATE |
| TIMEDATE_FUNCTIONS | サポートされている日付および時刻関数。 | NOW, CURDATE, DAYOFMONTH, DAYOFWEEK, DAYOFYEAR, MONTH, QUARTER, WEEK, YEAR, CURTIME, HOUR, MINUTE, SECOND, TIMESTAMPADD, TIMESTAMPDIFF, DAYNAME, MONTHNAME, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, EXTRACT |
| REPLICATION_SKIP_TABLES | レプリケーション中にスキップされたテーブルを示します。 | |
| REPLICATION_TIMECHECK_COLUMNS | レプリケーション中に更新判断のカラムとして使用するかどうかを、(指定された順に)チェックするカラムのリストを含む文字列の配列。 | |
| IDENTIFIER_PATTERN | 識別子としてどの文字列が有効かを示す文字列値。 | |
| SUPPORT_TRANSACTION | プロバイダーが、コミットやロールバックなどのトランザクションをサポートしているかどうかを示します。 | YES, NO |
| DIALECT | 使用するSQL ダイアレクトを示します。 | |
| KEY_PROPERTIES | Uniform データベースを特定するプロパティを示します。 | |
| SUPPORTS_MULTIPLE_SCHEMAS | プロバイダー用に複数のスキームが存在するかどうかを示します。 | YES, NO |
| SUPPORTS_MULTIPLE_CATALOGS | プロバイダー用に複数のカタログが存在するかどうかを示します。 | YES, NO |
| DATASYNCVERSION | このドライバーにアクセスするために必要な、CData Sync のバージョン。 | Standard, Starter, Professional, Enterprise |
| DATASYNCCATEGORY | このドライバーのCData Sync カテゴリ。 | Source, Destination, Cloud Destination |
| SUPPORTSENHANCEDSQL | API で提供されている以上の、追加SQL 機能がサポートされているかどうか。 | TRUE, FALSE |
| SUPPORTS_BATCH_OPERATIONS | バッチ操作がサポートされているかどうか。 | YES, NO |
| SQL_CAP | このドライバーでサポートされているすべてのSQL 機能。 | SELECT, INSERT, DELETE, UPDATE, TRANSACTIONS, ORDERBY, OAUTH, ASSIGNEDID, LIMIT, LIKE, BULKINSERT, COUNT, BULKDELETE, BULKUPDATE, GROUPBY, HAVING, AGGS, OFFSET, REPLICATE, COUNTDISTINCT, JOINS, DROP, CREATE, DISTINCT, INNERJOINS, SUBQUERIES, ALTER, MULTIPLESCHEMAS, GROUPBYNORELATION, OUTERJOINS, UNIONALL, UNION, UPSERT, GETDELETED, CROSSJOINS, GROUPBYCOLLATE, MULTIPLECATS, FULLOUTERJOIN, MERGE, JSONEXTRACT, BULKUPSERT, SUM, SUBQUERIESFULL, MIN, MAX, JOINSFULL, XMLEXTRACT, AVG, MULTISTATEMENTS, FOREIGNKEYS, CASE, LEFTJOINS, COMMAJOINS, WITH, LITERALS, RENAME, NESTEDTABLES, EXECUTE, BATCH, BASIC, INDEX |
| PREFERRED_CACHE_OPTIONS | 使用したいcacheOptions を指定する文字列値。 | |
| ENABLE_EF_ADVANCED_QUERY | ドライバーがEntity Framework の高度なクエリをサポートしているかどうかを示します。サポートしていなければ、クエリはクライアントサイドで処理されます。 | YES, NO |
| PSEUDO_COLUMNS | 利用可能な疑似カラムを示す文字列の配列。 | |
| MERGE_ALWAYS | 値がtrue であれば、CData Sync 内でMerge Model が強制的に実行されます。 | TRUE, FALSE |
| REPLICATION_MIN_DATE_QUERY | レプリケート開始日時を返すSELECT クエリ。 | |
| REPLICATION_MIN_FUNCTION | サーバーサイドでmin を実行するために使用する式名を、プロバイダーが指定できるようになります。 | |
| REPLICATION_START_DATE | レプリケート開始日を、プロバイダーが指定できるようになります。 | |
| REPLICATION_MAX_DATE_QUERY | レプリケート終了日時を返すSELECT クエリ。 | |
| REPLICATION_MAX_FUNCTION | サーバーサイドでmax を実行するために使用する式名を、プロバイダーが指定できるようになります。 | |
| IGNORE_INTERVALS_ON_INITIAL_REPLICATE | 初回のレプリケートで、レプリケートをチャンクに分割しないテーブルのリスト。 | |
| CHECKCACHE_USE_PARENTID | CheckCache 構文を親キーカラムに対して実行するかどうかを示します。 | TRUE, FALSE |
| CREATE_SCHEMA_PROCEDURES | スキーマファイルの生成に使用できる、ストアドプロシージャを示します。 |
次のクエリは、WHERE 句で使用できる演算子を取得します。
SELECT * FROM sys_sqlinfo WHERE Name = 'SUPPORTED_OPERATORS'
WHERE 句では、個々のテーブルの制限や要件が異なる場合がありますので注意してください。詳しくは、データモデル セクションを参照してください。
| Name | Type | Description |
| NAME | String | SQL 構文のコンポーネント、またはサーバー上で処理できる機能。 |
| VALUE | String | サポートされるSQL またはSQL 構文の詳細。 |
試行された変更に関する情報を返します。
次のクエリは、バッチ処理で変更された行のId を取得します。
SELECT * FROM sys_identity
| Name | Type | Description |
| Id | String | データ変更処理から返された、データベース生成Id。 |
| Batch | String | バッチの識別子。1 は単一処理。 |
| Operation | String | バッチ内の処理の結果:INSERTED、UPDATED、またはDELETED。 |
| Message | String | SUCCESS、またはバッチ内の更新が失敗した場合のエラーメッセージ。 |
利用可能なシステム情報を説明します。
次のクエリは、すべてのカラムを取得します。
SELECT * FROM sys_information
| Name | Type | Description |
| Product | String | 製品名。 |
| Version | String | 製品のバージョン番号。 |
| Datasource | String | 製品が接続するデータソースの名前。 |
| NodeId | String | 製品がインストールされているマシンの固有識別子。 |
| HelpURL | String | 製品のヘルプドキュメントのURL。 |
| License | String | 製品のライセンス情報。(この情報が利用できない場合、この項目は空白のままか「N/A」と表示されます。) |
| Location | String | 製品のライブラリが格納されているファイルパスの場所。 |
| Environment | String | 製品が現在稼働している環境またはランタイムのバージョン。 |
| DataSyncVersion | String | 本コネクタを使用するために必要なCData Sync のティア。 |
| DataSyncCategory | String | CData Sync 機能のカテゴリ(例:Source、Destination)。 |
| プロパティ | 説明 |
| AuthScheme | The type of authentication to use when connecting to PayPal. |
| User | 認証するユーザーのユーザーID を指定します。 |
| Password | 認証するユーザーのパスワードを指定します。 |
| Signature | The signature required to use the SOAP API. |
| UseSandbox | A Boolean value indicating if you are using a Sandbox account. |
| プロパティ | 説明 |
| OAuthClientId | カスタムOAuth アプリケーションに割り当てられたクライアントID(コンシューマーキーとも呼ばれます)を指定します。このID は、認証時にOAuth 認可サーバーにアプリケーションを識別させるために必要です。 |
| OAuthClientSecret | カスタムOAuth アプリケーションに割り当てられたクライアントシークレットを指定します。この機密情報は、OAuth 認可サーバーに対してアプリケーションを認証するために使用されます。(カスタムOAuth アプリケーションのみ) |
| プロパティ | 説明 |
| SSLServerCert | TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。 |
| プロパティ | 説明 |
| Verbosity | ログファイルのVerbosity レベルを指定し、記録される情報の詳細度を制御します。サポートされる値の範囲は1から5までです。 |
| プロパティ | 説明 |
| BrowsableSchemas | レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
| Schema | The type of schema to use. |
| プロパティ | 説明 |
| IncludeDetails | A Boolean value indicating if you will get extra details (for example, the ShippingAddress fields when querying the Invoices table). |
| MaxRows | 集計やGROUP BY を含まないクエリで返される最大行数を指定します。 |
| PseudoColumns | テーブルカラムとして公開する擬似カラムを、'TableName=ColumnName;TableName=ColumnName' の形式の文字列で指定します。 |
| Timeout | provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。 |
このセクションでは、本プロバイダーの接続文字列で設定可能なAuthentication プロパティの全リストを提供します。
| プロパティ | 説明 |
| AuthScheme | The type of authentication to use when connecting to PayPal. |
| User | 認証するユーザーのユーザーID を指定します。 |
| Password | 認証するユーザーのパスワードを指定します。 |
| Signature | The signature required to use the SOAP API. |
| UseSandbox | A Boolean value indicating if you are using a Sandbox account. |
The type of authentication to use when connecting to PayPal.
string
"Basic"
The signature required to use the SOAP API.
string
""
The signature required to use the SOAP API.
Along with Signature, User and Password are required to access the Transaction and TransactionDetails tables.
To create an API signature, you need a PayPal business account. To create the signature, log in and click Profile. Click My Selling Tools and, in the Selling Online section, click Update in the API Access section. On the resulting page, click Request API Credentials.
A Boolean value indicating if you are using a Sandbox account.
bool
false
A Boolean value indicating if you are using a Sandbox account.
このセクションでは、本プロバイダーの接続文字列で設定可能なOAuth プロパティの全リストを提供します。
| プロパティ | 説明 |
| OAuthClientId | カスタムOAuth アプリケーションに割り当てられたクライアントID(コンシューマーキーとも呼ばれます)を指定します。このID は、認証時にOAuth 認可サーバーにアプリケーションを識別させるために必要です。 |
| OAuthClientSecret | カスタムOAuth アプリケーションに割り当てられたクライアントシークレットを指定します。この機密情報は、OAuth 認可サーバーに対してアプリケーションを認証するために使用されます。(カスタムOAuth アプリケーションのみ) |
カスタムOAuth アプリケーションに割り当てられたクライアントID(コンシューマーキーとも呼ばれます)を指定します。このID は、認証時にOAuth 認可サーバーにアプリケーションを識別させるために必要です。
string
""
このプロパティは2つのケースで必要となります:
(ドライバーが埋め込みOAuth 資格情報を提供する場合、この値はすでにCloud によって設定されており、手動で入力する必要がないことがあります。)
OAuthClientId は、認証付きの接続を構成する際に、OAuthClientSecret やOAuthSettingsLocation などの他のOAuth 関連プロパティと一緒に使用されるのが一般的です。
OAuthClientId は、ユーザーがOAuth 経由で認証を行う前に設定する必要がある、主要な接続パラメータの1つです。 この値は、通常、ID プロバイダーのアプリケーション登録設定で確認できます。 Client ID、Application ID、Consumer Key などとラベル付けされた項目を探してください。
クライアントID は、クライアントシークレットのような機密情報とは見なされませんが、アプリケーションの識別情報の一部であるため、慎重に取り扱う必要があります。公開リポジトリや共有設定ファイルでこの値を露出させないようにしてください。
接続設定時にこのプロパティを使用する方法の詳細については、接続の確立 を参照してください。
カスタムOAuth アプリケーションに割り当てられたクライアントシークレットを指定します。この機密情報は、OAuth 認可サーバーに対してアプリケーションを認証するために使用されます。(カスタムOAuth アプリケーションのみ)
string
""
このプロパティ(アプリケーションシークレットまたはコンシューマシークレットとも呼ばれます)は、安全なクライアント認証を必要とするすべてのフローでカスタムOAuth アプリケーションを使用する場合に必要です。たとえば、Web ベースのOAuth、サービスベースの接続、証明書ベースの認可フローなどが該当します。 組み込みOAuth アプリケーションを使用する場合は必要ありません。
クライアントシークレットは、OAuth フローのトークン交換ステップで使用されます。このステップでは、ドライバーが認可サーバーにアクセストークンを要求します。 この値が欠落しているか正しくない場合、認証はinvalid_client またはunauthorized_client エラーで失敗します。
OAuthClientSecret は、ユーザーがOAuth 経由で認証を行う前に設定する必要がある、主要な接続パラメータの1つです。この値は、OAuth アプリケーションを登録する際にID プロバイダーから取得できます。
Notes:
接続設定時にこのプロパティを使用する方法の詳細については、接続の確立 を参照してください。
このセクションでは、本プロバイダーの接続文字列で設定可能なSSL プロパティの全リストを提供します。
| プロパティ | 説明 |
| SSLServerCert | TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。 |
TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。
string
""
TLS/SSL 接続を使用している場合は、このプロパティを使用して、サーバーが受け入れるTLS/SSL 証明書を指定できます。このプロパティに値を指定すると、マシンによって信頼されていない他の証明書はすべて拒否されます。
このプロパティは、次のフォームを取ります:
| 説明 | 例 |
| フルPEM 証明書(例では省略されています) | -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE----- |
| 証明書を保有するローカルファイルへのパス。 | C:\cert.cer |
| 公開鍵(例では省略されています) | -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY----- |
| MD5 Thumbprint(hex 値はスペースまたはコロン区切り) | ecadbdda5a1529c58a1e9e09828d70e4 |
| SHA1 Thumbprint(hex 値はスペースまたはコロン区切り) | 34a929226ae0819f2ec14b4a3d904f801cbb150d |
Note:'*' を使用してすべての証明書を受け入れるように指定することも可能ですが、セキュリティ上の懸念があるため推奨されません。
このセクションでは、本プロバイダーの接続文字列で設定可能なLogging プロパティの全リストを提供します。
| プロパティ | 説明 |
| Verbosity | ログファイルのVerbosity レベルを指定し、記録される情報の詳細度を制御します。サポートされる値の範囲は1から5までです。 |
ログファイルのVerbosity レベルを指定し、記録される情報の詳細度を制御します。サポートされる値の範囲は1から5までです。
string
"1"
このプロパティは、Cloud がログファイルに含める詳細レベルを定義します。 Verbosity レベルを高くするとログに記録される情報の詳細が増えますが、ログファイルが大きくなり取り込まれるデータが増えるためパフォーマンスが低下する可能性があります。
デフォルトのVerbosity レベルは1で、通常の運用にはこれが推奨されます。 より高いVerbosity レベルは主にデバッグを目的としています。 各レベルの詳細については、ログ を参照してください。
LogModules プロパティと組み合わせることで、Verbosity は特定の情報カテゴリに対するログの詳細度を調整できます。
このセクションでは、本プロバイダーの接続文字列で設定可能なSchema プロパティの全リストを提供します。
| プロパティ | 説明 |
| BrowsableSchemas | レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
| Schema | The type of schema to use. |
レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。
string
""
利用可能なデータベーススキーマをすべてリストすると余分な時間がかかり、パフォーマンスが低下します。 接続文字列にスキーマのリストを指定することで、時間を節約しパフォーマンスを向上させることができます。
The type of schema to use.
string
"REST"
The schemas available are REST (to use the REST API) and SOAP (to use the Classic API).
Note: The SOAP API is DEPRECATED. Use the REST API instead for better access to resources.
このセクションでは、本プロバイダーの接続文字列で設定可能なMiscellaneous プロパティの全リストを提供します。
| プロパティ | 説明 |
| IncludeDetails | A Boolean value indicating if you will get extra details (for example, the ShippingAddress fields when querying the Invoices table). |
| MaxRows | 集計やGROUP BY を含まないクエリで返される最大行数を指定します。 |
| PseudoColumns | テーブルカラムとして公開する擬似カラムを、'TableName=ColumnName;TableName=ColumnName' の形式の文字列で指定します。 |
| Timeout | provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。 |
A Boolean value indicating if you will get extra details (for example, the ShippingAddress fields when querying the Invoices table).
bool
false
A Boolean value indicating if you will get extra details (for example, the ShippingAddress fields when querying the Invoices table).
集計やGROUP BY を含まないクエリで返される最大行数を指定します。
int
-1
このプロパティのデフォルト値である-1 は、クエリに明示的にLIMIT 句が含まれていない限り、行の制限が適用されないことを意味します。 (クエリにLIMIT 句が含まれている場合、クエリで指定された値がMaxRows 設定よりも優先されます。)
MaxRows を0より大きい整数に設定することで、クエリがデフォルトで過度に大きな結果セットを返さないようにします。
このプロパティは、非常に大きなデータセットを返す可能性のあるクエリを実行する際に、パフォーマンスを最適化し、過剰なリソース消費を防ぐのに役立ちます。
テーブルカラムとして公開する擬似カラムを、'TableName=ColumnName;TableName=ColumnName' の形式の文字列で指定します。
string
""
このプロパティを使用すると、Cloud がテーブルカラムとして公開する擬似カラムを定義できます。
個々の擬似カラムを指定するには、以下の形式を使用します。
Table1=Column1;Table1=Column2;Table2=Column3
すべてのテーブルのすべての擬似カラムを含めるには、次を使用してください:
*=*
provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。
int
60
タイムアウトは、クエリや操作全体ではなくサーバーとの個々の通信に適用されます。 例えば、各ページング呼び出しがタイムアウト制限内に完了する場合、クエリは60秒を超えて実行を続けることができます。
タイムアウトはデフォルトで60秒に設定されています。タイムアウトを無効にするには、このプロパティを0に設定します。
タイムアウトを無効にすると、操作が成功するか、サーバー側のタイムアウト、ネットワークの中断、またはサーバーのリソース制限などの他の条件で失敗するまで無期限に実行されます。
Note: このプロパティは慎重に使用してください。長時間実行される操作がパフォーマンスを低下させたり、応答しなくなる可能性があるためです。
LZMA from 7Zip LZMA SDK
LZMA SDK is placed in the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute the original LZMA SDK code, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
LZMA2 from XZ SDK
Version 1.9 and older are in the public domain.
Xamarin.Forms
Xamarin SDK
The MIT License (MIT)
Copyright (c) .NET Foundation Contributors
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
NSIS 3.10
Copyright (C) 1999-2025 Contributors THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
1. DEFINITIONS
"Contribution" means:
a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and b) in the case of each subsequent Contributor:
i) changes to the Program, and
ii) additions to the Program;
where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.
"Contributor" means any person or entity that distributes the Program.
"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.
"Program" means the Contributions distributed in accordance with this Agreement.
"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.
2. GRANT OF RIGHTS
a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.
b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.
d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.
3. REQUIREMENTS
A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:
a) it complies with the terms and conditions of this Agreement; and
b) its license agreement:
i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;
ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and
iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.
When the Program is made available in source code form:
a) it must be made available under this Agreement; and
b) a copy of this Agreement must be included with each copy of the Program.
Contributors may not remove or alter any copyright notices contained within the Program.
Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.
4. COMMERCIAL DISTRIBUTION
Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.
For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.
5. NO WARRANTY
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.
6. DISCLAIMER OF LIABILITY
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
7. GENERAL
If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.
All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.
Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.
This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.