# Amahoro Pay - Celo Mainnet Payment SaaS Stack & SDK

**URL:** <https://forum.celo.org/t/amahoro-pay-celo-mainnet-payment-saas-stack-sdk/13967>\
**Category:** Dapps\
**Tags:** funding, technical, regional-daos\
**Created:** [November 3, 2026, 9:18am UTC](https://forum.celo.org/t/amahoro-pay-celo-mainnet-payment-saas-stack-sdk/13967 "2026-11-03T09:18:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amahoroservices](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@amahoroservices](https://forum.celo.org/u/amahoroservices)\
**Post date:** [November 3, 2026, 9:18am UTC](https://forum.celo.org/t/amahoro-pay-celo-mainnet-payment-saas-stack-sdk/13967/1 "2026-11-03T09:18:57Z")

</div>

## Introduction & Mission

**AmahoroPay** is a Celo Mainnet payment SaaS stack (SDK → SaaS) built around four source-verified contracts.  
Our mission is to let any vendor plug AMHR gateway features into their app so customers pay vendors directly: checkout, escrow, batch payouts, cross-chain swaps (`settler-fronted settleCheckout`), and gasless payments, while the relayer fronts on-chain liquidity and the SDK/SaaS handles signing, verification, limits, and webhooks.

## Verified On-Chain Infrastructure (Celo Mainnet)

Anchored to verified Celo Mainnet contracts on Celoscan:

- **AMHR Token:** `0x06CAe70F…B3FAa3bfa` (ERC-20 with EIP-3009-style signed transfers, `payMerchant`, batch deposits/claims, access control).
- **AmahoroProcessorGuard:** `0x031363E7…9159DAf1E` (Spend limits, relayer authorization, `secureBatchPayout` gating, constructor bound to AMHR with initial limit 50,000).
- **AmahoroGateway Proxy:** `0xD70c1f5e…D8C06135d` (EIP-1967 UUPS proxy → impl `0x95548046…420E6a61a`, initialized with guard/fee-recipient/treasury/owner and 100/50/50 bps).

## The Problem & Our Solution

**The Problem:**  
Merchants cannot safely accept token payments directly: raw contract calls are fragmented across AMHR + GUARD + Gateway, require private keys for server-signed relay, lack on-chain verification before crediting users (phantom-record risk), have no spend-limit/relayer gating for payouts, and expose no merchant dashboard. Customers also lack gasless paths and escrow protections.

**Our Technical Solution:**

1. **Server-signed EIP-155 relay:** Pure-PHP `Secp256k1` + RLP for gateway writes (`checkout create`, batch payout through GUARD’s `secureBatchPayout`).
2. **Public wallet-signed pages:** For customer-controlled actions (`payCheckout`, `depositEscrow`, `releaseEscrow`, `cancelCheckout`, EIP-3009 `transferWithAuthorization`).
3. **On-chain event verification:** Instant verification (`CheckoutPaid`, `EscrowFunded`, etc.) before flipping any DB row to eliminate phantom records.
4. **Security & Governance:** Per-tier plan limits, SIWE-proven wallet registration (EIP-4361), CSRF protection, and webhook relay (HMAC).

## Business Model & Monetization

AmahoroPay monetizes via six structured streams:

1. **Gas relay surcharge:** Margin on CELO gas paid by the relayer.
2. **Merchant transaction commission:** Default 1% (100 bps), locked on-chain via `fees().merchantFeeBps`.
3. **SaaS subscriptions:** Plans payable in USDC/AMHR (Free, Pro Monthly, Pro Yearly, Enterprise).
4. **Batch / payroll fee:** Degressive by recipient count managed via ProcessorGuard.
5. **Cross-chain swap spread & API overage tiers**.

**Target Impact Region:** Global & Africa  
**Ecosystem Integration:** Celo Mainnet & MiniPay readiness.

We welcome feedback, community questions, and discussions regarding liquidity pairing and ecosystem support!

---

<div class="post-metadata">

**Author:** ![Zealynx](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.celo.org/zealynx/32/12323_2.png) [@Zealynx](https://forum.celo.org/u/Zealynx)\
**Post date:** [November 3, 2026, 10:02am UTC](https://forum.celo.org/t/amahoro-pay-celo-mainnet-payment-saas-stack-sdk/13967/2 "2026-11-03T10:02:29Z")

</div>

Two things I’d tighten before more merchants switch on batch payouts. `secureBatchPayout` takes the funding source and recipients from the caller, so the operator and relayer keys end up deciding where a merchant’s approved balance goes. If the merchant signs each batch (EIP-712 over recipients, amounts and a nonce) and the guard checks that signature, your backend can still relay payouts without being able to change them, and a compromised server key stops being a merchant-funds problem.

On the fee: `setMerchantFee` waits 48 hours, but `_authorizeUpgrade` is `onlyOwner` with no delay and `_setFee` accepts up to 10,000 bps, so an upgrade can skip the wait. A hard cap well under 100% inside `_setFee`, and upgrades behind the same 48h delay (a TimelockController in front of the Safe), would make “locked on-chain” hold from a merchant’s point of view.

---

<div class="post-metadata">

**Author:** ![amahoroservices](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@amahoroservices](https://forum.celo.org/u/amahoroservices)\
**Post date:** [November 4, 2026, 10:05am UTC](https://forum.celo.org/t/amahoro-pay-celo-mainnet-payment-saas-stack-sdk/13967/3 "2026-11-04T10:05:49Z")

</div>

Hello! A huge thank you for this relevant feedback, these items have been added to our upgrade roadmap. Thanks again for this constructive contribution!

---

<div class="post-metadata">

**Author:** ![graceevans](https://avatars.discourse-cdn.com/v4/letter/g/ee7513/32.png) [@graceevans](https://forum.celo.org/u/graceevans)\
**Post date:** [November 22, 2026, 12:38pm UTC](https://forum.celo.org/t/amahoro-pay-celo-mainnet-payment-saas-stack-sdk/13967/4 "2026-11-22T12:38:23Z")

</div>

Zealynx’s EIP-712 batch-signature idea is the right direction, but the digest contents matter as much as the mechanism. Bind it to chainId, the gateway and guard addresses, a per-merchant sequential nonce and a deadline — otherwise a batch signed against a testnet deployment, or held until after a limit change, can be replayed. It’s also worth deciding explicitly whether the merchant signs over the fee and limit parameters, since those can shift between signing and relay. On the fee side, a hard cap in \_setFee only protects merchants if the same owner key can’t also re-point the guard’s limit path.
