API Module Reseller retrieveSettingsResellerRequest
From Openprovider API documentation
(Difference between revisions)
Line 34: | Line 34: | ||
===Raw XML=== | ===Raw XML=== | ||
+ | ''Please note that newlines and leading spaces are added only for readability. Those whitespaces should be excluded from your XML command before sending it to Openprovider.'' | ||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
<openXML> | <openXML> |
Revision as of 11:16, 23 March 2012
Contents |
Module Reseller > Retrieve Settings
Module | reseller |
Command name | retrieveSettingsResellerRequest |
Use | Retrieves information about the settings and configuration in your reseller account |
Input |
- |
Output |
|
Examples
Using PHP class
$request = new OP_Request; $request->setCommand('retrieveSettingsResellerRequest') ->setAuth(array('username' => 'username', 'password' => 'password')) ->setArgs(array( ));
Raw XML
Please note that newlines and leading spaces are added only for readability. Those whitespaces should be excluded from your XML command before sending it to Openprovider.
<?xml version="1.0" encoding="UTF-8"?> <openXML> <credentials> <username>username</username> <password>password</password> </credentials> <retrieveSettingsResellerRequest /> </openXML>
<?xml version="1.0" encoding="UTF-8"?> <openXML> <reply> < code>0</code> <desc /> <data> <currency>EUR</currency> <language>EN</language> <isAutoRenewEnabled>1</isAutoRenewEnabled> <minimumPayment>5000</minimumPayment> <minimumWesternUnionPayment>500</minimumWesternUnionPayment> <CreditCardFeePercent>3</CreditCardFeePercent> <maximumIDealPayment>1000</maximumIDealPayment> <maximumCreditCardPayment>970</maximumCreditCardPayment> <payMethods> <array> <item>credit_card</item> <item>western_union</item> <item>bank</item> </array> </payMethods> <signedContracts> <array> <item> <id>eu</id> <version>20060221</version> <modificationDate>2006-02-21 14:33:32</modificationDate> <isSigned>1</isSigned> <signOnDate>2006-11-13 11:47:45</signOnDate> </item> <item> <id>com</id> <version>20060221</version> <modificationDate>2006-02-21 14:33:32</modificationDate> <isSigned>1</isSigned> <signOnDate>2006-09-15 11:07:23</signOnDate> </item> <item> <id>info</id> <version>20060221</version> <modificationDate>2006-02-21 14:33:32</modificationDate> <isSigned>1</isSigned> <signOnDate>2007-06-14 15:01:49</signOnDate> </item> </array> </signedContracts> </data> </reply> </openXML>