API & Webhooks
Manage credentials and test server connectivity.
API Credentials
Client-side
Server-only
Quick start
Make your first API request
Create a payment request with your test secret key, then use the response in your checkout flow.
curl https://api.flowwithlit.com/v1/payments \
-H "Authorization: Bearer sk_test_..." \
-H "Content-Type: application/json" \
-d '{"amount": 25000, "currency": "NGN"}'
Integration checklist
Everything needed to go live.
- 1Copy your test keys
Use them only in a test environment. - 2Create a payment request
Send amount, currency, and customer details. - 3Verify events with webhooks
Confirm payment status on your server.
Core API endpoints
Common building blocks for your integration.
POST /v1/paymentsCreate payment
GET /v1/payments/:idVerify payment
POST /v1/transfersSend payout
Webhook events
Events your endpoint can receive.
charge.successA payment completed.
transfer.successA payout settled.
charge.failedA payment could not complete.
refund.processedA refund was processed.
Webhook Logs
Recent Dispatches| Event | Delivery ID | Status | Latency | Date | Payload |
|---|---|---|---|---|---|
| charge.success | EVT_9482019482 | 74ms | 18 Sep 2026, 01:45 PM | ||
| transfer.success | EVT_8830192847 | 92ms | 18 Sep 2026, 11:20 AM |