TechArticle
API de dinero
Contrato preparado de API publica para agregar ingresos, gastos y transferencias a u0life.
Create money records
Money records store income, expenses and transfers. They are useful for payment webhooks, invoices, bank exports and project cost automation.
This resource contract is prepared for the upcoming public money endpoint. The live public API currently creates tasks.
POST
/public-api/v1/moneys/
Prepared contract for creating one money record.
{
"type": 1,
"price": 120.50,
"description": "Invoice payment received.",
"date": "2026-06-16 16:30:00",
"card": 3,
"client_id": 15,
"project_id": 8,
"task_id": 123,
"category_id": 4
}
Fields
type
required
Money operation type: income, expense or transfer depending on the user configuration.
price
required
Amount as a number.
card
optional
Source card/account ID owned by the API key user.
to_card
optional
Destination card/account ID for transfers.
description
optional
Comment shown on the money record.
date
optional
Date/time of the operation.
client_id
optional
Existing client owned by the API key user.
project_id
optional
Existing project owned by the API key user.
task_id
optional
Existing task owned by the API key user.
category_id
optional
Existing category owned by the API key user.