CreatePurchase

From Gvp-public
Revision as of 12:42, 4 June 2014 by Rcalvo (talk | contribs)
Jump to navigation Jump to search

Description

Create a purchase for product

Parameters

  • token (String, required)
A valid token for identifying the API session context and logged user.
  • productId (int, required)
  • productType (int, required)
  • pricingModelId (int, required)
  • pin (String, required)
  • returnURL (String, required)
  • cancelURL (String, required)


Returns

Returns a JSON with a PurchaseResponse object containing information that Purchase has been created with success.

Example:

{

"Offset": 0,
"Limit": 100,
"Count": 6,
"Content":
[ PurchaseResponse object ]

}


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