On this page
No Headings
Last updated: May 20, 2026
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
To obtain the funding plans for a payment, specify values for the following fields:
| Field | Description |
|---|---|
payKey | The key used to create the payment whose funding sources you want to determine. |
requestEnvelope.errorLanguage | The code for the language in which errors are returned, which must be en_US. |
| Field | Description |
|---|---|
payKey | xs:string(Required) The key used to create the payment whose funding sources you want to determine. |
requestEnvelope | common:requestEnvelope(Required) Information common to each API operation, such as the language in which an error message is returned. |
| Field | Description |
|---|---|
detailLevel | common:DetailLevelCode(Optional) Level of detail required by the client application for components. Value is:
|
errorLanguage | xs:string(Required) RFC 3066 language in which error messages are returned; by default it is en_US, which is the only language currently supported. |
| Field | Description |
|---|---|
FundingPlan | ap:FundingPlanOne or more available funding sources for this payment. |
responseEnvelope | common:ResponseEnvelopeCommon response information, including a timestamp and the response acknowledgment status. |
| Field | Description |
|---|---|
fundingPlanId | xs:stringID for this funding plan. |
fundingAmount | common:CurrencyTypeAmount of available funding. |
backupFundingSource | ap:FundingSourceBackup funding source. |
senderFees | common:CurrencyTypeFees to be paid by the sender. |
currencyConversion | ap:CurrencyConversionThe currency conversion associated with the funding plan. |
charge | ap:FundingPlanChargeThe amount to be charged to this funding plan. |
| Field | Description |
|---|---|
amount | xs:decimalThe converted amount. |
code | xs:stringThe currency code for the converted amount. Value is:
|
| Field | Description |
|---|---|
lastFourOfAccountNumber | xs:stringLast 4 digits or characters in account number. |
type | xs:stringType of funding source, which is one of the following values:.
|
displayName | xs:stringDisplay name of funding source. |
fundingSourceId | xs:stringFunding source ID. |
allowed | xs:booleanWhether the funding source is allowed for this payment:
|
| Field | Description |
|---|---|
from | ap:CurrencyTypeThe currency to be converted. |
to | ap:CurrencyTypeThe currency resulting from the conversion. |
exchangeRate | xs:decimalThe exchange rate for the from currency to the to currency. |
| Field | Description |
|---|---|
ack | common:AckCodeAcknowledgment code. Value is:
|
build | xs:stringBuild number. It is used only by PayPal Merchant Technical Support. |
correlationId | xs:stringCorrelation identifier. It is a 13-character, alphanumeric string (for example, db87c705a910e) that is used only by PayPal Merchant Technical Support. Note: You must log and store this data for every response you receive. PayPal Technical Support uses the information to assist with reported issues. |
timestamp | xs:datetimeDate on which the response was sent, for example: 2012-04-02T22:33:35.774-07:00 Note: You must log and store this data for every response you receive. PayPal Technical Support uses the information to assist with reported issues. |
The PPFaultMessage returns ErrorData and the ResponseEnvelope information to your application if an error occurs.
| Field | Description |
|---|---|
error | common:ErrorDataDetailed error information. |
responseEnvelope | common:ResponseEnvelopeCommon response information, including a timestamp and the response acknowledgment status. |
| Field | Description |
|---|---|
category | common:ErrorCategoryThe location where the error occurred. Value is:
|
domain | xs:stringThe domain to which this service belongs. |
errorId | xs:longA 6-digit number that uniquely identifies a particular error. |
exceptionID | This field is not used. |
message | xs:stringA description of the error. |
parameter | common:ErrorParameterRepresents contextual information about the error. |
severity | common:ErrorSeverityThe severity of the error encountered. Value is:
|
subdomain | This field is not used. |
| Field | Description |
|---|---|
ack | common:AckCodeAcknowledgment code. Value is:
|
build | xs:stringBuild number. It is used only by PayPal Merchant Technical Support. |
correlationId | xs:stringCorrelation identifier. It is a 13-character, alphanumeric string (for example, db87c705a910e) that is used only by PayPal Merchant Technical Support. Note: You must log and store this data for every response you receive. PayPal Technical Support uses the information to assist with reported issues. |
timestamp | xs:datetimeDate on which the response was sent, for example: 2012-04-02T22:33:35.774-07:00 Note: You must log and store this data for every response you receive. PayPal Technical Support uses the information to assist with reported issues. |
| 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 |