Integrate SecureVoice in an afternoon
Everything a bank integration team needs: the intervention event flow, the conversation turn API, guardrail policy, the opt-in Shariah terminology controls for Islamic banks and Takaful operators, and the reference deployment running this very site.
Three calls to production
The reference deployment below is the exact stack serving this website: Next.js route handlers, PostgreSQL persistence (via Prisma), and neural voice endpoints. Swap the base URL and API key, and the same calls run inside your VPC.
Fire a signed risk signal
POST the signal to the interventions endpoint the moment a transaction crosses your own engine's risk threshold. You get a 202 with the case reference, and the outcome is signed back to the callback URL you pass. Authenticate with an HMAC signature over the raw body or a per-organisation Bearer producer key, and send an Idempotency-Key — a replay returns the stored response rather than dialling twice.
curl -X POST https://securevoiceai.me/api/v1/interventions \
-H "SV-Signature: t=<unix>,v1=<hmac_sha256(secret, \"t.body\")>" \
-H "Idempotency-Key: <8+ chars, unique per signal>" \
-H "Content-Type: application/json" \
-d '{
"transaction_ref": "TRX-99127",
"risk_score": 0.94,
"phone": "+971500000000",
"amount": 250000,
"currency": "AED",
"language": "ar",
"consent_record_id": "CN-4417",
"callback_url": "https://fraud.yourbank.ae/hooks/securevoice"
}'Handle the conversation turn
During a live call, each customer utterance can be routed through the guardrailed turn API — the same deterministic decision surface that powers this demo. It never asks for PINs, passwords or OTPs.
curl -X POST /api/agent \
-H "Content-Type: application/json" \
-d '{ "text": "That wasn't me, stop it!",
"lang": "en" }'
# → { "intent": "deny_fraud",
# "action": "card_freeze",
# "reply": "I have flagged this transaction as fraud and placed a temporary restriction on your card while a human fraud specialist reviews it." }Close the loop
When the customer confirms fraud, SecureVoice stages the card freeze, writes the case file, and hands off to your human agent with the transcript and audit trail. The stage is pending_specialist and committed:false — a permanent action on the bank's ledger needs your specialist, never this platform.
{
"event": "case.closed",
"case_id": "FRAUD-2026-08612",
"outcome": "fraud_confirmed",
"action_taken": "card_freeze",
"prevented_loss_aed": 2500,
"audit_hash": "b7f2e91c…"
}