Skip to content

POST Create Exchange Fee Config endpoint.

Endpoint

POST/web/v1/tenant/exchange-config/exchange-fees WEB

Authentication

  • Chain: WEB
  • JWT Token: true
  • API Key: false
  • Permissions: ["exchange-config:write"]
  • Secure Channel: DISABLED

Rate Limit

Default rate limit applies.

Headers

Frontend Headers

HeaderRequiredDescription
X-LOCALEYes用户的 locale
Accept-LanguageNo语言偏好

Cloudflare Headers

HeaderRequiredDescription
CF-Connecting-IPYesClient IP from Cloudflare
CF-IPCountryYesClient country code
CF-RayYesCloudflare Ray ID
CF-VisitorYesVisitor scheme
X-Real-IPYesReal client IP

Nginx Headers

HeaderRequiredDescription
X-PORTAL-ACCESS-CODEYesPortal access code
X-Real-IPYes客户端真实 IP
X-Forwarded-ForYes代理链
X-Forwarded-ProtoYes协议

Request Parameters

Body (JSON)

FieldTypeRequiredDescription
nameStringYesFee config name
feeTypeIntegerYesFee type enum value
feeRateBigDecimalNoFee rate
fixedAmountBigDecimalNoFixed fee amount
minFeeBigDecimalNoMinimum fee
maxFeeBigDecimalNoMaximum fee

Response

200 OK

FieldTypeDescription
bizIdStringConfig business ID
nameStringFee config name

Phase 3 Simulation

SlaunchX Internal Documentation