Billing, Collection & Disbursement — Host-to-Host Integration

Insurance • Premium invoicing, auto-debit/VA/card payments, refunds, and payouts (no SLA section)

Purpose of Host-to-Host

Core Data Objects

Example API Endpoints

POST /invoices
Create premium invoice (single or batch)
POST /mandates
Register auto-debit mandate with bank tokenization
POST /payments/initiate
Start payment (auto-debit/VA/card/wallet)
POST /payments/notify
Bank/PG callback for result and settlement refs
POST /refunds
Create refund; return refundId and status
POST /payouts/initiate
Create disbursement batch to beneficiaries
POST /payouts/notify
Bank callback per payout item
GET /recon/statement
Retrieve daily statement (CSV/JSON) for reconciliation

Sample Payment Initiation

POST /payments/initiate
{
  "invoiceNo":"INV-2025-008812",
  "method":"AUTO_DEBIT",
  "amount": 1250000,
  "currency":"IDR",
  "mandateId":"MDT-55621",
  "metadata":{"policyNo":"POL-2025-001122"}
}

Sample Bank Callback

POST /payments/notify
{
  "orderId":"ORD-99123",
  "status":"SUCCESS",
  "settlement":{"bankRef":"BK-884712","fee":2500,"net":1247500},
  "invoiceNo":"INV-2025-008812",
  "signature":"base64-jws-signature"
}

Reference Flows

Invoice to Auto-Debit
  • PAS creates invoice → /invoices
  • System initiates auto-debit → /payments/initiate
  • Bank posts /payments/notify → receipt issued; policy status updated
Virtual Account (VA)
  • Issue VA number & expiry to customer
  • Customer pays via ATM/mobile banking
  • Bank posts success via /payments/notify with bankRef
Refund & Chargeback
  • CSR triggers /refunds when overpayment/cancel
  • Gateway processes; status pushed to PAS
  • Reconciliation logs reversal in sub-ledger
Disbursement (Claims)
  • Claims creates payout batch → /payouts/initiate
  • Bank processes each item → /payouts/notify
  • Receipts & letters archived; BI updated
Daily Reconciliation
  • Pull /recon/statement; match invoices/orders
  • Post differences; investigate exceptions
  • Close day; export to GL/BI

Security & Controls

Monitoring & Audit

What You Get