Difference between revisions of "ConfirmPurchase"

From Gvp-public
Jump to navigation Jump to search
 
Line 4: Line 4:
 
|Parameters=
 
|Parameters=
  
 +
{{Api_Parameter|
 +
ParamName=token
 +
|ParamType=String
 +
|ParamRequired=required
 +
|ParamDescription=user token
 +
}}
 
{{Api_Parameter|
 
{{Api_Parameter|
 
ParamName=transactionId
 
ParamName=transactionId
Line 15: Line 21:
 
|ParamRequired=required
 
|ParamRequired=required
 
|ParamDescription=
 
|ParamDescription=
 +
}}
 +
{{Api_Parameter|
 +
ParamName=deviceType
 +
|ParamType=int
 +
|ParamRequired=required
 +
|ParamDescription=device type
 +
}}
 +
{{Api_Parameter|
 +
ParamName=instanceId
 +
|ParamType=int
 +
|ParamRequired=required
 +
|ParamDescription=instance id
 
}}
 
}}
  

Latest revision as of 14:41, 15 February 2016

Description

Confirm a purchase

Parameters

  • token (String, required)
user token
  • transactionId (String, required)
  • paypalToken (String, required)
  • deviceType (int, required)
device type
  • instanceId (int, required)
instance id


Returns

Returns a JSON object containing an answer with true for successful.

Example:

{

"StatusCode": 0,
"Severity": 1,
"StatusMessage": "OK",
"Content":

}


Exceptions


Caching

This method is not cached.


Known issues

  • None


Version history

API Version Number Change description Changes author
1.0 Initial method design Harley Cabral


See also