MyEZToll
POST/api/partner/v1/bookings/{bookingId}/agreement

Create rental agreement

Generate a rental agreement for the booking and return its signing link.

Authorization

X-Api-Key header

Send your partner key on every request. An owner key acts for its one owner; an integration token also needs the owner's id in the X-Owner-Id header.

Path parameters

bookingIdstringpathrequired

Response

200 · application/json
successbooleanrequired
dataobject
bookingIdstring
agreementUrlstring <uri>
driverNamestringnullable
driverEmailstringnullable
errorstringnullable

Status codes

200The agreement link.
400Validation error.
401Missing, unknown or revoked API key.
404The resource does not exist under this owner.