RequestPermissions API Operation
Last updated: Aug 15th, 7:33am
Requests permissions to execute API operations on a PayPal account holder's behalf.
RequestPermissionsRequest Message
RequestPermissions Request Fields
Field | Description |
---|---|
| (Required) At least 1 of the following permission categories:
|
| (Required) Your callback function that specifies actions to take after the account holder grants or denies the request. |
| (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 |
RequestPermissionsResponse Message
RequestPermissions Response Fields
Field | Description |
---|---|
| (Required) A token from PayPal that enables the request to obtain permissions. |
| Common response information, including a timestamp and the response acknowledgment status. |
ResponseEnvelope Fields
Field | Description |
---|---|
| Acknowledgment code. Value is:
|
| Build number; it is used only by Merchant Technical Support. |
| Correlation ID; it is used only by Merchant Technical Support. |
| Date on which the response was sent. The time is currently not supported. |
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 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 Merchant Technical Support. |
| Correlation ID; it is used only by Merchant Technical Support. |
| Date on which the response was sent. The time is currently not supported. |
RequestPermission Errors
Code | Message | Additional Information |
---|---|---|
520002 | Internal error |
|
550001 | User is not allowed to perform this action |
|
560022 | Invalid API Caller Account |
|
580022 | Transaction refused because of an invalid argument. See additional error messages for details. |
|
580028 | Invalid Redirect URL |
|