Author

Topic: Need help with wallet API (Read 128 times)

member
Activity: 84
Merit: 22
May 04, 2020, 01:44:04 AM
#4
Well, that's not really how i want api documentation to be written.

That being said, it's basically a cut-and-paste example in php. Which language will you use for your project?

--snip--


Just need help to understand


$callback_url = "https://site.com/IPN.php?user=2450";

If I don't declare any ?user=xx value will the following data still get sent back to my callback URL?

The following details will be sent to your callback URL upon receiving payments, Payment notification are sent every minute up until the transaction gets 3 confirmations.

$address = $_POST["address"];
$amount = $_POST["amount"];
$confirmations = $_POST["confirmations"];
$hash = $_POST["hash"];
$auth_hmac = $_POST["auth_hmac"];


Thank you

Sure. address, amount, confirmations, hash and auth_hmac will be posted to your callback url.


Legend! Thank you for clarification. I am building a website to sell HTML templates and wish to accept bitcoin payments.
legendary
Activity: 3612
Merit: 5297
https://merel.mobi => buy facemasks with BTC/LTC
May 04, 2020, 01:38:52 AM
#3
Well, that's not really how i want api documentation to be written.

That being said, it's basically a cut-and-paste example in php. Which language will you use for your project?

--snip--


Just need help to understand


$callback_url = "https://site.com/IPN.php?user=2450";

If I don't declare any ?user=xx value will the following data still get sent back to my callback URL?

The following details will be sent to your callback URL upon receiving payments, Payment notification are sent every minute up until the transaction gets 3 confirmations.

$address = $_POST["address"];
$amount = $_POST["amount"];
$confirmations = $_POST["confirmations"];
$hash = $_POST["hash"];
$auth_hmac = $_POST["auth_hmac"];


Thank you

Sure. address, amount, confirmations, hash and auth_hmac will be posted to your callback url.
member
Activity: 84
Merit: 22
May 04, 2020, 01:38:02 AM
#2
Be specific when you're asking a question, which part of the API you need help? I can't help, but others who've used the API might able to help if your question is specific enough.

What are you trying to do/achieve using this API? It's possible you fell on XY problem.


Just need help to understand


$callback_url = "https://site.com/IPN.php?user=2450";

If I don't declare any ?user=xx value will the following data still get sent back to my callback URL?

The following details will be sent to your callback URL upon receiving payments, Payment notification are sent every minute up until the transaction gets 3 confirmations.

$address = $_POST["address"];
$amount = $_POST["amount"];
$confirmations = $_POST["confirmations"];
$hash = $_POST["hash"];
$auth_hmac = $_POST["auth_hmac"];


Thank you
member
Activity: 84
Merit: 22
May 04, 2020, 01:09:32 AM
#1
Can anyone look into https://www.sendbit.io/page/api-documentation and suggest?
Jump to: