Bitcoin Forum
December 11, 2024, 09:51:15 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Need help with wallet API  (Read 127 times)
cryptoworld99 (OP)
Member
**
Offline Offline

Activity: 84
Merit: 22


View Profile
May 04, 2020, 06:09:32 AM
 #1

Can anyone look into https://www.sendbit.io/page/api-documentation and suggest?
cryptoworld99 (OP)
Member
**
Offline Offline

Activity: 84
Merit: 22


View Profile
May 04, 2020, 06: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
mocacinno
Legendary
*
Offline Offline

Activity: 3598
Merit: 5277


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
May 04, 2020, 06: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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
cryptoworld99 (OP)
Member
**
Offline Offline

Activity: 84
Merit: 22


View Profile
May 04, 2020, 06: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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!