Difference between revisions of "ConfirmPurchase"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_Method_Spec| Description=Confirm a purchase |Parameters= {{Api_Parameter| ParamName=token |ParamType=String |ParamRequired=required |ParamDescription=A valid token for...")
 
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
 
|ParamType=String
 
|ParamType=String
 
|ParamRequired=required
 
|ParamRequired=required
|ParamDescription=A valid token for identifying the API session context. The token can be anonymous or logged.
+
|ParamDescription=user token
 
}}
 
}}
 
{{Api_Parameter|
 
{{Api_Parameter|
Line 21: 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