---
agentTools:
  projectIndex: https://copperx.readme.io/llms.txt
---

# Create a withdrawal address

Withdrawal Addresses are used to receive funds from the platform. You can create as many withdrawal addresses you want, but only one can be marked as default.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/api/v1/organization/withdrawal-addresses": {
      "post": {
        "operationId": "WithdrawalAddressController_create",
        "summary": "Create a withdrawal address",
        "description": "Withdrawal Addresses are used to receive funds from the platform. You can create as many withdrawal addresses you want, but only one can be marked as default.",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWithdrawalAddressDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WithdrawalAddressDto"
                }
              }
            }
          },
          "500": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        },
        "tags": [
          "Withdrawal Addresses"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    }
  },
  "info": {
    "title": "Copperx API",
    "description": "Copperx APIs allows you to access to manage payments, transactions and more in a simple way. Our APIs are easy to use and provide an intuitive APIs for developers to create powerful applications.",
    "version": "v0.0.0",
    "contact": {
      "name": "Copperx",
      "url": "https://t.me/+bVxXaalfhF8wMDFl",
      "email": "support@copperx.io"
    }
  },
  "servers": [
    {
      "url": "https://api.copperx.dev",
      "description": "Test"
    },
    {
      "url": "https://api.copperx.io",
      "description": "Production"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearer": {
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "type": "http"
      }
    },
    "schemas": {
      "ErrorDto": {
        "type": "object",
        "properties": {
          "message": {
            "type": "object"
          },
          "statusCode": {
            "type": "number"
          },
          "error": {
            "type": "string"
          }
        },
        "required": [
          "message",
          "statusCode",
          "error"
        ]
      },
      "WithdrawalAddressDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Withdrawal address id"
          },
          "name": {
            "type": "string",
            "description": "Withdrawal address name"
          },
          "address": {
            "type": "string",
            "description": "Withdrawal address"
          },
          "chainId": {
            "type": "number",
            "example": 1,
            "description": "Withdrawal address chain id"
          },
          "isDefault": {
            "type": "boolean",
            "description": "Is default withdrawal address"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string",
            "description": "Withdrawal address creation date"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string",
            "description": "Withdrawal address update date"
          }
        },
        "required": [
          "id",
          "name",
          "address",
          "chainId",
          "isDefault",
          "createdAt",
          "updatedAt"
        ]
      },
      "CreateWithdrawalAddressDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Withdrawal address name"
          },
          "address": {
            "type": "string",
            "description": "Withdrawal address"
          },
          "chainId": {
            "type": "number",
            "example": 1,
            "description": "Withdrawal address chain id"
          }
        },
        "required": [
          "name",
          "address",
          "chainId"
        ]
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 99,
      "1": 181,
      "2": 177,
      "3": 27,
      "4": 23,
      "5": 171,
      "6": 139,
      "7": 0,
      "8": 127,
      "9": 93,
      "10": 212,
      "11": 76
    }
  }
}
```