action motaword_get_user_earnings { label: "Returns your vendor earnings. Includes real-time earnings from ongoing projects, and fixed earnings from completed projects. Also includes total earnings and string edits." provider: motaword method: GET path: "/{userId}/earnings" encoding: json input: { type: "object" properties: { userId: { type: "integer" format: "int64" } } required: ["userId"] additionalProperties: false } output: { type: "object" properties: { completed: { type: "array" items: { type: "object" } } ongoing: { type: "array" items: { type: "object" additionalProperties: true } } total: { type: "number" format: "float" } } } }