API 参考Payroll Runs
Get a single payroll run with summary statistics
Returns full details of a payroll run including payout summary counts
and fund transfer status. Requires payroll:read scope.
Authorization
apiKey AuthorizationBearer <token>
API key: Authorization: Bearer mpk_live_<key>
In: header
Path Parameters
run_id*string
Payroll run identifier
Response Body
application/json
application/json
curl -X GET "https://motivation-money.vercel.app/api/v1/payroll-runs/run_cm5x8k2a3000108l3g8h1j2k4"{
"data": null,
"api_version": "2026-03-01",
"request_id": "req_f1a2b3c4"
}{
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "No payroll run found with ID 'run_invalid'.",
"details": {
"resource_type": "payroll_run",
"resource_id": "run_invalid"
},
"recovery_hint": "Verify the resource ID. Use the list endpoint to find valid IDs."
}
}