SerenAI

Pay Per Call Agentic Commerce

OnchainDepositRequest

Request body for on-chain deposit

Properties

PropertyTypeRequiredDescription
amount string Yes Amount to deposit in the configured asset (decimal string, e.g., "10.50")
asset_id string,null No Optional asset id to deposit (defaults to publisher primary asset)
publisher_id string Yes Publisher to deposit funds for
View JSON Schema
{
  "type": "object",
  "description": "Request body for on-chain deposit",
  "required": [
    "publisher_id",
    "amount"
  ],
  "properties": {
    "amount": {
      "type": "string",
      "description": "Amount to deposit in the configured asset (decimal string, e.g., \"10.50\")"
    },
    "asset_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "Optional asset id to deposit (defaults to publisher primary asset)"
    },
    "publisher_id": {
      "type": "string",
      "format": "uuid",
      "description": "Publisher to deposit funds for"
    }
  }
}