Skip to main content
POST
/
v1
/
master-wallets
/
{masterId}
/
settlement-rules
Create master settlement rule
curl --request POST \
  --url https://api.xentfi.com/v1/master-wallets/{masterId}/settlement-rules \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --header 'orgId: <api-key>' \
  --data '
{
  "masterId": "<string>",
  "name": "<string>",
  "slippageTolerance": "<string>",
  "source": [
    {
      "assetId": "<string>",
      "minAmount": "<string>",
      "maxAmount": "<string>"
    }
  ]
}
'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "walletId": "<string>",
    "slippageTolerance": "<string>",
    "isActive": true,
    "source": {
      "blockchainId": "<string>",
      "assetIds": [
        "<string>"
      ],
      "minAmount": "<string>",
      "maxAmount": "<string>"
    },
    "destination": {
      "blockchainId": "<string>",
      "assetId": "<string>",
      "address": "<string>"
    },
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.xentfi.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

apiKey
string
header
required
orgId
string
header
required

Body

application/json
masterId
string
required
name
string
required
order
enum<string>
required
Available options:
FASTEST,
CHEAPEST,
RECOMMENDED,
NO_SLIPPAGE
slippageTolerance
string
required
source
object[]
required
description
string
destination
object

Response

Settlement rule created

data
object