Skip to main content
POST
Master Wallet Create Rule

授权

x-api-key
string
header
必填

路径参数

walletId
string
必填
示例:

"{{walletId}}"

请求体

application/json
type
enum<string>

Settlement rule type. Recommended on every create; rules saved without it keep the legacy inferred behavior.

可用选项:
withdraw,
swap,
gateway,
earn
示例:

"swap"

destination
object
isActive
boolean
示例:

true

isGateway
boolean
示例:

true

name
string
示例:

"Swap from USDC to Gateway"

order
string
示例:

"FASTEST"

slippageTolerance
string
示例:

"5"

source
object

响应

200 - application/json

Regular 200 / Gateway 200

data
object
message
string
示例:

"Auto settlement rule created successfully"

statusCode
number
示例:

201