Skip to content

Pay Reservation / Pagar Reserva

PUT
/external/reserva-pagar/{reserva_id}
curl --request PUT \
--url https://api-dev.zonaparqueo.com/external/reserva-pagar/12345 \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{ "pago_tipo": 1, "pago_codigo": "example", "enviar_recibo": false }'

Records payment for an existing reservation. The reservation identifier is a path parameter; payment type and code go in the body.

With enviar_recibo: true the system emails the official receipt to the client.

reserva_id
required
integer

Reservation identifier

Example
12345
Media typeapplication/json
object
pago_tipo
required

Payment type assigned by administrator

integer
pago_codigo
required

Unique transaction code

string
enviar_recibo

If true, the system emails the official receipt to the client

boolean

Payment recorded successfully

Media typeapplication/json
object
estado
string
Allowed values: ok
data

Response data

object
Examples
Examplesuccess
{
"estado": "ok",
"data": {
"message": "Pago registrado exitosamente"
}
}

Payment error

Media typeapplication/json
object
estado
string
Allowed values: fail
error

Error message

string
errores

Field-specific error details

object
Example
{
"estado": "fail"
}