POST /admin/compliance/psd2/controls
创建一条PSD2安全控制项的记录
合规管理 - PSD2 `bearerAuth` application/json
Request Body
Schema: dto.CreatePSD2ControlRequest
| Field | Type | Required | Example | Constraints | Description |
code |
string |
Yes |
Art.95.1 |
|
|
name |
string |
Yes |
Strong Customer Authentication |
|
|
category |
string |
No |
Security Measures |
|
|
description |
string |
No |
Implement strong customer authentication for electronic payment transactions |
|
|
evidence_url |
string |
No |
https://docs.example.com/psd2/Art.95.1 |
|
|
status |
string |
No |
compliant |
|
|
Referenced Schemas
dto.ErrorResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
400 |
|
|
message |
string |
No |
invalid request |
|
|
dto.PSD2ControlItem
| Field | Type | Required | Example | Constraints | Description |
category |
string |
No |
Security Measures |
|
|
control_id |
string |
No |
Art.95.1 |
|
|
control_name |
string |
No |
Strong Customer Authentication |
|
|
evidence_url |
string |
No |
https://docs.example.com/... |
|
|
id |
string |
No |
01JQ... |
|
|
last_reviewed |
string |
No |
2026-04-01T00:00:00Z |
|
|
status |
string |
No |
compliant |
|
|
dto.PSD2ControlItemResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.PSD2ControlItem |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|