{
  "x402Version": 2,
  "id": 14199,
  "slug": "14199",
  "resource": "https://x402toll.com/v1/commerce/tip-split",
  "description": "Tip amount, total, and per-person split for a restaurant bill.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x1C9923489CD7D75Dd2f6735c48090b8bD4c7E5a9",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "billAmount": 1,
            "numPeople": 1,
            "tipPct": 18
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "inputs": {
              "billAmount": 1,
              "numPeople": 1,
              "tipPct": 18
            },
            "perPersonTip": 0.18,
            "perPersonTotal": 1.18,
            "tipAmount": 0.18,
            "totalWithTip": 1.18
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "billAmount": {
                    "type": "number"
                  },
                  "numPeople": {
                    "default": 1,
                    "type": "number"
                  },
                  "tipPct": {
                    "default": 18,
                    "type": "number"
                  }
                },
                "required": [
                  "billAmount"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "additionalProperties": true,
                "properties": {
                  "inputs": {
                    "type": "object"
                  },
                  "perPersonTip": {
                    "type": "number"
                  },
                  "perPersonTotal": {
                    "type": "number"
                  },
                  "tipAmount": {
                    "type": "number"
                  },
                  "totalWithTip": {
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402toll.com",
  "lastUpdated": "2026-09-17T03:28:12.659Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-17T03:28:12.385Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402toll.com",
    "manifest_name": "x402toll.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}