Hafide

API Documentation

Complete REST API reference for the WCSTA Intelligence Portal

REST API Reference

Integrate external platforms — mobile wallets, banks, forex agencies, tax portals — with the WCSTA Intelligence Portal.

Version & Base URL

v1.0

https://api-sandbox.hafide.com/v1/portalApi

Authentication

Pass x-api-source: your-platform header for webhook ingestion. User sessions required for management endpoints.

Content-Type

All requests must send Content-Type: application/json with a JSON body.

Supported Source Types

ecommercemobile_paymentwalletbank_transferposremittancecryptogovernment_taxforexother

Webhook Ingestion

Push flagged transactions from any external platform. No user session required — use x-api-source header instead.

Request Fields

FieldTypeRequiredDescription
resourcestringYesMust be "ingest"
source_typeenumYesecommerce | mobile_payment | wallet | bank_transfer | pos | remittance | crypto | government_tax | forex | other
source_platformstringNoPlatform name e.g. Telebirr, Zaad, MoF Tax Portal, Salaam Exchange
transactionsarrayYesArray of transaction objects (see below)

Transaction Object Fields

FieldTypeRequiredDescription
transaction_refstringYesUnique reference ID from source system
merchant_namestringYesBusiness or entity name
amountnumberYesTransaction amount
currencyenumYesUSD | SLSH | ETB | SOS | KES
flag_reasonenumYesunusual_volume | price_manipulation | sanctions_match | structuring | identity_mismatch | cross_border_anomaly | duplicate_invoice | tax_evasion_suspect
risk_levelenumNolow | medium | high | critical
statusenumNopending_review (default) | under_investigation | cleared | escalated | enforcement_action
descriptionstringNoHuman-readable description of the flag
destination_countrystringNoTarget country for cross-border transactions
goods_categorystringNoCategory of goods involved
transaction_datedatetimeNoISO 8601 datetime of the original transaction

Example Request

POST https://api-sandbox.hafide.com/v1/portalApi
Content-Type: application/json
x-api-source: hafide

{
  "resource": "ingest",
  "source_type": "mobile_payment",
  "source_platform": "Telebirr",
  "transactions": [
    {
      "transaction_ref": "TBR-2026-00192",
      "merchant_name": "Addis Mobile Shop",
      "amount": 85000,
      "currency": "ETB",
      "flag_reason": "unusual_volume",
      "risk_level": "high",
      "status": "pending_review",
      "description": "Bulk payment exceeding daily threshold",
      "transaction_date": "2026-04-16T09:30:00Z"
    }
  ]
}

Example Response

// Response 201
{
  "success": true,
  "ingested": 1,
  "data": [{ "id": "abc123", "transaction_ref": "TBR-2026-00192", ... }]
}

Transactions

Merchants

Bank Integration

Mobile Money Integration

Reports

SYSTEM STATUS: OPERATIONALHAFIDE FINANCE — LIVEHAFIDE TRADE — LIVEHAFIDE GOV — LIVEDATA SYNCED: 2.1M RECORDS THIS MONTHUPTIME: 99.98%COUNTRIES ACTIVE: 54AI ENGINE: RUNNINGLAST RECONCILIATION: 00:00:04 AGOCOMPLIANCE CHECKS PASSED: 847,293SYSTEM STATUS: OPERATIONALHAFIDE FINANCE — LIVEHAFIDE TRADE — LIVEHAFIDE GOV — LIVEDATA SYNCED: 2.1M RECORDS THIS MONTHUPTIME: 99.98%COUNTRIES ACTIVE: 54AI ENGINE: RUNNINGLAST RECONCILIATION: 00:00:04 AGOCOMPLIANCE CHECKS PASSED: 847,293
Hafide

Africa's unified trade and financial operating system. Built for the next era of business.

System Status

Finance API
online
Trade Engine
online
Gov Portal
online
AI Engine
online

© 2026 Hafide — Made in Somaliland.