Create a project

POST /projects

Create a project

Body Required

The project information.

  • project object
    Hide project attributes Show project attributes object
    • code string Required
    • chain string

      Values are Avalanche, Ethereum, Polygon, or Stellar. Default value is Ethereum.

    • sale_starts_at string(datetime) Required
    • sale_ends_at string(datetime)
    • free_float_bps number Required
    • number_of_tokens number(float) Required
    • minimum_subscription_bps number Required
    • token_price number(float) Required
    • currency string Required
    • coupon_bps integer Required
    • min_investment number(float) Required
    • published_at string(datetime)
    • account_name string Required
    • has_investment_survey boolean
    • transferability string

      Values are open or white_list.

    • bvdh_customer_id string Required
    • iban string Required
    • bic string

Responses

  • 201

    Project created and returned

    Hide response attributes Show response attributes object
    • id string(uuid)
    • code string
    • chain string

      Values are Avalanche, Ethereum, Polygon, or Stellar. Default value is Ethereum.

    • description string | null
    • free_float_bps number
    • number_of_tokens string
    • minimum_subscription_bps number
    • token_price string
    • currency string
    • coupon_bps integer
    • min_investment number(float)
    • on_sale boolean
    • pre_sale boolean
    • post_sale boolean
    • sale_starts_at string(datetime)
    • sale_ends_at string(datetime)
    • published boolean
    • account_name string
    • has_investment_survey boolean
    • transferability string

      Values are open or white_list.

    • bvdh_customer_id string
    • iban string
    • bic string
  • 401

    Authorization information is missing or invalid.

  • 422

    Request body has errors or invalid.

POST /projects
curl \
 -X POST https://client-subdomain.bitbond.net/api/v1/projects \
 -H "Content-Type: application/json" \
 -d '{"project":{"code":"string","chain":"Ethereum","sale_starts_at":"string","sale_ends_at":"string","free_float_bps":42.0,"number_of_tokens":42.0,"minimum_subscription_bps":42.0,"token_price":42.0,"currency":"string","coupon_bps":42,"min_investment":42.0,"published_at":"string","account_name":"string","has_investment_survey":true,"transferability":"open","bvdh_customer_id":"string","iban":"string","bic":"string"}}'
Request example
{
  "project": {
    "code": "string",
    "chain": "Ethereum",
    "sale_starts_at": "string",
    "sale_ends_at": "string",
    "free_float_bps": 42.0,
    "number_of_tokens": 42.0,
    "minimum_subscription_bps": 42.0,
    "token_price": 42.0,
    "currency": "string",
    "coupon_bps": 42,
    "min_investment": 42.0,
    "published_at": "string",
    "account_name": "string",
    "has_investment_survey": true,
    "transferability": "open",
    "bvdh_customer_id": "string",
    "iban": "string",
    "bic": "string"
  }
}
Request examples
{
  "project": {
    "code": "string",
    "chain": "Ethereum",
    "sale_starts_at": "string",
    "sale_ends_at": "string",
    "free_float_bps": 42.0,
    "number_of_tokens": 42.0,
    "minimum_subscription_bps": 42.0,
    "token_price": 42.0,
    "currency": "string",
    "coupon_bps": 42,
    "min_investment": 42.0,
    "published_at": "string",
    "account_name": "string",
    "has_investment_survey": true,
    "transferability": "open",
    "bvdh_customer_id": "string",
    "iban": "string",
    "bic": "string"
  }
}
Response examples (201)
{
  "id": "string",
  "code": "string",
  "chain": "Ethereum",
  "description": "string",
  "free_float_bps": 42.0,
  "number_of_tokens": "string",
  "minimum_subscription_bps": 42.0,
  "token_price": "string",
  "currency": "string",
  "coupon_bps": 42,
  "min_investment": 42.0,
  "on_sale": true,
  "pre_sale": true,
  "post_sale": true,
  "sale_starts_at": "string",
  "sale_ends_at": "string",
  "published": true,
  "account_name": "string",
  "has_investment_survey": true,
  "transferability": "open",
  "bvdh_customer_id": "string",
  "iban": "string",
  "bic": "string"
}
Response examples (201)
{
  "id": "string",
  "code": "string",
  "chain": "Ethereum",
  "description": "string",
  "free_float_bps": 42.0,
  "number_of_tokens": "string",
  "minimum_subscription_bps": 42.0,
  "token_price": "string",
  "currency": "string",
  "coupon_bps": 42,
  "min_investment": 42.0,
  "on_sale": true,
  "pre_sale": true,
  "post_sale": true,
  "sale_starts_at": "string",
  "sale_ends_at": "string",
  "published": true,
  "account_name": "string",
  "has_investment_survey": true,
  "transferability": "open",
  "bvdh_customer_id": "string",
  "iban": "string",
  "bic": "string"
}