API document

Here is the API of pmbtc.io, you can access our exchanger by post data only.

Ok,let me introduce.

‹BTC›.If you want to exchange PM to BTC by pmbtc.io, you should post the amount of USD and the address to receive BTC,the variable name of amount USD is <PAYMENT_AMOUNT> and the variable name of BTC address is<BTC_ADDR>.

You just need to post these two variables to the follow link:

https://pmbtc.io/btc/payment.php?direct

Here is the example:

<form action="https://pmbtc.io/btc/payment.php?direct" name="fcaptcha" method="post" target="_blank">
<input type="hidden" value="<?php echo $usd_amount?>" name="PAYMENT_AMOUNT"><br>
<input type="hidden" value="<?php echo $btc_address?>" name="BTC_ADDR"><br>
<input type="submit" name="direct" value="PAY NOW !">
</form>

Also you can post amount of BTC and address of BTC.

Here is the example:

<form action="https://pmbtc.io/btc/payment.php?direct" name="fcaptcha" method="post" target="_blank">
<input type="hidden" value="<?php echo $btc_amount?>" name="PAYMENT_AMOUNT_BTC"><br>
<input type="hidden" value="<?php echo $btc_address?>" name="BTC_ADDR"><br>
<input type="submit" name="direct" value="PAY NOW !">
</form>

But remember, Do not post amount of USD and amount of BTC both.

Our rate is $18445.04(Bitcoin market price)+12%=$20658.4448, Get our BTC rate here:

https://pmbtc.io/btcrate

0.00002BTC exchange fee for every order to anti tiny balance exchange.

 

 

‹BCH›.If you want to exchange PM to BCH by pmbtc.io, you should post the amount of USD and the address to receive BCH,the variable name of amount USD is <PAYMENT_AMOUNT> and the variable name of BCH address is<BCH_ADDR>.

You just need to post these two variables to the follow link:

https://pmbtc.io/pm2bch/payment.php?direct

Here is the example:

<form action="https://pmbtc.io/pm2bch/payment.php?direct" name="fcaptcha" method="post" target="_blank">
<input type="hidden" value="<?php echo $usd_amount?>" name="PAYMENT_AMOUNT"><br>
<input type="hidden" value="<?php echo $bch_address?>" name="BCH_ADDR"><br>
<input type="submit" name="direct" value="PAY NOW !">
</form>

Also you can post amount of BCH and address of BCH.

Here is the example:

<form action="https://pmbtc.io/pm2bch/payment.php?direct" name="fcaptcha" method="post" target="_blank">
<input type="hidden" value="<?php echo $btc_amount?>" name="PAYMENT_AMOUNT_BCH"><br>
<input type="hidden" value="<?php echo $btc_address?>" name="BCH_ADDR"><br>
<input type="submit" name="direct" value="PAY NOW !">
</form>

But remember, Do not post amount of USD and amount of BCH both.

Our rate is $315.36(Bitcoin market price)+10%=$346.896, Get our BCH rate here:

https://pmbtc.io/bchrate

 

 

‹LTC›.If you want to exchange PM to Litecoin,you should post the amount of USD and the address to receive LTC,the variable name of amount USD is <PAYMENT_AMOUNT> and the variable name of LTC address is<LTC_ADDR>.

You just need to post these two variables to the follow link:

https://pmbtc.io/ltc/payment.php?direct

Example of code:

<form action="https://pmbtc.io/ltc/payment.php?direct" name="fcaptcha" method="post" target="_blank">
<input type="hidden" value="<?php echo $usd_amount?>" name="PAYMENT_AMOUNT"><br>
<input type="hidden" value="<?php echo $ltc_address?>" name="LTC_ADDR"><br>
<input type="submit" name="direct" value="PAY NOW !">
</form>

Also you can post amount of LTC and address of LTC.

Example:

<form action="https://pmbtc.io/ltc/payment.php?direct" name="fcaptcha" method="post" target="_blank">
<input type="hidden" value="<?php echo $ltc_amount?>" name="PAYMENT_AMOUNT_LTC"><br>
<input type="hidden" value="<?php echo $ltc_address?>" name="LTC_ADDR"><br>
<input type="submit" name="direct" value="PAY NOW !">
</form>

But remember, Do not post amount of USD and amount of LTC both.

 

 

‹DOGE›.If you want to exchange PM to Dogecoin,you should post the amount of USD and the address to receive DOGE,the variable name of amount USD is <PAYMENT_AMOUNT> and the variable name of DOGE address is<DOGE_ADDR>.

You just need to post these two variable to the follow link:

https://pmbtc.io/doge/payment.php?direct

Example:

<form action="https://pmbtc.io/doge/payment.php?direct" name="fcaptcha" method="post" target="_blank">
<input type="hidden" value="<?php echo $usd_amount?>" name="PAYMENT_AMOUNT"><br>
<input type="hidden" value="<?php echo $doge_address?>" name="DOGE_ADDR"><br>
<input type="submit" name="direct" value="PAY NOW !">
</form>

Also you can post amount of DOGE and address of DOGE.

Example:

<form action="https://pmbtc.io/doge/payment.php?direct" name="fcaptcha" method="post" target="_blank">
<input type="hidden" value="<?php echo $doge_amount?>" name="PAYMENT_AMOUNT_DOGE"><br>
<input type="hidden" value="<?php echo $doge_address?>" name="DOGE_ADDR"><br>
<input type="submit" name="direct" value="PAY NOW !">
</form>

But remember, Do not post amount of USD and amount of DOGE both.

If you have any issue about API development,contact us admin@pmbtc.io,we will give you technic support.