# Withdrawal Intent Creation for Polkadot

Request object to create a new withdrawal intent for Polkadot.

## Parameters

### network
- **Type:** string  
- **Enum:** Allowed values are `mainnet`, `kusama`, `westend`  
- **Required**: Yes

### customer_address
- **Type:** string  
- **Format:** `^[1-9A-HJ-NP-Za-km-z]{44}$`  
- **Description:** Address of the customer account that will be affected by the withdrawal intent.

### controller_address
- **Type:** string  
- **Format:** `^[1-9A-HJ-NP-Za-km-z]{44}$`  
- **Description:** Same as customer_address. Deprecated - will be removed in a later version.

## Responses

- **200**: Created
- **400**: Invalid request.
- **401**: Header 'X-API-Key' missing.
- **500**: Internal server error.

## Example Request

```shell
curl --request POST \
     --url https://svc.blockdaemon.com/boss/v1/polkadot/mainnet/withdrawal-intents \
     --header 'accept: application/json' \
     --header 'content-type: application/json'
```

## Example Responses

- **Application/json**:  
  ```  
  "200"  
  "400"  
  "401"  
  "500"  
  ```

Updated 2 months ago.
