http-micropayments
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
http-micropayments [2015/10/24 17:35] – donpdonp | http-micropayments [2015/10/24 18:16] – donpdonp | ||
---|---|---|---|
Line 4: | Line 4: | ||
#### Retrieving payment data for a resource/ | #### Retrieving payment data for a resource/ | ||
* GET <URI> | * GET <URI> | ||
- | * 200 or 402: receives txout in headers. computes signed tx. | + | * 200 or 402: receives |
* OR second request with content-type: | * OR second request with content-type: | ||
+ | * Uses browser extension to handle bitcoin private keys and sign the txout. | ||
* POST <URI> | * POST <URI> | ||
* content-type: | * content-type: | ||
#### HTTP Header | #### HTTP Header | ||
- | more featureful | + | encoded in no-spaces json. |
+ | |||
+ | Paying | ||
``` | ``` | ||
- | X-micropayment: | + | X-micropayment: |
``` | ``` | ||
or simply list receiving address | or simply list receiving address | ||
``` | ``` | ||
- | X-micropayment: | + | X-micropayment: |
``` | ``` | ||
Line 33: | Line 36: | ||
* Better to embed in HTML doc | * Better to embed in HTML doc | ||
* other mime types? png/ | * other mime types? png/ | ||
+ | |||
+ | #### Implementations | ||
+ | * Client | ||
+ | * browser addon | ||
+ | * Server | ||
+ | * PHP snippet | ||
+ | * Wordpress plugin | ||
+ | |||
http-micropayments.txt · Last modified: 2024/01/31 04:08 by 127.0.0.1