Affiliate Program API
Automated purchase via invoice payment in the WebMoney system
In order to access purchase interfaces as well as purchases from a fixed WMID you need to send a request to [email protected]
Invoice creating
Request format
Request parameters
Response format
<digiseller.response>
<retval>0</retval>
<retdesc/>
<inv>
<id>48330696</id>
<name><![CDATA[ World of Warcraft Legion (RUS) ]]></name>
<type_good>2</type_good>
<wm_id>612197088190</wm_id>
<link>https://www.oplata.info/info/buy.asp?id_i=48330696&uid=8723Y790EHFE411DB2651F8EDC05F442</link>
<wm_inv>630666050</wm_inv>
<wm_purse>R781352104789</wm_purse>
<uid>8723Y790EHFE411DB2651F8EDC05F442</uid>
</inv>
</digiseller.response>
Response parameters
Invoice paying
To pay the invoice you need to use the X2 interface of the WebMoney system. As the trans\wminvid parameter, you need to provide the wm_inv value, which you received in step one.
Getting your purchases
Request format
Request parameters
- {order ID} — Digiseller order number, received in step 3.1
- UID — UID for receiving the purchasereceived in step 3.1
Response format
<digiseller.response>
<retval>0</retval>
<retdesc></retdesc>
<typegood>G2</typegood>
<file>
<name_in>40402174305503.djvu</name_in>
<link>
http://www.oplata.info/download/3667866_l2884y392n3641k329a72093h1421o5173.djvu
</link>
<link2>
http://www.oplata.info/info/download.asp?filename=3667866_l2884y392n3641k329a72093h1421o5173.djvu
</link2>
<size>5147775</size>
</file>
<text></text>
</digiseller.response>