Move airtime from a user's line to your SIM
curl --request POST \
--url https://api.onepanel.ng/api/v1/airtime-cash/transfers \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"session_id": "3f1c2a9e-5b1d-4f0e-9a58-1d2b7c6e8a10",
"amount": 1000,
"pin": "1234",
"reference": "order-2026-0001"
}
'import requests
url = "https://api.onepanel.ng/api/v1/airtime-cash/transfers"
payload = {
"session_id": "3f1c2a9e-5b1d-4f0e-9a58-1d2b7c6e8a10",
"amount": 1000,
"pin": "1234",
"reference": "order-2026-0001"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
session_id: '3f1c2a9e-5b1d-4f0e-9a58-1d2b7c6e8a10',
amount: 1000,
pin: '1234',
reference: 'order-2026-0001'
})
};
fetch('https://api.onepanel.ng/api/v1/airtime-cash/transfers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.onepanel.ng/api/v1/airtime-cash/transfers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'session_id' => '3f1c2a9e-5b1d-4f0e-9a58-1d2b7c6e8a10',
'amount' => 1000,
'pin' => '1234',
'reference' => 'order-2026-0001'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.onepanel.ng/api/v1/airtime-cash/transfers"
payload := strings.NewReader("{\n \"session_id\": \"3f1c2a9e-5b1d-4f0e-9a58-1d2b7c6e8a10\",\n \"amount\": 1000,\n \"pin\": \"1234\",\n \"reference\": \"order-2026-0001\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.onepanel.ng/api/v1/airtime-cash/transfers")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"session_id\": \"3f1c2a9e-5b1d-4f0e-9a58-1d2b7c6e8a10\",\n \"amount\": 1000,\n \"pin\": \"1234\",\n \"reference\": \"order-2026-0001\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.onepanel.ng/api/v1/airtime-cash/transfers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"session_id\": \"3f1c2a9e-5b1d-4f0e-9a58-1d2b7c6e8a10\",\n \"amount\": 1000,\n \"pin\": \"1234\",\n \"reference\": \"order-2026-0001\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"transfer_id": "ACT_5d0c8b1e",
"reference": "order-2026-0001",
"session_id": "<string>",
"amount": 1000,
"status": "success",
"mtn_transaction_id": "<string>",
"message": "<string>",
"created_at": "<string>"
}{
"success": true,
"transfer_id": "ACT_5d0c8b1e",
"reference": "order-2026-0001",
"session_id": "<string>",
"amount": 1000,
"status": "success",
"mtn_transaction_id": "<string>",
"message": "<string>",
"created_at": "<string>"
}{
"message": "<string>"
}{
"success": true,
"transfer_id": "ACT_5d0c8b1e",
"reference": "order-2026-0001",
"session_id": "<string>",
"amount": 1000,
"status": "success",
"mtn_transaction_id": "<string>",
"message": "<string>",
"created_at": "<string>"
}{
"message": "<string>"
}Airtime Cash
Move airtime from a user's line to your SIM
Sends airtime from the session’s MTN line to your connected MTN SIM. Credit the user only when status is success (or when you receive the airtime_cash.transfer.success webhook). The user’s 4-digit MTN transfer PIN must be sent with every request; it is never stored. Repeating a reference never sends twice: you get the original result back.
POST
/
airtime-cash
/
transfers
Move airtime from a user's line to your SIM
curl --request POST \
--url https://api.onepanel.ng/api/v1/airtime-cash/transfers \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"session_id": "3f1c2a9e-5b1d-4f0e-9a58-1d2b7c6e8a10",
"amount": 1000,
"pin": "1234",
"reference": "order-2026-0001"
}
'import requests
url = "https://api.onepanel.ng/api/v1/airtime-cash/transfers"
payload = {
"session_id": "3f1c2a9e-5b1d-4f0e-9a58-1d2b7c6e8a10",
"amount": 1000,
"pin": "1234",
"reference": "order-2026-0001"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
session_id: '3f1c2a9e-5b1d-4f0e-9a58-1d2b7c6e8a10',
amount: 1000,
pin: '1234',
reference: 'order-2026-0001'
})
};
fetch('https://api.onepanel.ng/api/v1/airtime-cash/transfers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.onepanel.ng/api/v1/airtime-cash/transfers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'session_id' => '3f1c2a9e-5b1d-4f0e-9a58-1d2b7c6e8a10',
'amount' => 1000,
'pin' => '1234',
'reference' => 'order-2026-0001'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.onepanel.ng/api/v1/airtime-cash/transfers"
payload := strings.NewReader("{\n \"session_id\": \"3f1c2a9e-5b1d-4f0e-9a58-1d2b7c6e8a10\",\n \"amount\": 1000,\n \"pin\": \"1234\",\n \"reference\": \"order-2026-0001\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.onepanel.ng/api/v1/airtime-cash/transfers")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"session_id\": \"3f1c2a9e-5b1d-4f0e-9a58-1d2b7c6e8a10\",\n \"amount\": 1000,\n \"pin\": \"1234\",\n \"reference\": \"order-2026-0001\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.onepanel.ng/api/v1/airtime-cash/transfers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"session_id\": \"3f1c2a9e-5b1d-4f0e-9a58-1d2b7c6e8a10\",\n \"amount\": 1000,\n \"pin\": \"1234\",\n \"reference\": \"order-2026-0001\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"transfer_id": "ACT_5d0c8b1e",
"reference": "order-2026-0001",
"session_id": "<string>",
"amount": 1000,
"status": "success",
"mtn_transaction_id": "<string>",
"message": "<string>",
"created_at": "<string>"
}{
"success": true,
"transfer_id": "ACT_5d0c8b1e",
"reference": "order-2026-0001",
"session_id": "<string>",
"amount": 1000,
"status": "success",
"mtn_transaction_id": "<string>",
"message": "<string>",
"created_at": "<string>"
}{
"message": "<string>"
}{
"success": true,
"transfer_id": "ACT_5d0c8b1e",
"reference": "order-2026-0001",
"session_id": "<string>",
"amount": 1000,
"status": "success",
"mtn_transaction_id": "<string>",
"message": "<string>",
"created_at": "<string>"
}{
"message": "<string>"
}Body
application/json
Response
Airtime received (status is success).

