MyEZToll
POST/api/partner/v1/transfers/{transferId}/cancel

Cancel transfer

Cancel a transfer.

Drops a Prepared or Sent transfer; the notice returns to normal charging and a fee not yet taken is dropped.

Authorization

X-Api-Key header

Send 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.

Path parameters

transferIdstringpathrequired

Response

200 · application/json
successbooleanrequired
dataobject
idstring <uuid>
violationIdstring <uuid>
providerKeystring
statusstring
Allowed values:PreparedSentAcceptedRejectedCancelled
deadlineUtcstring <date-time>
preparedAtUtcstring <date-time>
sentAtUtcstring <date-time>
sentChannelstring
sentReferencestring
outcomeAtUtcstring <date-time>
feePayerstring

Null = no fee.

Allowed values:RenterOwner
feeAmountnumber
feeStatusstring
Allowed values:PendingChargedInvoicedChargeFailedCancelled
errorstringnullable

Status codes

200The transfer (Cancelled).
400Validation error.
401Missing, unknown or revoked API key.
404The resource does not exist under this owner.