offer_expired: The payee offer is outside its validity window

The hop was admitted before the offer's issuedAt or after its expiresAt. The open is refused and nothing is allocated.

What to do

On the wire

HTTP 409, error type state_error.

With Dynamo-Error-Detail: 1:

{
  "error": "state",
  "reason": "offer_expired",
  "detail": "…",
  "errorDetail": {
    "type": "state_error",
    "code": "offer_expired",
    "message": "…",
    "param": "delegation",
    "doc_url": "…/errors/offer_expired.md",
    "fix": "the payee offer is outside its validity window; the payee signs a fresh offer"
  }
}

Without Dynamo-Error-Detail: 1 a stream open or a human payment receives the same body with no errorDetail. A child open on the plugin wire (POST /plugin/v1/streams/{id}/children) answers 409 {"error": "child open refused (fail closed)", "reason": "offer_expired"}, never with errorDetail.

The child adoption preparation on contract v2 (POST /owner/v1/streams/{id}/children/adopt-prepare) checks its payeeOffer the same way and sends errorDetail to every client.

See all error codes.