Skip to content

Quickstart

Get up and running with the Malipo API in minutes.

Create a sandbox API key from the Sandbox section of your dashboard.

Use the test console or your own code to make a charge request.

Create a charge
curl -X POST https://api.malipo.dev/v1/charges \
-H "Authorization: Bearer sk_test_..." \
-H "Content-Type: application/json" \
-d '{
"amount": 1000,
"currency": "CDF",
"phone": "+243812345678",
"network": "airtel"
}'

Create a charge using our official SDKs in your preferred language.

import { Malipo } from "malipo";
const malipo = new Malipo("sk_test_...");
const charge = await malipo.charges.create({
amount: 1000,
currency: "CDF",
phone: "+243812345678",
network: "airtel"
});
import malipo
malipo.api_key = "sk_test_..."
charge = malipo.Charge.create(
amount=1000,
currency="CDF",
phone="+243812345678",
network="airtel"
)
Terminal window
curl -X POST https://api.malipo.dev/v1/charges \
-H "Authorization: Bearer sk_test_..." \
-H "Content-Type: application/json" \
-d '{
"amount": 1000,
"currency": "CDF",
"phone": "+243812345678",
"network": "airtel"
}'