GetFundingPlans API Operation
Last updated: Aug 15th, 7:34am
Important: Adaptive Payments is not available for new integrations. PayPal provides this documentation to support existing integrations. If you're starting an integration, we recommend our latest solutions.
Determines the available funding sources for a payment, identified by its key, which takes into account the preferences and country of the receiver as well as the payment amount. You must be both the sender of the payment and the caller of this API operation
GetFundingPlans Overview
To obtain the funding plans for a payment, specify values for the following fields:
Table 1 . Required fields
Field | Description |
---|---|
| The key used to create the payment whose funding sources you want to determine. |
| The code for the language in which errors are returned, which must be |
Additional Notes About the Pay API Operation
- The GetFundingPlans API operation is only available for implicitly approved payments, meaning you must be both the sender and the caller of the Pay API operation identified by the pay key.
GetFundingPlansRequest Message
GetFundingPlansRequest Fields
Field | Description |
---|---|
|
(Required) The key used to create the payment whose funding sources you want to determine. |
|
(Required) Information common to each API operation, such as the language in which an error message is returned. |
RequestEnvelope Fields
Field | Description |
---|---|
|
(Optional) Level of detail required by the client application for components. Value is:
|
|
(Required) RFC 3066 language in which error messages are returned; by default it is |
GetFundingPlansResponse Message
GetFundingPlansResponse Fields
Field | Description |
---|---|
|
One or more available funding sources for this payment. |
|
Common response information, including a timestamp and the response acknowledgment status. |
FundingPlan Fields
Field | Description |
---|---|
|
ID for this funding plan. |
|
Amount of available funding. |
|
Backup funding source. |
|
Fees to be paid by the sender. |
|
The currency conversion associated with the funding plan. |
|
The amount to be charged to this funding plan. |
CurrencyType Fields
Field | Description |
---|---|
|
The converted amount. |
|
The currency code for the converted amount. Value is:
|
FundingSource Fields
Field | Description |
---|---|
|
Last 4 digits or characters in account number. |
|
Type of funding source, which is one of the following values:.
|
|
Display name of funding source. |
|
Funding source ID. |
|
Whether the funding source is allowed for this payment:
|
CurrencyConversion Fields
Field | Description |
---|---|
|
The currency to be converted. |
|
The currency resulting from the conversion. |
|
The exchange rate for the |
ResponseEnvelope Fields
Field | Description |
---|---|
|
Acknowledgment code. Value is:
|
|
Build number. It is used only by PayPal Merchant Technical Support. |
|
Correlation identifier. It is a 13-character, alphanumeric string (for example, Note: You must log and store this data for every response you receive. PayPal Technical Support uses the information to assist with reported issues. |
|
Date on which the response was sent, for example:
Note: You must log and store this data for every response you receive. PayPal Technical Support uses the information to assist with reported issues. |
PPFault Message
The PPFaultMessage
returns ErrorData
and the ResponseEnvelope
information to your application if an error occurs.
FaultMessage Fields
Field | Description |
---|---|
|
Detailed error information. |
|
Common response information, including a timestamp and the response acknowledgment status. |
ErrorData Fields
Field | Description |
---|---|
|
The location where the error occurred. Value is:
|
|
The domain to which this service belongs. |
|
A 6-digit number that uniquely identifies a particular error. |
| This field is not used. |
|
A description of the error. |
|
Represents contextual information about the error. |
|
The severity of the error encountered. Value is:
|
| This field is not used. |
ResponseEnvelope Fields
Field | Description |
---|---|
|
Acknowledgment code. Value is:
|
|
Build number. It is used only by PayPal Merchant Technical Support. |
|
Correlation identifier. It is a 13-character, alphanumeric string (for example, Note: You must log and store this data for every response you receive. PayPal Technical Support uses the information to assist with reported issues. |
|
Date on which the response was sent, for example:
Note: You must log and store this data for every response you receive. PayPal Technical Support uses the information to assist with reported issues. |
GetFundingPlan Errors
Code | Message | Additional Information |
---|---|---|
520002 | Internal error | |
520003 | Authentication failed. API credentials are incorrect. | Since 1.6.0 |
540031 | Operation is not permitted because the credentials do not match those of the initial operation | Since 1.6.0 |
550001 |
| Since 1.6.0 |
580001 | Invalid request: <value> | Since 1.6.0 |
580022 |
| Since 1.6.0 |
580027 | This parameter is not supported | Since 1.6.0 |
580029 | A pay key, transaction ID, or tracking ID is missing | Since 1.6.0 |
580030 | This transaction cannot be processed at this time. Please try again later. | Since 1.3.0 |