/api/partner/v1/ownersCreate an owner
Create one of your rental companies as an owner (booking platforms).
Integration credential only; no X-Owner-Id. The owner gets your integration's defaults: we do not charge renters for tolls and violations (you do), no payout account is opened, your integration becomes the owner's partner, and our fees go to the payer you choose (feePayer: owner or integration). Idempotent on externalId. 409 = the email already has an account (the owner connects you from the owner portal); 412 = your integration is not set up to create owners yet. Payment method for an owner who pays: stripePaymentMethodId (a card created with MyEZToll's publishable key) or the returned paymentSetupUrl. sendInvite emails the owner how to sign in, in language.
Authorization
X-Api-Key headerSend 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.
Body
application/jsonexternalIdstringrequiredYour id for this rental company; the idempotency key.
emailstring <email>requiredfirstNamestringrequiredlastNamestringrequiredcompanyNamestringphoneNumberstringaddressstringaddress2stringcitystringstatestringzipCodestringcountrystringfeePayerstringWho our fees are invoiced to; omitted = your integration's default.
ownerintegrationstripePaymentMethodIdstringCard PaymentMethod created with the MyEZToll publishable key (owner payer only).
returnUrlstring <uri>https URL the hosted payment page returns to.
sendInvitebooleanEmail the owner how to sign in to the owner portal.
falselanguagestringThe owner's language (en, es, fr, de, pt, ru, uk, tr, fa, ur, hy, ka, uz, zh-Hans, zh-Hant): the invite is written in it. Unknown or empty = English.
Response
200 · application/jsonsuccessbooleanrequireddataobjectownerobjectcreatedbooleanwarningstringerrorstringnullableStatus codes
warning is set when the owner was created but the payment method could not be attached.