February 2013

⟵ Back to News Archive

Retrieve current balance remotely via XML

To retrieve your current account balance remotely, post an XML request as follows:

URL to post:

https://vendors.bmtmicro.com/servlets/Vendors.XMLRequest

method=”post”

XML request format:

<?xml version="1.0" encoding="utf-8"?>
<request>
<balances>
<apitoken>Replace this with your APIToken</apitoken>
</balances>
</request>

You will receive a response like this:

<?xml version="1.0" encoding="utf-8"?>
<response>
<balances>
<vendorid>YourVendorID</vendorid>
<time>2013-02-07 22:59:23</time>
<balance>
<amount>587.11</amount>
<currency>USD</currency>
</balance>
</balances>
</response>

The balance section is repeated, as needed, for additional currencies (vendors who get paid in all three currencies will see three separate balances).

Your APIToken can be found in the Settings section.


⟵ Back to News Archive

Skip to toolbar