POST
/api/partner/v1/chargesReport a charge
Report a charge you made on your own Stripe account.
What the charge covered: your tolls (the externalId from GET /tolls), violations (their id) and your own fees. bookingId sets the renter and the car. Sending the same chargeId again replaces its items. Items that match none of your tolls or violations are kept and listed in warnings — they never fail the call.
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/jsonchargeIdstringrequiredYour Stripe charge id (ch_… / py_…).
paymentIntentIdstringOptional pi_….
amountnumberrequiredcurrencystringISO 4217
chargedAtUtcstring <date-time>requiredbookingIdstringOur booking id or your external id — sets the renter and the car.
renterIdstringOnly when there is no booking.
descriptionstringitemsChargeItemInput[]Response
200 · application/jsonsuccessbooleanrequireddataobjectchargeIdstringpaymentIntentIdstringnullableamountnumbercurrencystringrefundedAmountnumberchargedAtUtcstring <date-time>bookingIdstringnullablebookingExternalIdstringnullablerenterIdstringnullablecarIdstringnullabledescriptionstringnullableitemsTotalnumberWhat the items resolved to (our toll/violation amounts + your fees).
itemsChargeItem[]warningsChargeWarning[]createdAtUtcstring <date-time>updatedAtUtcstring <date-time>errorstringnullableStatus codes
200Updated (items replaced).
201Recorded.
400Validation error.
401Missing, unknown or revoked API key.
404The resource does not exist under this owner.
