Skip to main content

Documentation

Payments API docs

Endpoint reference for Payments API. Base URL: https://api.lestertechlabs.com

Quick request

Authenticate and call

curl -sS https://api.lestertechlabs.com/v1/payments/intents \
  -H "Authorization: Bearer $LESTER_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -X POST
api.lestertechlabs.com

POST /v1/payments/intents

201 Created

{{ body|default:"{
  \"status\": \"success\",
  \"data\": { ... }
}" }}

Reference

Endpoints

POST /v1/payments/intents

Create a payment intent.

Parameter Details
phone MSISDN
amount integer (KES)
reference string
GET /v1/payments/intents/{id}

Fetch payment intent status.

Parameter Details
id payment intent id
POST /v1/payments/webhooks/test

Send a signed test webhook to your endpoint.

Parameter Details
url https callback
Need help?

Integrating Payments API?

Request access or talk to us about rate limits, webhooks, and production readiness.

Marketplace
  • Free estimate · reply in 1 business day
  • Production delivery · remote-first
  • M-Pesa, cloud, and AI ready

Next step

Start your project

  1. 1 Tell us about your goals
  2. 2 Get a tailored proposal
  3. 3 Ship with LesterTechLabs