Skip to main content
POST
/
v1
/
admin
/
trips
/
{envelopeId}
/
cancellation-preview
Preview trip cancellation
curl --request POST \
  --url https://{operatorDomain}/v1/admin/trips/{envelopeId}/cancellation-preview \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "refundable": 0,
    "penalty": 532000
  }
}

Authorizations

Authorization
string
header
required

Staff session or API token issued by your Voyant app.

Path Parameters

envelopeId
string
required

Response

200 - application/json

Cancellation preview

data
object