# Merchant activation checklist

`GET /api/v1/onboarding`

Derived from persisted facts on every call — never a stored cursor — so a refresh or a retry always lands on the same step. Scoped to the caller’s current mode: test and live are configured separately.

Needs a full-access key (`*`). No narrower scope opens this route.

## Responses

### 200

The eight activation steps and whether onboarding is complete.

JSON Schema:

```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "steps": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "key": {
                "type": "string",
                "enum": [
                  "profile",
                  "stripe",
                  "product",
                  "plan",
                  "customer",
                  "subscription",
                  "api_key",
                  "webhook"
                ]
              },
              "done": {
                "type": "boolean"
              },
              "href": {
                "type": "string",
                "example": "/settings"
              }
            },
            "required": [
              "key",
              "done",
              "href"
            ]
          }
        },
        "complete": {
          "type": "boolean"
        }
      },
      "required": [
        "steps",
        "complete"
      ]
    },
    "_agent": {
      "type": "object",
      "properties": {
        "summary": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "ok"
          ]
        },
        "next_actions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "warnings": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "summary",
        "status",
        "next_actions",
        "warnings"
      ]
    },
    "api_version": {
      "type": "string",
      "example": "2026-07-01"
    }
  },
  "required": [
    "data",
    "_agent",
    "api_version"
  ]
}
```
