Skip to main content
GET
List cancellation quotes
Nothing is canceled by this request. When the trip can be canceled you get one quote per way — VOID for a trip not issued yet, REFUND and MANUAL_CANCEL for an issued one, depending on the product and its policy — each with the amounts, in cents, and the time until which it can be confirmed. When the policy doesn’t allow it, cancelable is false and quotes is empty. Confirm one by sending its id to the cancel request. Visible to an organization admin and to the users the trip carries, like the trip itself.

Path Parameters

realmId
string<uuid>
required

ID of your realm.

Format: UUID

organizationId
string<uuid>
required

ID of the organization the trip belongs to.

Format: UUID

tripId
string
required

ID of the trip (24 hexadecimal characters).

Pattern: ^[0-9a-fA-F]{24}$

Response

Successful response

The ways to cancel a trip.

cancelable
boolean
required

Whether the trip can be canceled. When false, quotes is empty.

Example:

true

quotes
object[]
required

The active quotes: up to one VOID (trip not issued yet), one REFUND and one MANUAL_CANCEL, depending on the product and its policy. Confirm one before its expiresAt.