PayPal Permissions Service May 2012 71
9
Permission Commands
The web flows associated with Permissions Service require you to redirect the account
holder’s browser to PayPal. When you redirect to the webscr endpoint, you must send a
command that identifies the flow and associated parameters.
_grant-permission Command
The account holder can log in to paypal.com and grant permissions to you when you redirect
the account holder’s browser to paypal.com with the _grant-permission command.
Redirect to PayPal using the _grant-permission command
Redirect to PayPal:
https://www.paypal.com/cgi-bin/webscr?
cmd=_grant-permission&request_token=token
Response to _grant-permission command from PayPal
PayPal redirects to the callback URL you set in the RequestPermissions request. It may
include the following parameters:
If the account holder canceled, no parameters are returned.
Parameter Description
cmd (Required) _grant-permission
request_token (Required) The token from the RequestPermissions response message.
Parameter Description
verification_code Verification code; returned if the account holder agreed to grant permissions.
Expires after 15 minutes.
request_token The token from the RequestPermissions response message; returned if the
account holder agreed to grant permissions.
Error An error code, which is equal to Internal Error if an error occurred.
Comments to this Manuals