Skip to main content
POST
Child Address Create Rule

Autorisations

x-api-key
string
header
requis

Paramètres de chemin

walletId
string
requis
Exemple:

"{{walletId}}"

addressId
string
requis
Exemple:

"534e0480-f444-40c0-bc2e-2ef17bf7999e"

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:

200