Asset Haus
AssetHausby Restifi

API Documentation

Build on Asset Haus with our comprehensive RESTful API

Core API Capabilities

Deal Management

  • Create deals
  • Update deal terms
  • Upload documents
  • Manage investors
  • Close deals

Investor Operations

  • Create investor accounts
  • KYC submission
  • Accreditation checks
  • Investment processing
  • Portfolio queries

Token Operations

  • Issue tokens
  • Transfer tokens
  • Query balances
  • Compliance checks
  • Lock/unlock tokens

Payments & Distributions

  • Process payments
  • Initiate distributions
  • Query transactions
  • Reconciliation
  • Refunds

Compliance & Reporting

  • KYC/AML checks
  • Sanctions screening
  • Transfer restrictions
  • Cap table exports
  • Audit logs

Webhooks & Events

  • Real-time events
  • Payment notifications
  • KYC status updates
  • Token transfers
  • Custom webhooks

Quick Start

1. Authentication

Request
curl -X POST https://api.asset.haus/v1/auth/token \
  -H "Content-Type: application/json" \
  -d '{
    "client_id": "your_client_id",
    "client_secret": "your_client_secret",
    "grant_type": "client_credentials"
  }'
Response
{
  "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "token_type": "Bearer",
  "expires_in": 3600
}

2. Make API Request

Request
curl -X GET https://api.asset.haus/v1/deals \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json"
Response
{
  "data": [
    {
      "id": "deal_abc123",
      "name": "Manhattan Office Building",
      "status": "open",
      "raised": 2500000,
      "target": 5000000
    }
  ],
  "total": 1
}

Common API Endpoints

POST/v1/dealsCreate a new tokenized deal
GET/v1/deals/:idRetrieve deal details
POST/v1/investorsCreate investor account
POST/v1/investors/:id/kycSubmit KYC information
POST/v1/investmentsProcess an investment
GET/v1/tokens/:address/balanceQuery token balance
POST/v1/tokens/transferTransfer tokens between addresses
POST/v1/distributionsInitiate investor distribution
GET/v1/transactionsList all transactions
GET/v1/cap-table/:dealIdExport cap table data

Webhooks

Available Events

deal.created
deal.closed
investor.created
kyc.completed
kyc.failed
investment.received
investment.confirmed
token.issued
token.transferred
distribution.initiated
distribution.completed
payment.received

Webhook Payload Example

{
  "event": "investment.confirmed",
  "timestamp": "2025-10-17T10:30:00Z",
  "data": {
    "investment_id": "inv_xyz789",
    "deal_id": "deal_abc123",
    "investor_id": "inv_456",
    "amount": 100000,
    "currency": "USD",
    "tokens_issued": 100000,
    "status": "confirmed"
  },
  "signature": "sha256_signature_here"
}

Security: All webhooks are signed with HMAC-SHA256. Verify the signature using your webhook secret.

SDKs & Libraries

Node.js
npm install @assethaus/sdk
Stable
Python
pip install assethaus
Stable
Ruby
gem install assethaus
Stable
Go
go get github.com/assethaus/go-sdk
Beta
PHP
composer require assethaus/sdk
Beta
Java
maven: com.assethaus:sdk
Coming Soon

API Features

RESTful architecture
OAuth 2.0 authentication
Rate limiting: 1000 req/min
Sandbox environment
Comprehensive error codes
JSON request/response
Webhook event notifications
API versioning (v1, v2)
Pagination support
Field filtering
99.9% uptime SLA
24/7 developer support

Get API Access

Request API credentials and start building