Skip to main content
POST
/
v1
/
public
/
trips
/
{envelopeId}
/
cancellation-preview
Preview trip cancellation (public)
curl --request POST \
  --url https://{operatorDomain}/v1/public/trips/{envelopeId}/cancellation-preview
{
  "data": {
    "refundable": 0,
    "penalty": 532000
  }
}

Path Parameters

envelopeId
string
required

Response

200 - application/json

Cancellation preview

data
object