draft optional kind=21000 kind=1022 kind=10021
Minimal setup for allowing payments on LAN networks. Default port 2121
The Server MUST take a http POST request containing a valid Payment event in the request body.
If the TollGate accepts the provided payment it MUST return http 200 OK response where the body is a kind=1022 TollGate Session event.
If the payment is invalid, it MAY return a http 402 Payment Required status.
curl -X POST http://192.168.1.1:2121/ # TollGate IP
  -H "Content-Type: application/json" \
  -d '{
    "kind": 21000,
    ...
  }'
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 456
{
  "kind": 1022,
  ...
}
HTTP/1.1 402 Payment Required
Content-Type: text/plain
Content-Length: 15
This mint is not accepted
A GET request on the root endpoint MAY return http 200 OK response where the  body is a kind=10021 TollGate Discovery event.
curl -X GET http://192.168.1.1:2121/ # TollGate IP
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 398
{
  "kind": 10021,
  ...
}