Creates a new Network ID
POST {{baseUrl}}/network_ids
Creates a new Network ID.
Note: This API call is subject to Flexible Routing Schemes.
Your routing policy defines how your transactions are routed.
You can choose 1 of the 3 different schemes mentioned below for each asset type:
- None; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to None
will fail.
- Custom; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one.
- Default; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as Profile Routing
Default Workspace Presets: - Network Profile Crypto → Custom - Network Profile FIAT → None - Network Connection Crypto → Default - Network Connection FIAT → Default
Supported asset groups for routing police can be found at /network_ids/routing_policy_asset_groups
- **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`).
Request Body
{"name"=>"<string>", "routingPolicy"=>{"veniam__3d"=>{"scheme"=>"CUSTOM", "dstType"=>"EXCHANGE", "dstId"=>"<string>"}, "culpa_03a"=>{"scheme"=>"CUSTOM", "dstType"=>"EXCHANGE", "dstId"=>"<string>"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Idempotency-Key | string | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"routingPolicy":{"eu3":{"scheme":"CUSTOM","dstType":"VAULT","dstId":"\u003cstring\u003e"},"adipisicing_fb":{"scheme":"CUSTOM","dstType":"EXCHANGE","dstId":"\u003cstring\u003e"},"occaecat99":{"scheme":"CUSTOM","dstType":"EXCHANGE","dstId":"\u003cstring\u003e"}},"isDiscoverable":"\u003cboolean\u003e","id":"\u003cstring\u003e","name":"\u003cstring\u003e"}