Create a new order

POST /assets/{assetId}/orders

Path parameters

  • assetId string Required

Body

  • account holder_id string(uuid)
  • asset_id string(uuid)
  • subscription_amount number(float)
  • subscription_currency string
  • status string Required

Responses

  • 401

    Unauthorized

  • 200

    OK

    Hide response attributes Show response attributes object
    • id string(uuid)
    • account holder_id string(uuid)
    • asset_id string(uuid)
    • subscription_amount number(float)
    • subscription_currency string
    • subscribed_at string(date-time)
    • allocated_amount number(float)
    • allocated_at string(date-time)
    • status string
POST /assets/{assetId}/orders
curl \
 -X POST https://assets.demo.bitbond.net/api/v1/assets/{assetId}/orders \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"account holder_id":"string","asset_id":"string","subscription_amount":42.0,"subscription_currency":"string","status":"string"}'
Request example
{
  "account holder_id": "string",
  "asset_id": "string",
  "subscription_amount": 42.0,
  "subscription_currency": "string",
  "status": "string"
}
Request examples
{
  "account holder_id": "string",
  "asset_id": "string",
  "subscription_amount": 42.0,
  "subscription_currency": "string",
  "status": "string"
}
Response examples (200)
{
  "id": "string",
  "account holder_id": "string",
  "asset_id": "string",
  "subscription_amount": 42.0,
  "subscription_currency": "string",
  "subscribed_at": "2023-05-04T09:42:00+00:00",
  "allocated_amount": 42.0,
  "allocated_at": "2023-05-04T09:42:00+00:00",
  "status": "string"
}
Response examples (200)
{
  "id": "string",
  "account holder_id": "string",
  "asset_id": "string",
  "subscription_amount": 42.0,
  "subscription_currency": "string",
  "subscribed_at": "2025-05-04T09:42:00Z",
  "allocated_amount": 42.0,
  "allocated_at": "2025-05-04T09:42:00Z",
  "status": "string"
}