Cashramp
  • Introduction
    • Getting Started
    • Payment Rails
    • API Endpoints
    • Authentication
    • Webhooks
    • Integration Guide
    • SDKs
  • Hosted Ramp
    • Overview
    • Deposits
    • Withdrawals
    • Cancel Payment
  • Direct Ramp
    • Overview
    • Ramp Quotes
    • Deposits
    • Withdrawals
  • Onchain Ramp
    • Overview
    • On-Off Ramp
  • Cashramp API
    • Queries
    • Customers
    • Payment Methods
    • Withdraw Onchain
    • Virtual Bank Accounts
Powered by GitBook
On this page
  • 1. Create an account ✅
  • 2. Get your API keys ✅
  • 3. Send your first request 🚀
  • 4. Next steps
  • 5. Reference & resources
  1. Introduction

Getting Started

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

NextPayment Rails

Last updated 17 days ago

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.


1. Create an account ✅

  1. Visit .

  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 Dashboard, open → Developers → API keys.

  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 – When you’re ready for production, swap your staging secret key for a production one and change the base URL from https://staging.api.useaccrue.com to https://api.useaccrue.com.


3. Send your first request 🚀

Paste the cURL snippet below into a terminal and replace <YOUR_SECRET_KEY> with your secret key.

curl https://staging.api.useaccrue.com/cashramp/api/graphql \
  -H "Authorization: Bearer <YOUR_SECRET_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
        "query": "{ account { id accountBalance } }"
      }'

Expected response (pretty‑printed):

{
  "data": {
    "account": {
      "id": "QWNjb3VudC0xMjM0NTY=",
      "accountBalance": "0.00"
    }
  }
}

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

Run it live – Try the same query in our GraphiQL

API reference: All queries, mutations, and types.

Webhooks: Real‑time transaction updates.

SDKs:

https://cashramp.co/commerce/signup
Settings
Playground
[Docs]
[Guide]
[Docs]
Hosted Ramp
Direct Ramp
Onchain Ramp