User Tools

Site Tools


http-micropayments

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
http-micropayments [2015/10/24 17:35] donpdonphttp-micropayments [2015/10/24 17:39] donpdonp
Line 4: Line 4:
 #### Retrieving payment data for a resource/URI #### Retrieving payment data for a resource/URI
   * GET <URI>   * GET <URI>
-    * 200 or 402: receives txout in headers. computes signed tx.+    * 200 or 402: receives json txout/addr in header.
     * OR second request with content-type: application/micropayment -> receives json     * OR second request with content-type: application/micropayment -> receives json
 +  * Uses browser extension to handle bitcoin private keys and sign the txout.
   * POST <URI>   * POST <URI>
     * content-type: application/micropayment; sends {tx: 'tx', refund: 'addr', etc.}     * content-type: application/micropayment; sends {tx: 'tx', refund: 'addr', etc.}
http-micropayments.txt · Last modified: 2024/01/31 04:08 by 127.0.0.1