{
  "manifest_version": "1.0.0",
  "template": {
    "id": "d760f9e7-f0e3-4463-85ce-b66ce54c08c9",
    "slug": "masumi-compliant-service-api-official",
    "name": "Masumi Compliant Service API Official",
    "description": "Deploy Masumi-compliant AI agent wrapper",
    "url": "https://railway.com/deploy/masumi-compliant-service-api-official",
    "upstream": {
      "repo_url": "https://github.com/masumi-network/agentic-service-wrapper"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "masumi-service-api",
      "source": {
        "repo": "https://github.com/masumi-network/agentic-service-wrapper"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "masumi-service-api",
      "description": "default:8080",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "NETWORK",
      "service": "masumi-service-api",
      "description": "Preprod or Mainnet",
      "secret": false,
      "strategy": "default",
      "default": "Preprod"
    },
    {
      "key": "SELLER_VKEY",
      "service": "masumi-service-api",
      "description": "vkey of a wallet, set as seller for this agent (retrieve from your Masumi Payment Service)",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "PAYMENT_API_KEY",
      "service": "masumi-service-api",
      "description": "admin or payment API key (token) for your running Masumi Payment Service",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "AGENT_IDENTIFIER",
      "service": "masumi-service-api",
      "description": "agent ID which will be assigned after registration of the agentic service via Masumi Payment Service",
      "secret": false,
      "strategy": "default",
      "default": "YOUR_AGENT_IDENTIFIER"
    },
    {
      "key": "PAYMENT_SERVICE_URL",
      "service": "masumi-service-api",
      "description": "valid URL of the payment service of your Masumi Payment Service (include https://... and .../api/v1)",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "masumi-compliant-service-api-official"
      }
    },
    "cli": "railway deploy --template masumi-compliant-service-api-official",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "d760f9e7-f0e3-4463-85ce-b66ce54c08c9",
            "serializedConfig": {
              "services": {
                "18faf319-b8a2-418c-a920-1b314c03b0b0": {
                  "icon": "https://utfs.io/f/HmmUGAhVEi3OliGhfbcoSB1TfFV07kdupeC3OQj5HAPvZD8h",
                  "name": "masumi-service-api",
                  "deploy": {
                    "healthcheckPath": "health"
                  },
                  "source": {
                    "repo": "masumi-network/agentic-service-wrapper",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "description": "default:8080",
                      "defaultValue": "8080"
                    },
                    "NETWORK": {
                      "description": "Preprod or Mainnet",
                      "defaultValue": "Preprod"
                    },
                    "SELLER_VKEY": {
                      "isOptional": false,
                      "description": "vkey of a wallet, set as seller for this agent (retrieve from your Masumi Payment Service)",
                      "defaultValue": "{{SELLER_VKEY}}"
                    },
                    "PAYMENT_API_KEY": {
                      "description": "admin or payment API key (token) for your running Masumi Payment Service",
                      "defaultValue": "{{PAYMENT_API_KEY}}"
                    },
                    "AGENT_IDENTIFIER": {
                      "isOptional": false,
                      "description": "agent ID which will be assigned after registration of the agentic service via Masumi Payment Service",
                      "defaultValue": "YOUR_AGENT_IDENTIFIER"
                    },
                    "PAYMENT_SERVICE_URL": {
                      "description": "valid URL of the payment service of your Masumi Payment Service (include https://... and .../api/v1)",
                      "defaultValue": "{{PAYMENT_SERVICE_URL}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "masumi-service-api",
      "method": "GET",
      "path": "health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-13T04:14:39.446Z",
  "generator_version": "0.1.0"
}
