Registrar pago global

Changed on
post/api/v4/integration/cash-in/register-payment

Request

Request body

userIdinteger required

ID del usuario obtenido de /search.

storeIdinteger required

Sucursal autorizada donde se recibe el pago.

Response

Pago registrado.

globalPaymentIdinteger required

ID del pago global. Guárdalo: sirve para el detalle y para cancelar.

status'success' | 'pending_conciliation' required

success: aplicado al crédito. pending_conciliation: registrado, aún no aplicado.

totalAmountnumber required

Monto total del pago.

messagestring

Changes

    • breaking

      the request property's minItems was increased to 1

    • breaking

      the // request property type changed from number to integer

    • breaking

      the request property type changed from number to integer

    • breaking

      the request property type changed from number to integer

    • breaking

      the // response's property type changed from string to number for status

    • breaking

      the // response's property type changed from string to integer for status

    • info

      the request property default value 500 was removed

    • info

      the request property default value 100 was removed

    • info

      the request property default value 1 was removed

    • info

      the request property default value 12345 was removed

    • info

      added the non-success response with the status

    • info

      removed the cancelled enum value from the response property for the response status