Bitcoin Forum
May 13, 2024, 11:03:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Coinkite API / PHP  (Read 406 times)
cloverme (OP)
Legendary
*
Offline Offline

Activity: 1512
Merit: 1057


SpacePirate.io


View Profile WWW
March 21, 2016, 03:00:03 AM
 #1

Has anyone developed a method for PHP to use the CoinKite API?  I'm looking to use the GET /v1/list/receives method and can't find a PHP example for it.

https://docs.coinkite.com/api/list.html#ckreqreceive
Code:
GET /v1/list/receives
Users should use a receive request to generate a new, unique, pubkey address whenever they ask external entities for funds. This allows better privacy and permits tracking of who has paid you.

Contains the fields of all requests (see shared fields) with these differences.

JSON Response Fields
CK_refnum: The CK Reference Number for the notification.
CK_type: Expect CKReqReceive.
CK_req_type: Expect recv.
coin: Details related to pubkey offered (see search/address)
qr_url: A string that can be encoded into QR image.
events: List of list/credits deposits that have occured to credit this pubkey.
show_public: (boolean) Make a public page for this request?
show_memo: (boolean) Show the memo on public page?
show_username: (boolean) Does the public page include the username?
1715598182
Hero Member
*
Offline Offline

Posts: 1715598182

View Profile Personal Message (Offline)

Ignore
1715598182
Reply with quote  #2

1715598182
Report to moderator
1715598182
Hero Member
*
Offline Offline

Posts: 1715598182

View Profile Personal Message (Offline)

Ignore
1715598182
Reply with quote  #2

1715598182
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
tyz
Legendary
*
Offline Offline

Activity: 3360
Merit: 1531



View Profile
March 21, 2016, 06:47:59 PM
 #2

I didn't. But if the response is not that deeply nested then I could write it down for you. It should not be a big deal. Guess, the repsonse format is Json, right?
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!