Difference between revisions of "GetPaymentSettings"
Jump to navigation
Jump to search
Line 33: | Line 33: | ||
|Exceptions= | |Exceptions= | ||
− | * | + | * [[InvalidInstanceException]] |
|Cache= | |Cache= |
Latest revision as of 19:50, 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
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 |