/v1/payments/intents
Create a payment intent.
| Parameter | Details |
|---|---|
| phone | MSISDN |
| amount | integer (KES) |
| reference | string |
Documentation
Endpoint reference for Payments API. Base URL:
https://api.lestertechlabs.com
Quick request
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
POST /v1/payments/intents
201 Created
{{ body|default:"{
\"status\": \"success\",
\"data\": { ... }
}" }}
Reference
/v1/payments/intents
Create a payment intent.
| Parameter | Details |
|---|---|
| phone | MSISDN |
| amount | integer (KES) |
| reference | string |
/v1/payments/intents/{id}
Fetch payment intent status.
| Parameter | Details |
|---|---|
| id | payment intent id |
/v1/payments/webhooks/test
Send a signed test webhook to your endpoint.
| Parameter | Details |
|---|---|
| url | https callback |
Request access or talk to us about rate limits, webhooks, and production readiness.
Next step
Start your project