v1
latestOpenAPI 3.0.32026-07-26184851.6 MBAuto Settlements
Child Address Create Rule
This endpoint allows you to create a new auto-settlement rule for a specific address. By providing the necessary parameters in the request body, you can define the conditions and actions for the auto-settlement process.
Request Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| type | string | No | The settlement rule type: withdraw, swap, gateway, or earn. Recommended on every create; rules saved without it keep the legacy inferred behavior. withdraw settles each deposited source asset as-is to destination.address on the source blockchain (address required). |
| name | string | Yes | The name of the auto-settlement rule. A descriptive title reflecting its purpose. |
| order | string | Yes | The order in which this rule should be processed. Possible values: FASTEST, CHEAPEST, RECOMMENDED, NO_SLIPPAGE. |
| slippageTolerance | string | Yes | The acceptable slippage tolerance (as a percentage). Example: "5" = 5% tolerance. |
| isGateway | boolean | Yes | Indicates whether the rule involves a gateway. true if processed through a gateway. |
| source | object | Yes | Details about the source of the settlement. |
| ├─ assets | array of strings | Yes | List of asset types involved (e.g., ["USDC"]). |
| ├─ minAmount | string | Yes | The minimum amount required for settlement (e.g., "1"). |
| ├─ maxAmount | string | Yes | The maximum amount that can be settled (e.g., "1000"). |
| destination | object | Yes | Details about the destination of the settlement. |
| ├─ blockchain | string | No | The blockchain network for the destination. |
| ├─ asset | string | No | The asset type to which the settlement is directed. |
| ├─ address | string | No | The address where the settlement will be sent. |
post/v1/wallets/{walletId}/addresses/{addressId}/auto-settlements/rules
Request body
Example request
{
"type": "swap",
"isActive": true,
"isGateway": true,
"name": "Swap from USDC to Gateway",
"order": "FASTEST",
"slippageTolerance": "5",
"source": {
"assets": [
"USDC"
],
"maxAmount": "1000",
"minAmount": "1"
}
}Response
Regular 200 / Gateway 200
Example response
{
"data": {
"createdAt": "2025-08-26T17:28:38.273Z",
"destination": {
"address": "0x2455eC6700092991Ce0782365A89d5Cd89c8Fa22",
"asset": "USDC",
"blockchain": "optimism"
},
"id": "48c52f4a-c0bf-45c9-a322-1fef00f00431",
"isActive": true,
"isGateway": true,
"name": "Swap from USDT to Optimism USDC",
"order": "FASTEST",
"slippageTolerance": "5",
"source": {
"assets": [
"USDT"
],
"blockchain": "base",
"maxAmount": "1000",
"minAmount": "1"
},
"updatedAt": "2025-08-26T17:28:38.273Z"
},
"message": "Auto settlement rule created successfully",
"statusCode": 200
}