"myClient@gmail.com","currency_is" => "USD","sending_amount" => "1","order_id" => "","addi_info" => "this is test payment")); $CashMaal_API_Json=json_decode($CashMaal_API, true); if($CashMaal_API_Json['status'] == 1){ // its mean Payment Sent Successfully echo $CashMaal_API_Json['transaction_details']; // Transaction Details echo "
"; echo $CashMaal_API_Json['amount']; // Sent Amount echo "
"; echo $CashMaal_API_Json['fee']; // Sent Amount Fee echo "
"; echo $CashMaal_API_Json['fee_details']; // Fee explanation echo "
"; echo $CashMaal_API_Json['currency']; // Currency (USD,PKR,EUR) echo "
"; echo $CashMaal_API_Json['trx_id']; // Cash Maal Transaction ID echo "
"; echo $CashMaal_API_Json['receiver_name']; // Receiver Name echo "
"; echo $CashMaal_API_Json['trx_date']; // Sending Date Time echo "
"; echo $CashMaal_API_Json['order_id']; // Order Id echo "
"; echo $CashMaal_API_Json['addi_info']; // additional information }else{ echo "Error: ".$CashMaal_API_Json['error']; } ?>