pagepay
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
pagepay [2016/04/22 15:32] – created donpdonp | pagepay [2024/01/31 04:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # PagePay | ||
+ | |||
+ | A simple system of micropayments from browsers to websites via HTTP headers and crypto coins. | ||
+ | |||
+ | ## Protocol | ||
+ | |||
+ | #### Request Header | ||
+ | X-Page-Pay: "" | ||
+ | |||
+ | #### Response Header: | ||
+ | X-Page-Pay: "" | ||
+ | |||
## User Flow | ## User Flow | ||
- | ### Add to wallet | + | #### Add to wallet |
Click on UI button, btc address displayed for deposits, along with balance. | Click on UI button, btc address displayed for deposits, along with balance. | ||
3rd party api required for balance check. | 3rd party api required for balance check. | ||
- | ### Opt-in/ | + | #### Opt-in/ |
- | 1. Visit URL | + | ``` |
- | 2. Before page load, check URL presence on whitelist | + | |
- | 2a1. If exists, | + | if URL presence on whitelist |
- | 2b1. If not exists, do nothing | + | |
- | 2b2. Check response headers | + | light up UI button to indicate payment sent |
- | 2b3. If exists, | + | |
+ | If response headers | ||
+ | | ||
+ | ``` | ||
+ | #### Payment Policies | ||
+ | |||
+ | * Rate Limited, Fixed Amount | ||
+ | * Send a fixed amount Y to every visited page on the whitelist | ||
+ | * Rate limit of X payments per URL per hour | ||
## Firefox addon | ## Firefox addon | ||
[UI button on main toolbar] | [UI button on main toolbar] | ||
+ | |||
pagepay.1461339139.txt.gz · Last modified: 2024/01/31 04:08 (external edit)