Create a UDA address

POST/uda

Allocate a new Universal Deposit Address for your tenant. The call is idempotent on the owner and the destination together: if a UDA with the same owner and the same destination already exists, the existing record is returned with 200 instead of a duplicate. The destination is the treasury for a treasury-backed UDA, or the (network_id, address, asset) triple for an inline one; a treasury-backed UDA and an inline UDA are never collapsed into one, even when they point at the same wallet. The same owner with a different destination gets a new UDA. accepted_assets is a list of asset symbols (e.g. ["USDC", "USDT"]); if empty, the UDA accepts every asset configured on every UDA-supported chain.

Header parameters

  • Idempotency-Keystringoptional

    Optional. A unique key for this request, such as a UUID. A repeat of the same request with the same key within 24 hours is answered the first response again, refusals included, with Idempotency-Replay: true, and is not carried out twice. Learn more

    Show full description

    Keys are scoped to your workspace and the key's environment, so every API key of that environment shares them. The same key with a different body is answered 409 with Idempotency key reused with different request; a repeat that arrives while the first is still running waits for it, and is answered 408 with Request processing timeout if it does not finish in time.

Request body

UDA address configuration.

  • ownerstringrequired

    The owner the UDA is allocated for.

  • Where settlements for this UDA should be delivered, in exactly one of two forms: treasury (the name of one of your treasuries, so a rotation of the treasury moves the UDA with it), or inline network_id + address (+ asset_symbol), fixed at create time. Sending both forms is rejected with 400.

    • treasurystring

      Name of one of your treasuries. Leave the inline fields empty when set.

    • addressstring

      Destination wallet address (inline form).

    • network_idstring

      Destination SLIP-44 network id (inline form).

    • asset_symbolstring

      Destination asset symbol (inline form).

  • accepted_assetsarray<string>

    Asset symbols this UDA accepts; empty means every asset on every UDA-supported chain.

  • Optional; max 5. Specificity wins, whatever the order: a rule pinning both source_network_id and source_asset_symbol beats a network-only rule, and either beats an asset-only rule.

    Show full description

    When no rule matches, the UDA's routing policy is consulted, and when that does not match either, settlements use the default destination.

    • Conditions a deposit must meet for this routing rule to apply. At least one of the two fields is required: both pin one asset on one network, source_network_id alone matches any asset on that network, and source_asset_symbol alone matches that asset on any network. Two rules on one UDA may not share the same match.

    • Where a matching deposit settles, in the same two forms as the UDA's destination: a treasury name, or inline network_id + address (+ asset_symbol). Sending both forms is rejected with 400.

  • routing_policy_idstring

    Routing policy to attach to this UDA. Omit or send an empty string to attach the tenant's default policy. Per-UDA inline routing_rules still take precedence over the policy.

Responses

An existing UDA address with the same owner and destination was returned.

  • livemodeboolean

    true when the API key that made the request acts in a live environment, false in a sandbox.

    Show full description

    It is on every object a keyed request answers with — the resource itself, each item of a list, and each object inside a list a resource carries — but not on the success/message envelope or on an object nested directly in another (such as destination, fees or pagination), so a payload read on its own still says which side of the boundary it came from. The two public endpoints answer without it. It is derived from the key at the time of the response and is never stored.

  • idstring
  • ownerstring
  • statusstringenum active · retired
  • created_atstring <date-time>
  • Resolved destination (symbol plus the resolved contract address).

    • treasurystring

      The treasury name; present only for a treasury-backed destination.

    • addressstring
    • network_idstring
    • eip155_idstring
    • network_namestring
    • asset_symbolstring
    • asset_addressstring
    • asset_decimalsinteger
Show 3 more fields
    • livemodeboolean

      true when the API key that made the request acts in a live environment, false in a sandbox.

      Show full description

      It is on every object a keyed request answers with — the resource itself, each item of a list, and each object inside a list a resource carries — but not on the success/message envelope or on an object nested directly in another (such as destination, fees or pagination), so a payload read on its own still says which side of the boundary it came from. The two public endpoints answer without it. It is derived from the key at the time of the response and is never stored.

    • addressstring
    • network_idstring
    • eip155_idstring
    • network_namestring
  • Empty when no rules are configured.

    • livemodeboolean

      true when the API key that made the request acts in a live environment, false in a sandbox.

      Show full description

      It is on every object a keyed request answers with — the resource itself, each item of a list, and each object inside a list a resource carries — but not on the success/message envelope or on an object nested directly in another (such as destination, fees or pagination), so a payload read on its own still says which side of the boundary it came from. The two public endpoints answer without it. It is derived from the key at the time of the response and is never stored.

  • routing_policy_idstring

    The routing policy attached to this UDA, when set. Omitted for legacy UDAs that inherit the tenant default policy.

Request
curl "https://api.stridge.com/v1/uda" \
  -X POST \
  -H "X-API-Key: $STRIDGE_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "owner": "0x9f8e7d6c5b4a39281706f5e4d3c2b1a098765432",
  "destination": {
    "address": "0x3a1f8b2c9d4e5f60718293a4b5c6d7e8f9012345",
    "network_id": "60",
    "asset_symbol": "USDC"
  },
  "accepted_assets": [
    "USDC",
    "USDT"
  ]
}'

Set your api key as STRIDGE_API_KEY (sent as X-API-Key).

Response200
"livemode": true,
"id": "uda_2f8c1a9d4e5f6071",
"owner": "0x9f8e7d6c5b4a39281706f5e4d3c2b1a098765432",
"status": "active",
"created_at": "2026-05-20T14:03:12Z",
"treasury": "main",
"address": "0x3a1f8b2c9d4e5f60718293a4b5c6d7e8f9012345",
"network_id": "60",
"eip155_id": "1",
"network_name": "Ethereum",
"asset_symbol": "USDC",
"asset_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"asset_decimals": 6
},
"livemode": true,
"address": "0x7c2d9a1b3e4f5061728394a5b6c7d8e9f0a1b2c3",
"network_id": "60",
"eip155_id": "1",
"network_name": "Ethereum",
"livemode": true,
"symbol": "USDC",
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"decimals": 6,
"logo": "https://assets.stridge.com/tokens/usdc.png"
}
]
}
],
"livemode": true,
"source_network_id": "60",
"source_asset_symbol": "USDT",
"source_token_address": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
"treasury": "main",
"address": "0x3a1f8b2c9d4e5f60718293a4b5c6d7e8f9012345",
"network_id": "60",
"eip155_id": "1",
"network_name": "Ethereum",
"asset_symbol": "USDC",
"asset_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"asset_decimals": 6
}
}
],
"routing_policy_id": "rpol_2f8c1a9d4e5f6071"
}