Difference between revisions of "SetInstanceDeviceDefaultPayment"

From Gvp-public
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
|Parameters=
 
|Parameters=
  
 +
{{Api_Parameter|
 +
ParamName=token
 +
|ParamType=String
 +
|ParamRequired=required
 +
|ParamDescription=A valid token for identifying the API session context. The token can be anonymous or logged.
 +
}}
 
{{Api_Parameter|
 
{{Api_Parameter|
 
ParamName=paymentMethodType
 
ParamName=paymentMethodType
Line 24: Line 30:
  
 
|Exceptions=
 
|Exceptions=
* None
+
* [[AuthenticationRequiredException]]
  
 
|Cache=
 
|Cache=

Latest revision as of 21:35, 24 July 2014

Description

Sets a instance default payment method.

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
  • paymentMethodType (int, required)


Returns

Returns a JSON object containing true for successful.

Example:

{

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

}


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