Server-to-server endpoints for POS integration. Available on the Enterprise tier (included) and Professional tier (add-on). Use these to push charges from your POS, look up customer CLV in real time, programmatically hold spots in your line, and book reservations from external systems.
Every request must include your API key in the X-Momensa-Merchant-Key header. Keys are generated per-merchant in your dashboard under Settings → API keys. Keys are scoped to your merchant ID; they cannot access other merchants' data.
curl https://agents.cloudfran.com/api/momensa/customers/c-123 \ -H "X-Momensa-Merchant-Key: mk_live_xxxxxxxxxxxx"
1,000 requests per minute per key. 429 returned with Retry-After header if exceeded. Raise via support for high-volume POS integrations.
Create a Momensa Pay charge from your POS. Returns the charge ID, CloudFran fee breakdown, merchant net, and points awarded to the customer.
| Field | Type | Notes |
|---|---|---|
| customer_id | string | Momensa customer ID (required) |
| amount | number | Dollar amount (required, > 0) |
| description | string | Free-text description (optional) |
| vertical_code | string | Override merchant default vertical (optional) |
{
"customer_id": "c-88d2fa",
"amount": 47.50,
"description": "Table 12 · dinner"
}
Customer CLV + tier lookup at POS — lets the terminal flash "PLATINUM" or "Premier" before the staff rings up, so they can deliver the right treatment.
{
"id": "c-88d2fa",
"tier": "platinum",
"clv_cents": 284700,
"visits_last_90d": 14
}
Programmatic line hold from a host-stand app. Returns ticket ID + estimated wait.
Book a reservation from an external booking system (OpenTable, Resy, custom site). Creates a Momensa reservation tied to your merchant + location.
Record a transaction from a POS that isn't using Momensa Pay — feeds into CLV tier classification without charging processing fees. Useful if you want tier data without swapping your payments processor.
Subscribe to these event types for real-time updates to your POS/CRM:
charge.created — Momensa Pay charge succeededmoment.captured — a customer submitted a moment at your merchantmoment.escalated — severity ≥ 7; manager should intervenecustomer.tier_changed — CLV tier promoted or demoteddcg.offer_matched — your DCG bid won a cross-category matchOfficial SDKs in Node.js, Python, Ruby, Go, and C#. All wrap the REST API with ergonomic method signatures and auto-retry on 429. Request SDK access from api@cloudfran.com.
| Code | Meaning |
|---|---|
| 400 | Bad request — required field missing or malformed |
| 401 | Invalid or missing X-Momensa-Merchant-Key |
| 403 | API key valid but scoped to a different merchant |
| 404 | Resource not found |
| 429 | Rate limit exceeded |
| 5xx | Server error — retry with exponential backoff |
Need API access on Starter/Growth? api@cloudfran.com · Base URL: https://agents.cloudfran.com