{"uid":"cap_x2Y-nHcwI_2Tn50SBuTlR","slug":"zensched-account-set-payroll-period-d7bfcb3c","name":"ZenSched account_set_payroll_period","description":"ZenSched `account_set_payroll_period` — Set the org payroll period (vendor timesheet_period_definition). Required before mode=processed timesheet exports. Pass definition (0-11) or key (e.g. weekly_monday). Call account_get to see options and current window. Pay-per-call $0.01 USDC; the paying wallet owns the org (auto-provisioned on first call). Catalog: https://mcp.zensched.com/x402/tools","url":"https://mcp.zensched.com/x402/tools/account_set_payroll_period?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","title":"account_set_payroll_periodArguments","properties":{"key":{"type":"string","title":"Key","default":""},"definition":{"type":"integer","title":"Definition","default":-1},"idempotency_key":{"type":"string","title":"Idempotency Key","default":""}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MKzSu0S6HQeEZbcNYbFFN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sets the organization's payroll period definition, required before exporting timesheets in processed mode.","exampleAgentPrompt":"Set my ZenSched org's payroll period to weekly starting on Monday — use the key 'weekly_monday' — so I can start exporting processed timesheets.","exampleUseCases":[{"title":"Weekly payroll setup before timesheet export","prompt":"Configure my ZenSched org's payroll period to weekly_monday so I can run a processed timesheet export this Friday."},{"title":"Switch org to bi-weekly pay cycle","prompt":"Change my ZenSched organization's payroll period definition to bi-weekly — use definition index 2 — before I pull the next payroll report."},{"title":"Initialize payroll period for new org","prompt":"My ZenSched org was just auto-provisioned and I need to set the payroll period to monthly before doing anything else — what's the right key to use and can you set it for me?"}],"resultDescription":"Returns the updated org account state reflecting the newly configured payroll period definition, including the current timesheet period window and any relevant billing confirmation for the $0.01 USDC pay-per-call charge.","failureModes":["Invalid definition index (outside 0-11 range) returns an error","Invalid key string that doesn't match a known period type","Wallet does not own the org — org ownership is tied to the paying wallet on first call","Duplicate call without idempotency key may cause unexpected state if mid-flight","API returns error if org is not yet provisioned and wallet has no balance"],"whenToPreferThis":"Use this endpoint when you need to configure or change the payroll period for a ZenSched organization, specifically as a prerequisite step before exporting timesheets in processed mode. It is the only way to set the timesheet_period_definition vendor setting. Use account_get first to see the list of valid definition indices and keys, and the current active window.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T06:40:07.018Z","isFirstParty":false,"canonicalSlug":"zensched-account-set-payroll-period-d7bfcb3c"}