Skip to main content
POST
Master Wallet Create Rule

Autorisations

x-api-key
string
header
requis

Paramètres de chemin

walletId
string
requis
Exemple:

"{{walletId}}"

Corps

application/json
type
enum<string>

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

Options disponibles:
withdraw,
swap,
gateway,
earn
Exemple:

"swap"

destination
object
isActive
boolean
Exemple:

true

isGateway
boolean
Exemple:

true

name
string
Exemple:

"Swap from USDC to Gateway"

order
string
Exemple:

"FASTEST"

slippageTolerance
string
Exemple:

"5"

source
object

Réponse

200 - application/json

Regular 200 / Gateway 200

data
object
message
string
Exemple:

"Auto settlement rule created successfully"

statusCode
number
Exemple:

201