Epara DocsEpara DocumentationBack to dashboard
Epara Documentation
Operations and Control Model

Epara company-side risk, ledger, payout, provider, reconciliation, and audit operations.

Raw .md

Operations and Control Model

Epara is not only a payment page for merchants. As the platform owner, the company must control money movement with accurate, auditable, and irreversible records. Operator Backoffice is therefore separated from Merchant Dashboard.

Control desks

DeskResponsibility
Merchant OnboardingKYB, agreement, business profile, capability, and go-live readiness.
Risk DeskPayment, merchant, consumer, provider, and velocity risk review.
Payout ControlMerchant payout request, destination, schedule, and provider outcome.
Ledger ControlDouble-entry ledger, balance projection, and no-negative-balance controls.
ReconciliationMatch provider/bank files against platform records.
Provider OperationsProvider health, route decision, credential, and operation retry management.
Webhook ControlMerchant endpoint, event delivery, retry, and signature evidence.
Audit EvidencePermission checks, audit trail, immutable record, and hash evidence.
Compliance ControlKYC, KYB, agreement, financial limit, and policy enforcement.
SupportConsumer, merchant, and payment case management.

Maker-checker principle

Sensitive operations require separate requester and approver.

ActionMakerChecker
Merchant live activationOnboarding operatorPrivileged operator
Payout approvalPayout operatorFinance approver
Risk hold releaseRisk analystRisk approver
Pricing policy changeProduct/finance operatorGovernance approver
Provider credential rotationTechnical operatorSecurity approver
Balance adjustmentFinance operatorFinance approver

Ledger boundary

Operator UI must not make every screen look like it moves money. Some screens create evidence only and do not write Ledger.

OperationCreates Ledger movement?
Merchant onboarding reviewNo
KYB evidence uploadNo
Webhook endpoint createNo
Provider route config change requestNo
Payment captureYes
Refund successYes
Payout paidYes
Balance adjustment approvedYes
Risk hold create/releaseUsually no, but can affect availability

Risk decisions

Risk is not just "fraud or no fraud." Epara uses these outcomes:

DecisionMeaning
allowOperation can continue.
monitorOperation continues with monitoring evidence.
reviewOperator review is required.
holdMoney or capability is temporarily blocked.
blockOperation or capability is denied.

Provider route controls

Provider routing must consider:

  • Provider health.
  • Supported payment method.
  • Currency, especially IQD.
  • Merchant capability.
  • Fee and settlement behavior.
  • Provider credential state.
  • Retry and fallback history.
  • Risk or compliance restriction.

Every selection must be recorded as a Provider Route Decision.

Reconciliation model

Reconciliation compares Epara ledger/payment records against provider, bank, or network files.

StateAction
matchedPlatform and provider records agree.
provider_missingEpara has record but provider file does not.
platform_missingProvider file has record but Epara does not.
amount_mismatchAmount differs.
currency_mismatchCurrency differs.
duplicateSame provider reference appears more than once.
unresolvedManual investigation required.

Reconciliation difference must not directly edit balances. If correction is needed, open a balance adjustment request with maker-checker approval.

Audit evidence

Every serious action must answer:

QuestionEvidence
Who did it?Actor id, role, session/device evidence.
Which permission allowed it?Permission Check.
When did it happen?Timestamp.
What changed?Before/after or object state.
Why was it done?Reason code, note, or linked case.
Did it affect money?Ledger movement or explicit no-ledger evidence.
What happens on retry?Idempotency result.

Live operations checklist

  • Merchant onboarding and KYB are durable records.
  • Live activation uses maker-checker.
  • API credential secrets are never listed raw.
  • Webhook delivery is signed and retryable.
  • Payment capture, refund, and payout are idempotent.
  • Ledger is double-entry and balanced.
  • Reconciliation differences do not directly edit balances.
  • Provider credentials are encrypted and rotatable.
  • Operator action writes audit trail.
  • Sensitive file access is tokenized and time-limited.