| Namespace | http://www.mulesoft.org/schema/mule/paypal |
|---|---|
| Schema Location | http://www.mulesoft.org/schema/mule/paypal/current/mule-paypal.xsd (View Schema) |
| Schema Version | 2.0 |
| Minimum Mule Version | 3.2 |
Cloud connector for Paypal.
PayPal is a service that enables you to pay, send money, and accept payments without revealing your financial information.
PayPal acts like a digital wallet where you can securely store all your payment options, such as your bank account and credit card. When you want to make a payment, you don't have to pull out your credit card or type your billing info every time. Simply click on the PayPal checkout button, log in to your PayPal account, and select your preferred payment method. We'll complete the payment process—without sharing your info with merchants and sellers.
This connector lets mule users to perform
| Configuration | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Configure an instance of this module
| |||||||||||
| Message Processors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Confirms whether a postal address and postal code match those of the specified
PayPal account holder.
| |||||||||||
Authorize a payment
| |||||||||||
Capture an authorized payment.
| |||||||||||
Process a credit card payment.
| |||||||||||
Void an order or an authorization.
| |||||||||||
Obtain the available balance for a PayPal account.
| |||||||||||
Obtain your Pal ID, which is the PayPal-assigned merchant account number,
and other information about your account.
| |||||||||||
Obtain information about a specific transaction.
| |||||||||||
Accept or deny a pending transaction held by Fraud Management Filters.
| |||||||||||
Make a payment to one or more PayPal account holders.
| |||||||||||
Reauthorize an amount for a previously authorized transaction.
| |||||||||||
Issue a refund to the PayPal account holder associated with a transaction.
| |||||||||||
To use the this module within a flow the namespace to the module must be included. The resulting flow will look similar to the following:
<mule xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:paypal="http://www.mulesoft.org/schema/mule/paypal"
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/core
http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/paypal
http://www.mulesoft.org/schema/mule/paypal/current/mule-paypal.xsd">
<!-- here goes your flows and configuration elements -->
</mule>
This module is configured using the config element. This element must be placed outside of your flows and at the root of your Mule application. You can create as many configurations as you deem necessary as long as each carries its own name.
Each message processor, message source or transformer carries a config-ref attribute that allows the invoker to specify which configuration to use.
| Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Type | Name | Default Value | Description | Java Type | MIME Type | Encoding | Optional. Give a name to this configuration so it can be later referenced. | ||||
| Optional. Default currency used if none is specified in the operation | |||||||||||
| Paypal password | |||||||||||
| PayPal-generated unique digital signature. | |||||||||||
| Optional. An indicator in an API call of the account for whom the call is being made | |||||||||||
| Paypal username | |||||||||||
Confirms whether a postal address and postal code match those of the specified PayPal account holder.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The email of the account's holder | String | */* | UTF-8 | ||
| The street to verify | String | */* | UTF-8 | ||
| The zip address to verify | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| AddressVerifyResponseType | AddressVerifyResponseType with the confirmation status of for parameter. |
Authorize a payment
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The value of the order's transaction identification number returned by PayPal. Character length and limits: 19 single-byte characters maximum. | String | */* | UTF-8 | ||
| Amount to authorize. Limitations: Value is a positive number which cannot exceed $10,000 USD in any currency. No currency symbol. Must have two decimal places, decimal separator must be a period (.), and the optional thousands separator must be a comma (,). | String | */* | UTF-8 | ||
| Optional. The currency in which amount is expressed. If it is null, then the defaultCurrency is used. | CurrencyCode | */* | |||
| Optional. Type of transaction to authorize. The only allowable value is Order, which means that the transaction represents a customer order that can be fulfilled over 29 days. | TransactionEntity | */* |
| Return Type | Description |
|---|---|
| DoAuthorizationResponseType | DoAuthorizationResponseType with transaction and authorization information. |
Capture an authorized payment.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The authorization identification number of the payment you want to capture. This is the transaction id returned from DoExpressCheckoutPayment or DoDirectPayment. Character length and limits: 19 single-byte characters maximum. | String | */* | UTF-8 | ||
| The value Complete indicates that this the last capture you intend to make. The value NotComplete indicates that you intend to make additional captures | boolean | */* | |||
| Amount to capture. Limitations: Value is a positive number which cannot exceed $10,000 USD in any currency. No currency symbol. Must have two decimal places, decimal separator must be a period (.), and the optional thousands separator must be a comma (,). | String | */* | UTF-8 | ||
| Optional. The currency in which amount is expressed. If it is null, then the defaultCurrency is used. | CurrencyCode | */* | |||
| Optional. Your invoice number or other identification number that is displayed to the merchant and customer in his transaction history. NOTE: This value on DoCapture will overwrite a value previously set on DoAuthorization. NOTE: The value is recorded only if the authorization you are capturing is an order authorization, not a basic authorization. Character length and limits: 127 single-byte alphanumeric characters. | String | */* | UTF-8 | ||
| Optional. An informational note about this settlement that is displayed to the payer in email and in his transaction history. Character length and limits: 255 single-byte characters. | String | */* | UTF-8 | ||
| Optional. The soft descriptor is a per transaction description of the payment that is passed to the consumer's credit card statement. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| DoCaptureResponseType | A DoCaptureResponseType. Only the authorization ID, transaction ID, transaction type, payment date, gross amount and payment status are guaranteed to be returned. If you need the values of other fields and they are not returned, you can obtain their values later by calling GetTransactionDetails or by using the reporting mechanism. |
Process a credit card payment.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| IP address of the payer's browser. NOTE: PayPal records this IP addresses as a means to detect possible fraud. Character length and limitations: 15 single-byte characters, including periods, for example: 255.255.255.255. | String | */* | UTF-8 | ||
| Optional. How you want to obtain payment: () "Authorization" indicates that this payment is a basic authorization subject to settlement with PayPal Authorization & Capture. () "Sale" indicates that this is a final sale for which you are requesting payment. | PaymentActionCode | */* | |||
| Optional. Flag to indicate whether you want the results returned by Fraud Management Filters. By default, you do not receive this information. | Boolean | */* |
| Name | Default Value | Description | Java Type |
|---|---|---|---|
| Credit card details | Map<String, Object> | ||
| Payment details | Map<String, Object> |
| Return Type | Description |
|---|---|
| DoDirectPaymentResponseType | DoDirectPaymentResponseType with information about the payment. |
Void an order or an authorization.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The original authorization ID specifying the authorization to void or, to void an order, the order ID. IMPORTANT: If you are voiding a transaction that has been reauthorized, use the ID from the original authorization, and not the reauthorization. Character length and limits: 19 single-byte characters. | String | */* | UTF-8 | ||
| Optional. An informational note about this void that is displayed to the payer in email and in his transaction history. Character length and limits: 255 single-byte characters | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| DoVoidResponseType | a DoVoidResponseType
|
Obtain the available balance for a PayPal account.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| true | Optional. If true, returns the balance for each currency holding, otherwise only the balance for the primary currency holding | Boolean | */* |
| Return Type | Description |
|---|---|
| GetBalanceResponseType | the balance for the account GetBalanceResponseType |
Obtain your Pal ID, which is the PayPal-assigned merchant account number, and other information about your account. You need the account number when working with dynamic versions of PayPal buttons and logos.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. |
| Return Type | Description |
|---|---|
| GetPalDetailsResponseType | GetPalDetailsResponseType with the account details. |
Obtain information about a specific transaction.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Unique identifier of a transaction. NOTE: The details for some kinds of transactions cannot be retrieved with GetTransactionDetails. You cannot obtain details of bank transfer withdrawals, for example. Character length and limitations: 17 single-byte alphanumeric characters. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| GetTransactionDetailsResponseType | GetTransactionDetailsResponseType with the transaction details. |
Accept or deny a pending transaction held by Fraud Management Filters.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The transaction ID of the payment transaction. | String | */* | UTF-8 | ||
| The operation you want to perform on the transaction, which is one of the following actions: () Accept - accepts the payment () Deny - rejects the payment | FMFPendingTransactionAction | */* |
| Return Type | Description |
|---|---|
| ManagePendingTransactionStatusResponseType | ManagePendingTransactionStatusResponseType with the ID and current status of the transactin. |
Make a payment to one or more PayPal account holders.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The subject line of the email that PayPal sends when the transaction is completed. The subject line is the same for all recipients. Character length and limitations: 255 single-byte alphanumeric characters. | String | */* | UTF-8 | ||
| Indicates how you identify the recipients of payments in this call to MassPay. Must be EmailAddress or UserID. | ReceiverInfoCode | */* |
| Name | Default Value | Description | Java Type |
|---|---|---|---|
| Details of each payment. NOTE: A single request can include up to 250 MassPayItems. | List<MassPayRequestItemType> |
| Return Type | Description |
|---|---|
| MassPayResponseType | MassPayResponseType with no specific information about the payments. |
Reauthorize an amount for a previously authorized transaction.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The value of a previously authorized transaction identification number returned by PayPal. Character length and limits: 19 single-byte characters maximum. | String | */* | UTF-8 | ||
| Amount to reauthorize. Limitations: Value is a positive number which cannot exceed $10,000 USD in any currency. No currency symbol. Must have two decimal places, decimal separator must be a period (.), and the optional thousands separator must be a comma (,). | String | */* | UTF-8 | ||
| Optional. The currency in which amount is expressed. If it is null, then the defaultCurrency is used. | CurrencyCode | */* |
| Return Type | Description |
|---|---|
| DoReauthorizationResponseType | DoReauthorizationResponseType containing payment status and the new authorization identification number. |
Issue a refund to the PayPal account holder associated with a transaction.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Unique identifier of a transaction. Character length and limitations: 17 single-byte alphanumeric characters. | String | */* | UTF-8 | ||
| Optional. Your own invoice or tracking number. Character length and limitations: 127 single-byte alphanumeric characters | String | */* | UTF-8 | ||
| Type of refund you are making: () Full - default () Partial | Refund | */* | |||
| Refund amount. Amount is required if RefundType is Partial. NOTE: If RefundType is not specified, do not set the Amount. | String | */* | UTF-8 | ||
| Optional. The currency in which amount is expressed. If it is null, then the defaultCurrency is used. | CurrencyCode | */* | |||
| Optional. Custom memo about the refund. Character length and limitations: 255 single-byte alphanumeric characters. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| RefundTransactionResponseType | RefundTransactionResponseType with information about the refunded amount (transaction fee redunded, gross, net and total refunded amount) |