# NOT_IMPLEMENTED

> HTTP 501. The endpoint exists and its request and response shapes are final, but the implementation behind it has not shipped yet.

The endpoint exists and its request and response shapes are final, but the implementation behind
it has not shipped yet.


This is how the Intents Checkout endpoints (`SPEC-checkout.md` §4.3) answer between session C1-0,
which published their contracts, and session C1a, which builds the payment engine. The shapes are
in `/v0/openapi.json` and in the generated SDK types from the moment the contract lands, so an
integration can be written, typed and tested against fixtures before the engine is live.

`details.session` names the session that implements it.

```json
{
  "error": {
    "code": "NOT_IMPLEMENTED",
    "message": "GET /v0/checkout/{invoiceId} is not implemented yet; its request and response shapes are final",
    "details": { "session": "C1a (payment engine)" }
  }
}
```

## What to do

Build against the published shape and the fixtures, not against the live endpoint:

- `@intents-fi/checkout-fixtures` ships one example payload per endpoint and per invoice and
  attempt state, plus MSW handlers, so an app runs end to end with no API at all.
- The request schema is enforced already. A malformed body returns `400 INVALID_REQUEST` from this
  endpoint today, exactly as it will once the engine is live.

Nothing about the request or response changes when the implementation lands. If this code appears
on an endpoint you expected to work, the deployment is behind the SDK you are using: check
`GET /health` for the running version.


## Example response

```json
{ "error": { "code": "NOT_IMPLEMENTED", "message": "…" } }
```

---

Source: https://intents.fi/docs/errors/NOT_IMPLEMENTED · The whole corpus: https://intents.fi/docs/llms-full.txt
