API
Secret keys belong on your server. Never in a browser, a mobile app, or a repository.
curl \
https://cedilinkweb-production.up.railway.app/v1/payment_intents \
-H "Authorization: Bearer sk_test_..." \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"amount": 25000,
"currency": "GHS",
"method": "mobile_money",
"network": "MTN",
"customer": {
"phone": "0244123456"
},
"reference": "order-001"
}'Amounts are integers in pesewas. GH₵ 250.00 is 25000, never 250.00. Live keys are issued once verification is approved.
The complete API reference as a download — every endpoint, field, error code and the webhook signature scheme in one file — and a Postman collection that mirrors it, ready to import and run.
https://cedilinkweb-production.up.railway.app/v1Where we POST when a payment resolves. A customer returning to your site is not proof of payment — ship goods on the webhook.
HTTPS only. In test mode http://localhost is accepted, but our servers cannot reach your laptop — use ngrok to receive real deliveries.