GET /admin/billing/payment-gateways/{gateway_id}

根据ID查询支付网关的配置详情,含名称、代码、状态和 JSON 配置

计费服务 `bearerAuth` application/json

请求参数

名称位置类型必填默认值示例约束描述
gateway_id path string 是 支付网关ID

响应

状态描述Schema
200支付网关查询成功service-billing/internal/handler/dto.PaymentGatewayDetailResponse
400请求参数错误object
401未授权object
403无权限object
404支付网关不存在object
500服务器内部错误object

引用的 Schema

service-billing/internal/handler/dto.PaymentGatewayDetailResponse

字段类型必填示例约束描述
code integer 否
data service-billing/internal/handler/dto.PaymentGatewayResponse 否
message string 否
timestamp string 否

service-billing/internal/handler/dto.PaymentGatewayResponse

字段类型必填示例约束描述
code string 否 alipay
config string 否
created_at string 否 2026-01-01T00:00:00Z
id string 否 pg_001
name string 否 支付宝
status string 否 active
updated_at string 否 2026-04-10T14:20:00Z