Skip to main content
PeerPesa is a stablecoin on and off-ramp for Africa. Use the API to let users exchange crypto assets on Stellar and Celo for local fiat across Kenya, Nigeria, Tanzania, South Africa, and Zambia, and vice versa. Settlements reach mobile money wallets and bank accounts.

KYC Verification

Verify your identity or business to unlock sandbox and production API keys.

Authentication

Obtain API keys and request a Bearer token.

Supported Currencies

Fiat currencies, networks, and available assets.

Network Stats

Check network health, fees, and confirmation times.

Rates

Fetch indicative conversion rates for any pair.

Quotes

Lock a rate and fee for 30 minutes.

Onramp

Convert fiat to crypto and send to a wallet.

Offramp

Convert crypto to fiat and pay a beneficiary.

Transactions

List and retrieve ramp transaction records.

Beneficiaries

Manage fiat payout recipients for offramps.

How a ramp works

1

Check currencies and rates

Use GET /currencies to see supported pairs and methods. Use GET /rates for an indicative price.
2

Lock a quote

Call POST /quotes with the amount, direction, and method to lock the rate and fee for 30 minutes.
3

Confirm the quote

Call POST /quotes/{id}/confirm with the receiving wallet for an onramp, or a saved beneficiary for an offramp.
4

Track the transaction

Use GET /transactions/{id} to follow status from payment/deposit through completion.

Base URLs

Use the sandbox environment for integration and testing. Use production for live transactions. All requests and responses use JSON with snake_case field names. Timestamps are ISO 8601 UTC strings. Money amounts are returned as decimal strings (for example, "100.00") to preserve precision.

Errors

PeerPesa returns structured errors in this shape. See Error Codes for the full list.
Common error codes: