{
  "openapi": "3.1.0",
  "info": {
    "title": "The Drift Exchange API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://trading-post-bypass.demo.chambers.cfdata.org"
    }
  ],
  "paths": {
    "/api/buy/{id}": {
      "post": {
        "summary": "Purchase an item",
        "operationId": "buyItem",
        "responses": {
          "200": {
            "description": "Purchased"
          }
        },
        "x-payment-info": {
          "intent": "purchase",
          "method": "mpp",
          "amount": {
            "value": "10.00",
            "currency": "USD"
          },
          "currency": "USD",
          "description": "Purchase an item from the trading post"
        }
      }
    }
  }
}