Skip to main content
PATCH
Master Wallet Update Rule

Authorizations

x-api-key
string
header
required

Path Parameters

walletId
string
required
Example:

"{{walletId}}"

id
string
required
Example:

"55869cbe-fa3a-44d2-a7e3-d65c08355e4d"

Body

application/json
type
enum<string>

Settlement rule type. Sending it on an update migrates a legacy rule onto the explicit type system; omit it to keep the rule's current behavior.

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

"swap"

destination
object
isActive
boolean
Example:

true

name
string
Example:

"Swap from USDT to OP USDC"

order
string
Example:

"FASTEST"

slippageTolerance
string
Example:

"5"

source
object

Response

200 - application/json

200

data
object
message
string
Example:

"Auto settlement rule updated successfully"

statusCode
number
Example:

200