Skip to content

Update Wallet Tariff

POST/web/v1/wallet-tariffs/command/update JWT

Directly updates the tariff configuration for a specific wallet without using a template.

Authentication

Requires a valid JWT token and Turnstile verification.

Request Parameters

NameTypeRequiredInDescription
walletIdstringRequiredbodyWallet ID
tariffModelstringOptionalbodyFee calculation model (FIXED, PERCENTAGE, TIERED)
fixedAmountnumberOptionalbodyFixed fee amount
ratenumberOptionalbodyFee rate as decimal
floorAmountnumberOptionalbodyMinimum fee amount
ceilingAmountnumberOptionalbodyMaximum fee amount
roundingModestringOptionalbodyRounding mode
bandsConfigstringOptionalbodyTiered band configuration as JSON string
enabledbooleanOptionalbodyWhether the tariff is enabled

Success Response

Success 200
{
  "code": "2000",
  "message": "SUCCESS",
  "data": {
    "bizId": "WTF20260321000001",
    "walletId": "WLT-001",
    "workspaceId": "WS-001",
    "sourceTemplate": "TTL20260321000001",
    "tariffModel": "FIXED",
    "fixedAmount": 5,
    "rate": null,
    "floorAmount": null,
    "ceilingAmount": null,
    "amountScale": 2,
    "roundingMode": "HALF_UP",
    "bandsConfig": null,
    "enabled": true,
    "createdAt": "2026-03-21T10:00:00Z",
    "updatedAt": "2026-03-21T12:00:00Z"
  }
}

Error Responses

HTTP StatusCodeDescription
4004000Validation error
4014010Unauthorized
4044040Wallet tariff not found

Notes

  • Partial updates are supported. Only include the fields you want to change.
  • The sourceTemplate field reflects the original template used for assignment and is not updated.

SlaunchX Internal Documentation