Difference between revisions of "CancelPurchase"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_Method_Spec| Description=Cancel a instance purchase by transaction ID and PAYPAL Token. Should be used by logged user. |Parameters= {{Api_Parameter| ParamName=token |...")
 
 
Line 23: Line 23:
 
|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
 
}}
 
}}
  

Latest revision as of 14:33, 15 February 2016

Description

Cancel a instance purchase by transaction ID and PAYPAL Token.

Should be used by logged user.

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
  • transactionId (String, required)
  • paypalToken (String, required)
  • deviceType (int, required)
device type
  • instanceID (int, required)
instance


Returns

Returns a JSON object containing true for success.

Example:

{

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

}


Exceptions

  • None


Caching

This method is not cached but clean the user cache.


Known issues

  • None


Version history

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


See also