Bitcoin Forum

Bitcoin => Project Development => Topic started by: cloverme on March 21, 2016, 03:00:03 AM



Title: Coinkite API / PHP
Post by: cloverme on March 21, 2016, 03:00:03 AM
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?


Title: Re: Coinkite API / PHP
Post by: tyz on March 21, 2016, 06:47:59 PM
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?