How to integration Blockchain Payment API in Asp.Net?

1

I am new to using the Blockchain API. I have tried several times to use
https://blockchain.info/merchant/$guid/payment?password=$password&second_password=$second_password&to=$to&amount=$amount
but it always redirects me to https://blockchain.info/api/blockchain_wallet_api instead.

I don't understand why it doesn't give any response.

Hitesh

Posted 2016-08-23T10:45:26.183

Reputation: 51

Answers

2

I'm assuming you're new to API.

The link you gave, https://blockchain.info/merchant/$guid/payment?password=$password&second_password=$second_password&to=$to&amount=$amount

Is only a template for an API request. You need to swap out the $guid with your merchant wallet id, e.g.

4b8cd8e9-9480-44cc-b7f2-527e98ee3287

You also need to substitute every other variable starting with a $ with the respective information.

e.g. password=<insert password here>

Whyte the Weeabear

Posted 2016-08-23T10:45:26.183

Reputation: 530

Many time i try it on browser but it redirect to https://blockchain.info/api/blockchain_wallet_api page

Hitesh 2016-08-24T16:12:16.877

This means that you are still using the API wrongly.Whyte the Weeabear 2016-09-05T23:06:10.387