ES | EN

📄 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

CampoTipoObligatoriedadDescripción
payment_datestring (date)Siempre obligatorioThe date of the payment.
document_idstringSiempre obligatorioThe ID of the document associated with the payment.
payment_type_idstringSiempre obligatorioThe ID of the payment type.
payment_amountnumberSiempre obligatorioThe amount of the payment.
payment_detailsstringOpcionalAdditional details about the payment.
cash_account_idstringSiempre obligatorioThe 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