completePayPalTransaction


SoftLayer_Account::completePayPalTransaction

Complete the PayPal Payment Request process and receive confirmation message.

Description

Complete the PayPal Payment Request process and receive confirmation message. During the process of submitting a PayPal payment request, the customer is redirected to PayPal to confirm the request. Once confirmed, PayPal returns the customer to SoftLayer where an attempt is made to finalize the transaction. A status message regarding the attempt is returned to the calling function.

Parameters

Name Type Description
token string Value provided by PayPal to access paypal information and complete the transaction.
payerId string Paypal user identifier.

Required Headers

Optional Headers

  • None

Return Values

  • string
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string, string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Account/completePayPalTransaction'