WebMoney
Registration

Web Service

If you use WebMoney, you can automate the process of links shortening via our web service here.

Request format:

<?xml version="1.0" encoding="UTF-8"?>
<data>
    <url></url>
    <findold></findold>
    <user>
        <uwmid></uwmid>
        <sign></sign>
    </user>
    <security>
        <swmid></swmid>
        <…>
        <swmid></swmid>
    </security>
</data>

url
the link that need to be shortened
findold
optional element, false (default) - a new short link being generated, true – first searching for a previously generated short link for this url, if not found the new link won’t be generated, and the previously generated short link is returned
uwmid
WMID of the user
sign
request signature, formed by the WMSigner module, from the following parameters: url + uwmid
security
Optional element, which should contain the list of WMIDs
swmid
WMIDs which have access to the shortening link

Response format:

<data>
    <url></url>
</data>

url
Short link