Difference between revisions of "GetPaymentSettings"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_Method_Spec| Description=Get the instance payments settings available on the instance. |Parameters= {{Api_Parameter| ParamName=token |ParamType=String |ParamRequired=r...")
 
Line 27: Line 27:
 
:    <span style="color: #a11;">"StatusMessage"</span>: <span style="color: #164;">"OK"</span>,
 
:    <span style="color: #a11;">"StatusMessage"</span>: <span style="color: #164;">"OK"</span>,
 
:    <span style="color: #a11;">"Content"</span>:  
 
:    <span style="color: #a11;">"Content"</span>:  
::      <span style="color: #219;">"PaypalCurrency": "BRL",
+
::      <span style="color: #219;">"PaypalCurrency": "BRL",</span>
::         "WorldpayCurrency": "",
+
::       <span style="color: #219;">"WorldpayCurrency": "",</span>
::         "WorldpayMacSecret": "qew964uje5fjg5"</span>  
+
::       <span style="color: #219;">"WorldpayMacSecret": "qew964uje5fjg5"</span>  
 
}
 
}
  

Revision as of 19:40, 15 July 2014

Description

Get the instance payments settings available on the instance.

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
  • instanceId (int, required)
The number (ID) of one instance that represent an OB registered in this environment. The same of the user has been registered.


Returns

Returns a JSON object containing the payment settings.

Example:

{

"Statuscode": 0,
"Severity": 1,
"StatusMessage": "OK",
"Content":
"PaypalCurrency": "BRL",
"WorldpayCurrency": "",
"WorldpayMacSecret": "qew964uje5fjg5"

}


Exceptions

  • None


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