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

Record answer

Record the issuer's answer.

Accepted closes the transfer; refused returns the notice to normal charging (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

Body

application/json
acceptedbooleanrequired
notestring

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 (Accepted or Rejected).
400Validation error.
401Missing, unknown or revoked API key.
404The resource does not exist under this owner.