Pyxpyb - Private Payment Gateway
9 | 10 |12 | Pyxpub is a simple self-hosted webapp that generates unique payment requests for Bitcoin Cash. It can do this as a simple webpage with a Bitcoin Cash address and corresponding QR code or as a JSON request. It can be accessed directly, be embedded in a webpage through an iframe, or you can do JSON requests through the API. All generated Bitcoin Cash addresses are derived from a pre-defined (Electron Cash) xpub key. 13 |
14 |
28 | curl 'http://localhost:8080/payment?amount=0.0023&label=SHOP:1Wed2B44'
29 |
30 | {
31 | "payment": {
32 | "amount": "0.0023",
33 | "addr": "bitcoincash:qpej4uw429m9m0wawcphw9v4sch2ymd6qsqh7jx9gl",
34 | "legacy_addr": "1BVx9uf5UGJDt1eMqjut8qh1K4mmEeDSFQ",
35 | "label": "SHOP:1Wed2B44",
36 | "qr_img": "/qr?addr=bitcoincash:qpej4uw429m9m0wawcphw9v4sch2ymd6qsqh7jx9gl&amount=0.0023&label=SHOP:1Wed2B44",
37 | "payment_uri": "bitcoincash:qpej4uw429m9m0wawcphw9v4sch2ymd6qsqh7jx9gl?amount=0.0023&message=SHOP:1Wed2B44"
38 | }
39 | }
40 |
41 |
42 | <iframe width=100% height=450px scrolling="no" frameborder=0 src="https://donate.devzero.be"></iframe>
45 |
46 |
47 | With amount & label parameters
48 | <iframe width=100% height=470px scrolling="no" frameborder=0 src="https://donate.devzero.be/?amount=0.0123&label=MESG456"></iframe>
49 |
50 |