User Tools

Site Tools


pagepay

**This is an old revision of the document!**

PagePay Protocol

Request Header

X-Page-Pay: “”

Response Header:

X-Page-Pay: “”

User Flow

Add to wallet

Click on UI button, btc address displayed for deposits, along with balance. 3rd party api required for balance check.

Opt-in/Whitelist

  1. Before-hook for any URL visit (url bar, mouse click, redirect, etc)
  2. check URL presence on whitelist 2a1. If exists, add X-Page-Pay: “detail” to request headers 2b1. If not exists, do nothing 2b2. Check response headers for X-Page-Pay 2b3. If exists, light up UI button to indicate possibility of adding URL to whitelist

Payment Policies

  • Rate Limited, Fixed Amount 1. Send a fixed amount Y to every visited page on the whitelist 2. Rate limit of X payments per URL per hour

Firefox addon

[UI button on main toolbar]

pagepay.1461339414.txt.gz · Last modified: 2024/01/31 04:08 (external edit)