---
agentTools:
  projectIndex: https://developers.commerce.busha.co/llms.txt
---

# Create Address

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Commerce",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.commerce.busha.co"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/addresses": {
      "post": {
        "summary": "Create Address",
        "description": "",
        "operationId": "create-address",
        "parameters": [
          {
            "name": "X-BC-API-KEY",
            "in": "header",
            "description": "Your business secret API key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "currency_id"
                ],
                "properties": {
                  "currency_id": {
                    "type": "string",
                    "description": "Currency ID for the address",
                    "default": "USDT"
                  },
                  "chains": {
                    "type": "array",
                    "description": "chain for address i.e ETH, TRX",
                    "items": {
                      "type": "string"
                    }
                  },
                  "label": {
                    "type": "string",
                    "description": "description of address"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"status\": \"success\",\n    \"message\": \"Address created successfully\",\n    \"data\": {\n        \"id\": \"f913698e-54a4-474e-b5b2-cd0fae35ebb2\",\n        \"business_id\": \"3f2eb2df-34ca-4854-b05f-212a95d3fb50\",\n        \"currency_id\": \"USDT\",\n        \"chain\": \"ETH\",\n        \"address\": \"0x7Eb1E0BB481420bA21AE75926112AC71d44C89Af\",\n        \"memo\": \"\",\n        \"label\": \"Sarahs Payment\",\n        \"created_at\": \"2023-04-13T12:40:44.846740334Z\",\n    }\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"error\": {\n        \"name\": \"bad_request\",\n        \"message\": \"At least one chain is required\"\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "example": "bad_request"
                        },
                        "message": {
                          "type": "string",
                          "example": "At least one chain is required"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"error\": {\n    \"name\": \"unauthorized\",\n    \"message\": \"Invalid Authentication\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "example": "unauthorized"
                        },
                        "message": {
                          "type": "string",
                          "example": "Invalid Authentication"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "63f94c2f2017a0005783edff:6437fe2062007c01ae02f91c"
}
```