{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentpay-so/json-schema/agentpay-so-ap2-request-body-schema.json",
  "title": "Ap2RequestBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentpay-so-ap2-api-openapi.yml#/components/schemas/Ap2RequestBody",
  "type": "object",
  "required": [
    "payerId",
    "payeeId",
    "amountUsdc",
    "taskDescription"
  ],
  "properties": {
    "payerId": {
      "type": "string"
    },
    "payeeId": {
      "type": "string"
    },
    "amountUsdc": {
      "type": "number"
    },
    "taskDescription": {
      "type": "string"
    },
    "callbackUrl": {
      "type": "string",
      "format": "uri"
    },
    "ttlSeconds": {
      "type": "integer",
      "default": 300
    }
  }
}