Guest  Login
Reader

WMTransfer Wiki
Interface X3

Interface X3. Receiving Transactions History. Checking Transaction status.

  
       <w3s.request>
           <reqn></reqn>
           <wmid></wmid>
           <sign></sign>
           <getoperations>
                <purse></purse>
                <wmtranid></wmtranid>
                <tranid></tranid>
                <wminvid></wminvid>
                <orderid></orderid>
                <datestart></datestart>
                <datefinish></datefinish>
           </getoperations>
         </w3s.request>
   
 
  • Request parameters
Name Purpose Description
reqn Request number An integer, maximum 15 digits; *Should always be greater than the number of previous request submitted!!!
wmid Signer’s WMID Is used only with WM Keeper Classic authorization method;
sign Request signature Uses the following parameters: purse + reqn Is used only with WM Keeper Classic authorization method;
getoperations Parameters of requested operation used in the search purse, datestart, datefinish are mandatory parameters, the rest may be left empty or set to 0;
getoperations\purse WMID purse number for which the transaction is requested;  
getoperations\wmtranid Transaction number (in WebMoney system) An integer > 0;
getoperations\tranid Transfer number Transfer number set by sender; an integer without delimiter (see trans\tranid in Interface X2)
getoperations\wminvid Invoice number (in WebMoney system for which the transaction was made) An integer > 0;
getoperations\orderid Invoice number Invoice number set by merchant; an integer without delimiter (see trans\tranid in Interface X2)
getoperations\datestart Minimum date and time of transaction execution YYYYMMDD HH:MM:SS
getoperations\datefinish Maximum date and time of transaction execution YYYYMMDD HH:MM:SS
  • Response format
<w3s.response>
	<reqn></reqn>
	<retval></retval>
	<retdesc></retdesc>
	<operations cnt="n">
		<operation id="n1" ts="n2">
			<pursesrc></pursesrc>
			<pursedest></pursedest>
			<amount></amount>
			<comiss></comiss>
			<opertype></opertype>
			<tranid></tranid>
			<wminvid></wminvid>
			<orderid></orderid>
			<period></period>
			<desc></desc>
			<datecrt></dateupd>
			<dateupd></dateupd>
		</operation>
		<operation>...</operation>
	</operations>
</w3s.response>
  • Response parameters
Name Purpose Description
reqn Request number  
retval Execution code 0 – means that the request was executed successfully; Check the execution code table for detailed information;
retdesc Execution code description  
operations List of transfers received in response cnt attribute defines number of transfers satisfying the request
operations\operation Transfer parameters id attribute is unique invoice number in WebMoney system
ts stands for auxiliary number of the invoice in the WebMoney system
operation\pursesrc Sender’s purse number  
operation\pursedest Recipient’s purse number  
operation\amount Amount of the sum transferred  
operation\comiss Fee charged for the transfer  
operation\opertype Transfer type outgoing transfer:
-0 – simple,
-4 – protected (not completed),
-12 – protected (refunded).
Incoming transfer:
-2 – simple,
-6 – protected (not completed),
-14 – protected (refunded).
operation\wminvid Invoice number (in the WebMoney system) of the transaction An integer > 0; 0 means that transfer is made without invoice
operation\orderid Invoice number set by merchant An integer > 0; 0 means that transfer is made without invoice
operation\tranid Transaction number Transaction number set by the sender; an integer without delimiter; it should be unique for each transaction (the same tranid should not be used for two transactions);
operation\period Protection period in days An integer in the range 0 – 255; 0 – means that protection is prohibited;
operation\desc Description of the product or service  
operation\datecrt Date and time of the transaction creation  
operation\dateupd Date and time of the latest transaction status change  
operation\corrwm Correspondent’s WMID  
operation\rest Rest after transaction In transactions with protection the rest for sender is displayed at transaction start, for recipient – at transaction finish; if the transaction is not completed yet – the rest is displayed for the moment of transaction start
operation\timelock not completed transaction with protection by time tag is present, only if the transaction is not completed yet

See also: XML-interfaces

Category: XML-Interfaces

This article in other languages: Русский