Difference between revisions of "ConfirmPurchase"
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...") |
(No difference)
|
Revision as of 15:24, 24 July 2014
Description
Confirm a purchase
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)
Returns
Returns a JSON object containing an answer with true for successful.
Example:
{
- "StatusCode": 0,
- "Severity": 1,
- "StatusMessage": "OK",
- "Content":
}
Exceptions
- NotWebpayPurchaseException
- TransactionIdDoesntMatchPurchaseIdException
- WebpayMontoDoesntMatchPurchasePriceException
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 |