Skip to main content
POST
Master Wallet Create Rule

Authorizations

x-api-key
string
header
required

Path Parameters

walletId
string
required
Example:

"{{walletId}}"

Body

application/json
type
enum<string>

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

Available options:
withdraw,
swap,
gateway,
earn
Example:

"swap"

destination
object
isActive
boolean
Example:

true

isGateway
boolean
Example:

true

name
string
Example:

"Swap from USDC to Gateway"

order
string
Example:

"FASTEST"

slippageTolerance
string
Example:

"5"

source
object

Response

200 - application/json

Regular 200 / Gateway 200

data
object
message
string
Example:

"Auto settlement rule created successfully"

statusCode
number
Example:

201