docs(api): approve merchant API contract
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Merchant Analytics API Capability Spec
|
||||
|
||||
- Status: Draft for review — implementation not yet authorized
|
||||
- Status: Approved specification — implementation not yet authorized
|
||||
- Capability: Merchant API
|
||||
- Depends on: Approved Identity, Data Foundation, and Analytics Engine specifications
|
||||
- Interface source of truth: `docs/openapi.yaml`
|
||||
@@ -282,7 +282,7 @@ Correlate `requestId`, authenticated user/merchant internal ids, run id, section
|
||||
|
||||
## Remaining product questions
|
||||
|
||||
None. Final approval of this complete capability spec and its OpenAPI contract remains the SDD gate before implementation planning.
|
||||
None.
|
||||
|
||||
## Standards references
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
openapi: 3.1.0
|
||||
info:
|
||||
title: ZarinPal Merchant Analytics API
|
||||
version: 0.1.0-draft
|
||||
version: 1.0.0
|
||||
summary: Contract-first API for authenticated merchant analytics.
|
||||
description: |
|
||||
Draft MVP interface. This document is the API source of truth; generated
|
||||
frontend types must come from this contract after approval.
|
||||
Approved MVP interface. This document is the API source of truth; generated
|
||||
frontend types must come from this contract.
|
||||
|
||||
Merchant scope is always derived from the authenticated server-side session.
|
||||
No operation accepts a merchant identifier as authorization. All timestamps
|
||||
|
||||
Reference in New Issue
Block a user