GetPermissions API Operation
Last updated: Aug 15th, 7:18am
Important: The Adaptive Platform API 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.
Gets the permissions associated with an access token.
GetPermissionsRequest Message
GetPermissionsRequest Fields
Field | Description |
---|---|
| (Required) The access token that identifies a set of permissions. |
| (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 |
GetPermissionsResponse Message
GetPermissionsResponse Fields
Field | Description |
---|---|
| Any number of permission categories from the following list:
|
| 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. 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. The time is currently not supported. 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 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. 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. The time is currently not supported. Note: You must log and store this data for every response you receive. PayPal Technical Support uses the information to assist with reported issues. |
GetPermissions Errors
Code | Message | Additional Information |
---|---|---|
580022 | Invalid Access Token |
|