Transfer API Error

Hello, i made a perfect integration using API curl guide on the documentation but it’s not even close to working.

This Is my integration

$details = array(

“account_bank” => “MPS”,

“account_number” => “256751021147”,

“amount” => 3500,

“currency” => “UGX”,

“beneficiary_name” => “Nandutu Deborah”,

“callback_url” => ‘’,

“meta” => array(

“sender”=> “Plaz Technologies”,

“sender_country”=> “UG”,

“mobile_number” => “256756134958”



// Generated by curl-to-PHP: curl-to-PHP: Convert Curl commands to PHP code
$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, ‘’);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $details);

$headers = array();
$headers = 'Authorization: Bearer '.env(‘FLUTTERWAVE_SECRET’);
$headers = ‘Content-Type: application/json’;
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$result = curl_exec($ch);
if (curl_errno($ch)) {
echo ‘Error:’ . curl_error($ch);

echo “

echo “

and I get this error even after whitelisting my I.P address. i thought the problem could be on my main account (00178279) but it did not work even on my other account (00833282).

i even tried generating my new API keys but still got these errors similar to the ones below.

{“error_id”:“ERRNO745734270T1688299918643”,“message”:“Application error. Please contact support”,“code”:“app_error”}


Glad to hear from you again. been a while.

Please kindly ensure you are json encoding your payload.

This should in turn having your curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($details));