Skip to main content
The Pesarc API is a small set of JSON-over-HTTPS endpoints. If you can make an HTTP request, you can integrate Pesarc.

Base URL

Conventions

  • JSON — request and response bodies are JSON. Send Content-Type: application/json on writes.
  • Auth — pass Authorization: Bearer sk_live_… on every developer endpoint. See Authentication.
  • Money amounts — amount is a positive number in the given currency (e.g. 50000 with "currency": "NGN"), and currency is a short code like NGN, GHS or KES.
  • Idempotency — pass your own reference on a payment to tie it to your records and recognise duplicates.
  • Rate limits — endpoints are rate-limited per key; a limited request returns 429. Back off and retry.

Endpoints at a glance

Start with the quickstart

The fastest way to see the API end to end.