Skip to navigation

Void a charge

View as Markdown

Scope: charges:write

For a toll the agency reversed or the host waived. If the renter hasn’t paid it, it comes off the invoice. If they have, a refund line goes on a new invoice (the paid one never changes). Voiding twice is harmless.

Authentication

AuthorizationBearer

An API token from Settings → API tokens in Fleetwire, sent as Authorization: Bearer …. Each token carries scopes: read for every GET, plus write scopes such as bookings:write.

Path parameters

b_idstringRequired
Booking ID
charge_idstringRequired

The charge’s id

Response

OK
charge_idstringOptional
external_idstringOptional
providerstringOptional
kindstringOptional
statusstringOptional
amount_centsintegerOptional
provider_fee_centsintegerOptional
currencystringOptional
occurred_atstringOptional
descriptionstringOptional
has_documentbooleanOptional
created_atstringOptional
voided_atstringOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error