CancelPurchase

From Gvp-public
Jump to navigation Jump to search

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