📄 MIPYME Documents
Create a new payment
POST
URL del endpoint
https://api-billing.koywe.com/V1/payments
Creates a new payment with the given details.
Parámetros
Sin parámetros.
Cuerpo de la solicitud — campos
| Campo | Tipo | Obligatoriedad | Descripción |
|---|---|---|---|
payment_date | string (date) | Siempre obligatorio | The date of the payment. |
document_id | string | Siempre obligatorio | The ID of the document associated with the payment. |
payment_type_id | string | Siempre obligatorio | The ID of the payment type. |
payment_amount | number | Siempre obligatorio | The amount of the payment. |
payment_details | string | Opcional | Additional details about the payment. |
cash_account_id | string | Siempre obligatorio | The ID of the cash account associated with the payment. |
Ejemplo JSON del cuerpo
{
"payment_date": "string",
"document_id": "string",
"payment_type_id": "string",
"payment_amount": 0,
"payment_details": "string",
"cash_account_id": "string"
}
Respuestas
Payment created successfully
Invalid request