cURL
curl --request PATCH \ --url https://api-alpha.fourvenues.com/integrations/bookings/{bookingId}/deposit \ --header 'Content-Type: application/json' \ --header 'integration_id: <api-key>' \ --header 'secret: <api-key>' \ --header 'x-api-key: <api-key>' \ --data ' { "deposit": 50, "deposit_paid": 50 } '
{ "success": true }
Update the deposit (fianza) and deposit paid (fianza_pagada) of a booking.
Identifier of the integration (Auth v1)
Secret of the organization (Auth v1)
API key (Auth v2)
Id of the booking
Body of the request
Deposit amount for the reservation
50
Amount of deposit paid
HTTP OK
true