Diagon Alley: Decentralised Market-Stalls

Make a list of products to sell, point your list of products at a public indexer. Buyers browse your products on the indexer, and pay you directly. Ratings are managed by the indexer. Your stall can be listed in multiple indexers, even over TOR, if you wish to be anonymous.
More information on the Diagon Alley Protocol
Created by, Ben Arc

GET /api/v1/diagonalley/stall/products/<indexer_id>
Body (application/json)
Returns 201 CREATED (application/json)
Product JSON list
Curl example
curl -X GET {{ request.url_root }}diagonalley/api/v1/diagonalley/stall/products/<indexer_id>
POST /api/v1/diagonalley/stall/order/<indexer_id>
Body (application/json)
{"id": <string>, "address": <string>, "shippingzone": <integer>, "email": <string>, "quantity": <integer>}
Returns 201 CREATED (application/json)
{"checking_id": <string>,"payment_request": <string>}
Curl example
curl -X POST {{ request.url_root }}diagonalley/api/v1/diagonalley/stall/order/<indexer_id> -d '{"id": <product_id&>, "email": <customer_email>, "address": <customer_address>, "quantity": 2, "shippingzone": 1}' -H "Content-type: application/json"
GET /diagonalley/api/v1/diagonalley/stall/checkshipped/<checking_id>
Headers
Returns 200 OK (application/json)
{"shipped": <boolean>}
Curl example
curl -X GET {{ request.url_root }}diagonalley/api/v1/diagonalley/stall/checkshipped/<checking_id> -H "Content-type: application/json"