# Cashmora > Cashmora is a Ugandan payment gateway API: collect mobile money (MTN, Airtel), send payouts, and embed a hosted checkout. JSON over HTTPS with bearer secret keys (cm_test_sk_… sandbox, cm_live_sk_… live). Base URL: https://api.cashmora.co.ug/v1 Important rules: keep secret keys on the server; send a unique request_id per payment attempt and reuse it on retries; deliver goods only on status "successful" (verify webhook signatures: HMAC-SHA256 of "."); treat "unknown" as pending. ## Docs - [Full documentation as Markdown](https://docs.cashmora.co.ug/llms-full.txt) - [OpenAPI 3.1](https://docs.cashmora.co.ug/openapi.json) ## Getting started - [Introduction](https://docs.cashmora.co.ug/#introduction) - [Quickstart](https://docs.cashmora.co.ug/#quickstart) - [Authentication](https://docs.cashmora.co.ug/#authentication) - [Check your key](https://docs.cashmora.co.ug/#ping): `GET /v1/ping` — Connectivity check. Send your key to confirm it works and see its mode. - [Sandbox and live](https://docs.cashmora.co.ug/#environments) - [Test numbers](https://docs.cashmora.co.ug/#test-numbers) ## Collections - [Request a payment](https://docs.cashmora.co.ug/#create-collection): `POST /v1/collections` — Send a mobile money prompt to a customer's phone. - [Get a payment](https://docs.cashmora.co.ug/#get-collection): `GET /v1/collections/{id}` — One payment by its Cashmora id. - [List payments](https://docs.cashmora.co.ug/#list-collections): `GET /v1/collections` — Newest first, with filters. - [Payment statuses](https://docs.cashmora.co.ug/#collection-statuses) ## Hosted checkout - [Create a checkout](https://docs.cashmora.co.ug/#create-checkout): `POST /v1/checkouts` — A short, embeddable payment page for an exact amount and your reference. - [Show it in your page](https://docs.cashmora.co.ug/#embed-checkout) - [Get a checkout](https://docs.cashmora.co.ug/#get-checkout): `GET /v1/checkouts/{id}` — Status of a checkout, with the payment once paid. ## Payment links - [Pre-fill and embed links](https://docs.cashmora.co.ug/#payment-links) ## Payouts - [Send a payout](https://docs.cashmora.co.ug/#create-payout): `POST /v1/payouts` — Send money from your balance to an MTN or Airtel number. - [Get or list payouts](https://docs.cashmora.co.ug/#get-payout): `GET /v1/payouts/{id}` — One payout by id. `GET /v1/payouts` lists them with the same filters as payments. - [Payout statuses](https://docs.cashmora.co.ug/#payout-statuses) ## Account & tools - [Verify a phone number](https://docs.cashmora.co.ug/#verify-phone): `POST /v1/phone/verify` — Check a number before you charge or pay it. - [Balance](https://docs.cashmora.co.ug/#get-balance): `GET /v1/balance` — Your balance in the key's mode. - [List transactions](https://docs.cashmora.co.ug/#list-transactions): `GET /v1/transactions` — Payments and payouts together, newest first. ## Webhooks - [Events](https://docs.cashmora.co.ug/#webhooks) - [Verify signatures](https://docs.cashmora.co.ug/#verify-signatures) - [callback_url per request](https://docs.cashmora.co.ug/#callback-url) ## Guides - [Request IDs and retries](https://docs.cashmora.co.ug/#idempotency) - [Fees: who pays](https://docs.cashmora.co.ug/#fees) - [Errors](https://docs.cashmora.co.ug/#errors) - [Limits](https://docs.cashmora.co.ug/#limits) - [Go-live checklist](https://docs.cashmora.co.ug/#go-live) - [For AI assistants](https://docs.cashmora.co.ug/#ai-agents)