Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Getting Started

Welcome to the Cashramp Developer Documentation where you'll learn to build delightful payment experiences with the Cashramp API.

Cashramp lets you charge customers in local African currencies and settle instantly in USD‑denominated stablecoins. This five‑minute quick‑start walks you from sign‑up to your first API call.


Environments

Cashramp has two separate environments. Each one has its own dashboard, its own accounts and its own API keys.

Environment
Use it for
Dashboard
API URL

Sandbox

Building and testing your integration

https://staging.api.useaccrue.com/cashramp/api/graphql

Production

Live customers and real money

https://api.useaccrue.com/cashramp/api/graphql


1. Create an account ✅

  1. Sign up on the dashboard for the environment you're working in:

  2. Complete the business signup form.

  3. You’ll land in the Developer Dashboard.

Tip – Keep the Dashboard open in another tab; you’ll copy values from it in the next step.


2. Get your API keys ✅

  1. In the same dashboard, open Settings → Developers → API keys (Sandbox · Production).

  2. Click Generate keys. You’ll receive:

    • Public key (CSHRMP‑PUBK_…): safe for front‑end use.

    • Secret key (CSHRMP‑SECK_…): server only; store it in an environment variable.

  3. Copy your secret key somewhere safe—Cashramp shows it once.

Going live – Your sandbox account and keys don’t carry over. When you’re ready for production, sign up on the production dashboard, generate a production secret key there, and change the base URL from https://staging.api.useaccrue.com to https://api.useaccrue.com.


3. Send your first request 🚀

The example below calls the sandbox API, so use a sandbox secret key. Paste the cURL snippet into a terminal and replace <YOUR_SECRET_KEY> with it.

Expected response (pretty‑printed):

Run it live – Try the same query in our GraphiQL Playground


4. Next steps

Flow
What you can build next

Drop‑in checkout page that handles UI, FX, and settlement.

Server‑side API to collect local payments — no UI required.

Let self‑custody wallets deposit or withdraw stablecoins.


5. Reference & resources

  • API reference: All queries, mutations, and types. [Docs]

  • Webhooks: Real‑time transaction updates. [Guide]

  • SDKs: [Docs]

Last updated