API Documentation

/completePreapproval
API operation used to complete a preapproval request.  Special permissions are required to access this endpoint.
Production:
Test:
https://tippingcircle.com/rest/v1/completePreapproval
http://test.tippingcircle.com/rest/v1/completePreapproval

Request
Remember to include the OAuth values in the Authorization Header to authenticate the request.
  Param Description
* preapprovalConfirmationCode The confirmation code returned when the user completes the preapproval with PayPal.
POST https://tippingcircle.com/rest/v1/completePreapproval
Content-Type: 'application/json'
Authorization: OAuth realm="",
oauth_consumer_key="E4ZcTipHc3CozLB3jknSTK2et",
oauth_nonce="dn5st4g",
oauth_signature="gtj49bsnzb6lw6h73tp3g72o81",
oauth_signature_method="HMAC-SHA1",
oauth_timestamp="1366151475",
oauth_version="1.0"

{
"preapprovalConfirmationCode": "XYmd43SlksEiousW9"
}

Response
The success response includes the user's data.  Special permission is required to get the email address.
{
"success": true,
"message": "String content",
"errorCode": 0,
"systemUser": {
"Email": "email@example.com",
"FirstName": "John",
"FullName": "John Doe",
"IsPreapproved": true,
"LastName": "Doe",
"ProfilePhotoUrl": "https://profilephotourl",
"SocialConnectionId": 987654,
"UserId": 123456
}
}