{"uid":"cap_bqEvVz12SMC90PTk2aPws","slug":"spraay-payroll-execute-b3b4aba5","name":"Spraay Payroll Execute","description":"Execute payroll via Spraay V2.","url":"https://gateway.spraay.app/api/v1/payroll/execute","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"token":{"type":"string"},"sender":{"type":"string"},"employees":{"type":"array"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_avZ0CIgfzfMxYcXu_mchO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes a payroll run, disbursing payments to a list of employees via the Spraay V2 payroll system.","exampleAgentPrompt":"Run payroll for my team using Spraay — the sender is 0xABC123 and the employee list includes Alice at 0xDEF456 for $3,000 and Bob at 0xGHI789 for $2,500.","exampleUseCases":[{"title":"Monthly salary run for remote team","prompt":"It's end of month — run payroll for my five remote employees using Spraay. Sender is our company wallet 0xCOMP001 and here's the list: Alice 0xE001 $4,000, Bob 0xE002 $3,500, Carol 0xE003 $3,200, Dave 0xE004 $2,800, Eve 0xE005 $2,600."},{"title":"Contractor batch payment after project","prompt":"We just finished a project sprint — pay out all six contractors via Spraay payroll. The sender wallet is 0xFIRM42 and here are the contractors and their amounts: [list of employees with addresses and amounts]."},{"title":"Automated bi-weekly payroll trigger","prompt":"Trigger the bi-weekly payroll run on Spraay for our current employee roster. Use sender address 0xPAYROLL99 and process payments for the full employee array I have configured."}],"resultDescription":"Returns a payroll execution confirmation including transaction status, a summary of disbursements made to each employee, and any errors or failed payments in the batch.","failureModes":["Invalid or expired token returns authentication error","Malformed employee array (missing address or amount) causes validation failure","Insufficient sender balance causes transaction failure","Network or chain congestion may delay execution confirmation","Empty employee array returns a no-op or validation error"],"whenToPreferThis":"Use this endpoint when you need to programmatically trigger a payroll disbursement to multiple employees or contractors in a single batch call via the Spraay V2 system, especially in agentic or automated HR/finance workflows where payroll should run on schedule or on-demand without manual intervention.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:48:52.022Z","isFirstParty":false}